/**
 * topbar.css
 * Barre de navigation supérieure Radio Control
 */

.rts-topbar {
  background: var(--rts-topbar);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  padding: 0 24px;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 0;
  flex-shrink: 0;
}

/* ── Logo ── */
.rts-topbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.rts-topbar__logo:hover { text-decoration: none; }

.rts-topbar__logo-badge {
  background: var(--rts-red);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.rts-topbar__logo-sub {
  font-size: 11px;
  color: #ccc;
  border-left: 1px solid #888;
  padding-left: 10px;
  margin-left: 2px;
}
.rts-topbar__logo-image{
  max-width: 50px;
}

/* ── Navigation principale ── */
.rts-topbar__nav {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rts-topbar__nav-item a {
  display: block;
  font-size: 11px;
  color: #ccc;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}
.rts-topbar__nav-item a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.rts-topbar__nav-item.is-active a,
.rts-topbar__nav-item a.is-active {
  background: var(--rts-red);
  color: #fff;
}

/* ── Zone utilisateur ── */
.rts-topbar__user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rts-topbar__logout,
.rts-topbar__profile,
.rts-topbar__username {
  font-size: 11px;
  color: #ccc;
}
.rts-topbar__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--rts-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
}
.rts-topbar__site-link {
  font-size: 11px;
  color: #aaa;
  text-decoration: none;
}
.rts-topbar__site-link:hover { color: #fff; }
