/* ==================================================
   nav.css
   All navigation styles for BritSwingers.

   SECTIONS:
   1. Site Header (sticky wrapper)
   2. Status Bar
   3. Nav Bar & Nav Inner
   4. Nav Logo
   5. Hamburger Button
   6. Nav Menu (mobile/desktop)
   7. Nav Left Group
   8. Nav Links (shared styles)
   9. Dropdown Trigger
  10. Dropdown Wrapper & Panel
  11. Admin Sub-Navigation
  12. Admin Subnav Dropdowns
  13. Mobile Nav Menu
  14. Mobile Media Query overrides
  15. Desktop Sidebar
   ================================================== */


/* ==================================================
   1. SITE HEADER
   ================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--nav-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.30);
  border-bottom: 1px solid rgba(10, 5, 5, 0.89);
}


/* ==================================================
   2. STATUS BAR
   ================================================== */

.status-bar {
  width: 100%;
  background: #31243a;
  border-bottom: 1px solid rgba(201,150,42,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  padding-block: 0.4rem;
}

.status-bar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.status-bar__divider { opacity: 0.35; }
.status-bar__active  { color: #4ade80; font-weight: 600; }

.status-bar__bell {
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  color: #fff;
}

.status-bar__bell:hover { color: #fff; }

.status-bar__bell-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--radius-pill);
  background: #c3423f;
  color: #fff;
}

.status-bar__bell-badge--inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: #e53e3e;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  margin-left: 0.25rem;
}

.status-bar__desktop-only { display: inline-flex; }
.status-bar__mobile-only  { display: none; margin-left: auto; }


/* ==================================================
   3. NAV BAR & NAV INNER
   ================================================== */
.nav-bar {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--nav-bg);
  color: var(--nav-text);
  position: relative;
}
.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.6rem var(--gutter);
  box-sizing: border-box;
}

/* ==================================================
   4. NAV LOGO
   ================================================== */
.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 0.5rem;
}
.nav-logo img {
  padding: 0;
  display: block;
  height: 50px;
  width: auto;
}


/* ==================================================
   5. HAMBURGER BUTTON
   ================================================== */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none !important;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  color: var(--nav-text, #fff);
  position: relative;
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex !important; }
}

.nav-hamburger span:not(.nav-hamburger__badge) {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nav-text, #fff);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-active span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-hamburger__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: #c3423f;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
}


/* ==================================================
   6. NAV MENU
   ================================================== */

.nav-menu {
  display: none;
  flex-direction: column;
  width: 100%;
}

.nav-menu.nav-menu--open { display: flex; }

@media (min-width: 900px) {
  .nav-menu {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    width: auto;
    flex: 1;
    padding-bottom: 0;
  }
}

@media (max-width: 899px) {
  .nav-menu { padding-bottom: 0.5rem; }
}


/* ==================================================
   7. NAV LEFT GROUP
   ================================================== */

.nav-left {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.nav-desktop-link { display: inline-block; }

.nav-menu__left {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 900px) {
  .nav-menu__left {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    width: auto;
  }
}


/* ==================================================
   8. NAV LINKS — shared styles
   ================================================== */

.nav-inner a,
.nav-dropdown__trigger {
  color: var(--nav-text);
  text-decoration: none;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  display: block;
  transition: background 0.15s ease, color 0.15s ease;
  font-size: 0.95rem;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .nav-inner a,
  .nav-dropdown__trigger {
    display: inline-block;
  }
}

.nav-inner a:hover,
.nav-dropdown__trigger:hover,
.nav-dropdown--open > .nav-dropdown__trigger {
  background: var(--nav-hover-bg);
  color: var(--nav-hover-text);
}

.nav-inner a:focus-visible,
.nav-dropdown__trigger:focus-visible {
  outline: none;
  background: rgba(244, 182, 58, 0.22);
  box-shadow: 0 0 0 3px var(--nav-focus-ring);
}

.nav {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0.5rem 0 1rem;
}


/* ==================================================
   9. DROPDOWN TRIGGER BUTTON
   ================================================== */

.nav-dropdown__trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-align: left;
}

@media (min-width: 900px) {
  .nav-dropdown__trigger { width: auto; }
}

.nav-dropdown__caret {
  font-size: 0.7em;
  margin-left: 0.2em;
  transition: transform 0.2s;
  display: inline-block;
}

.nav-dropdown--open .nav-dropdown__caret {
  transform: rotate(180deg);
}


/* ==================================================
   10. DROPDOWN WRAPPER & PANEL
   ================================================== */

.nav-dropdown {
  position: static;
}

@media (min-width: 900px) {
  .nav-dropdown { position: relative; }
}

.nav-dropdown__menu {
  display: none;
  flex-direction: column;
  background: var(--nav-bg);
  padding: 0.25rem 0;
}

@media (max-width: 899px) {
  .nav-dropdown__menu {
    padding-left: 1.25rem;
    border-left: 2px solid rgba(255,255,255,0.15);
    margin: 0 0.5rem 0.25rem;
  }
}

@media (min-width: 900px) {
  .nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 180px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 200;
    padding: 0.35rem 0;
  }
}

.nav-dropdown--open .nav-dropdown__menu { display: flex; }

.nav-dropdown__menu a {
  padding: 0.55rem 1rem;
  border-radius: 0;
  display: block;
  white-space: nowrap;
}

.nav-dropdown__menu a:hover {
  background: var(--nav-hover-bg);
  color: var(--nav-hover-text);
}

.nav-dropdown__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 0.35rem 0;
}


/* ==================================================
   11. ADMIN SUB-NAVIGATION
   ================================================== */

.admin-subnav {
  background-color: var(--admin-subnav-bg);
  border-bottom: 1px solid var(--admin-subnav-border);
  position: relative;
  z-index: 1;
  overflow: visible;
}

.admin-subnav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.4rem var(--gutter);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .admin-subnav__inner { padding: 0.5rem var(--gutter-lg); }
}

.admin-subnav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  opacity: 0.9;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.admin-subnav a:hover {
  background-color: var(--admin-subnav-hover);
  opacity: 1;
}

.admin-subnav a:active { transform: scale(var(--btn-active-scale, 0.98)); }

.admin-subnav a[aria-current="page"] {
  background-color: var(--admin-subnav-current);
  opacity: 1;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.5);
}

.admin-subnav a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}


/* ==================================================
   12. ADMIN SUBNAV DROPDOWNS
   ================================================== */

.admin-subnav__dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.admin-subnav__trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  opacity: 0.9;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  min-height: 40px;
  white-space: nowrap;
}

.admin-subnav__trigger:hover,
.admin-subnav__dropdown.nav-dropdown--open .admin-subnav__trigger {
  background-color: var(--admin-subnav-hover);
  opacity: 1;
}

.admin-subnav__trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.admin-subnav__menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 160px;
  background: var(--admin-subnav-bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 200;
  padding: 0.35rem 0;
}

.admin-subnav__dropdown.nav-dropdown--open .admin-subnav__menu { display: flex; }

.admin-subnav__menu a {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.55rem 1rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 0;
  opacity: 0.9;
  transition: background 0.15s, opacity 0.15s;
  min-height: unset;
}

.admin-subnav__menu a:hover {
  background-color: var(--admin-subnav-hover);
  opacity: 1;
}

.admin-subnav__menu a[aria-current="page"] {
  background-color: var(--admin-subnav-current);
  opacity: 1;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.5);
}


/* ==================================================
   13. MOBILE NAV MENU
   ================================================== */

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--nav-bg, #1a0a0f);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0.5rem 0 1rem;
  background: rgba(25, 25, 30, 0.9) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.nav-mobile-menu.is-open { display: flex; }

.nav-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--nav-text, #fff);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}

.nav-mobile-menu a:hover {
  background: var(--nav-hover-bg, rgba(255,255,255,0.08));
}

.nav-mobile-menu__divider {
  padding: 0.6rem 1.25rem 0.3rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.45;
  color: var(--nav-text, #fff);
  margin-top: 0.5rem;
}

.nav-mobile-menu__dropdown { display: flex; flex-direction: column; }

.nav-mobile-menu__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none !important;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--nav-text, #fff);
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 400;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
  gap: 0.75rem;
}

.nav-mobile-menu__trigger:hover {
  background: var(--nav-hover-bg, rgba(255,255,255,0.08));
}

.nav-mobile-menu__trigger[aria-expanded="true"] .nav-dropdown__caret {
  transform: rotate(180deg);
}

.nav-mobile-menu__trigger-label {
  flex: 1;
  text-align: left;
}

.nav-mobile-menu__submenu {
  display: none;
  flex-direction: column;
  border-left: 2px solid rgba(255,255,255,0.2);
  margin: 0 0 0.25rem 1.25rem;
  background: rgba(25, 25, 30, 0.9) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.nav-mobile-menu__dropdown.nav-dropdown--open .nav-mobile-menu__submenu { display: flex; }

.nav-mobile-menu__submenu a {
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}


/* ==================================================
   14. MOBILE MEDIA QUERY OVERRIDES
   ================================================== */

@media (max-width: 768px) {
  .nav-hamburger    { display: flex; }
  .nav-left         { display: none !important; }
  .nav-desktop-link { display: none !important; }
  .nav-right        { display: none; }
  .sidebar          { display: none !important; }
  .admin-subnav     { display: none; }

  .nav-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0.2rem 1rem;
    display: flex;
    align-items: center;
  }

  .nav-logo img { height: 35px; }

  .status-bar__desktop-only { display: none !important; }
  .status-bar__mobile-only  { display: inline-flex !important; }

  .status-bar__inner {
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.3rem 0.75rem;
  }

  .status-bar__divider { display: none; }
  .status-bar__bell    { font-size: 1.2rem; }

  .admin-subnav__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.25rem 0.5rem 0.5rem;
  }

  .admin-subnav > .admin-subnav__inner > a {
    width: 100%;
    padding: 0.6rem 0.75rem;
  }

  .admin-subnav__dropdown {
    display: block;
    position: static;
    width: 100%;
  }

  .admin-subnav__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.6rem 0.75rem;
  }

  .admin-subnav__menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    border: none;
    border-left: 2px solid rgba(255,255,255,0.2);
    margin: 0 0 0.25rem 0.75rem;
    padding: 0.25rem 0;
    min-width: 0;
    background: rgba(0,0,0,0.15);
  }

  .admin-subnav__menu a {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
  }

  .site-wrapper--with-sidebar { margin-left: 0 !important; }
}

.nav-hamburger__badge--inline {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  background: #c0392b;
  color: #fff;
  vertical-align: middle;
  transform: none;
  line-height: 1;
}


/* ==================================================
   15. DESKTOP SIDEBAR
   ================================================== */
:root {
  --sidebar-collapsed-w: 56px;
  --sidebar-expanded-w:  220px;
  --sidebar-bg:          var(--nav-bg, #1a0a0f);
  --sidebar-text:        rgba(255,255,255,0.85);
  --sidebar-hover-bg:    rgba(255,255,255,0.08);
  --sidebar-active-bg:   rgba(255,255,255,0.14);
  --sidebar-transition:  width 0.22s ease;
}
.sidebar { display: none; }
@media (min-width: 769px) {
  .sidebar {
    display:         flex;
    flex-direction:  column;
    position:        fixed;
    top:             0;
    left:            0;
    height:          100vh;
    width:           var(--sidebar-collapsed-w);
    background:      var(--sidebar-bg);
    border-right:    1px solid rgba(255,255,255,0.08);
    z-index:         1200;
    overflow:        hidden;
    transition:      var(--sidebar-transition);
    box-shadow:      2px 0 12px rgba(0,0,0,0.25);
  }
  .sidebar:not(.sidebar--pinned):hover { width: var(--sidebar-expanded-w); }
  .sidebar--pinned                     { width: var(--sidebar-expanded-w); }
  .site-wrapper--with-sidebar {
    margin-left: var(--sidebar-collapsed-w);
    transition:  margin-left 0.22s ease;
  }
  .site-wrapper--with-sidebar.site-wrapper--sidebar-pinned {
    margin-left: var(--sidebar-expanded-w);
  }
}
.sidebar__top {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         0.75rem 0.6rem;
  min-height:      60px;
  border-bottom:   1px solid rgba(255,255,255,0.08);
  flex-shrink:     0;
  overflow:        hidden;
}
.sidebar__logo {
  display:         flex;
  align-items:     center;
  flex-shrink:     0;
  opacity:         0;
  width:           0;
  overflow:        hidden;
  transition:      opacity 0.15s ease, width 0.22s ease;
  text-decoration: none;
}
.sidebar__logo img { height: 36px; width: auto; display: block; }
.sidebar__pin {
  background:    none;
  border:        none;
  cursor:        pointer;
  font-size:     1rem;
  color:         var(--sidebar-text);
  opacity:       0;
  transition:    opacity 0.15s ease;
  padding:       0.25rem;
  border-radius: var(--radius-sm);
  flex-shrink:   0;
  line-height:   1;
}
.sidebar__pin:hover          { background: var(--sidebar-hover-bg); }
.sidebar__pin--active        { opacity: 1 !important; filter: drop-shadow(0 0 4px rgba(244,182,58,0.6)); }
.sidebar:hover .sidebar__logo,
.sidebar--pinned .sidebar__logo  { opacity: 1; width: auto; }
.sidebar:hover .sidebar__pin,
.sidebar--pinned .sidebar__pin   { opacity: 0.7; }

.sidebar__nav {
  display:         flex;
  flex-direction:  column;
  flex:            1;
  overflow-y:      auto;
  overflow-x:      hidden;
  padding:         0.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.sidebar__link,
.sidebar__group-trigger {
  display:         flex !important;
  align-items:     center !important;
  gap:             0.75rem !important;
  padding:         0.6rem 0.75rem !important;
  margin:          0 !important;
  box-sizing:      border-box !important;
  width:           100% !important;
  color:           var(--sidebar-text);
  text-decoration: none;
  white-space:     nowrap;
  overflow:        hidden;
  border-radius:   0;
  border:          none;
  background:      none;
  font-family:     inherit;
  font-size:       0.9rem;
  text-align:      left;
  cursor:          pointer;
  transition:      background 0.15s;
  line-height:     1;
}

.sidebar__link:hover,
.sidebar__group-trigger:hover {
  background: var(--sidebar-hover-bg);
  color:      #fff;
}

.sidebar__group {
  display:        flex;
  flex-direction: column;
  width:          100%;
  margin:         0;
  padding:        0;
}

.sidebar__icon {
  font-size:    1.1rem;
  flex-shrink:  0;
  width:        24px;
  text-align:   center;
  line-height:  1;
  position:     relative;
  margin-right: 15px;
}

.sidebar__label {
  opacity:     0;
  width:       0;
  overflow:    hidden;
  transition:  opacity 0.15s ease;
  font-size:   0.9rem;
  display:     flex;
  align-items: center;
  gap:         0.4rem;
}

.sidebar:hover .sidebar__label,
.sidebar--pinned .sidebar__label { opacity: 1; width: auto; }

.sidebar__icon-badge {
  position:      absolute;
  top:           -4px;
  right:         -6px;
  min-width:     16px;
  height:        16px;
  padding:       0 3px;
  border-radius: var(--radius-pill);
  background:    #c3423f;
  color:         #fff;
  font-size:     0.6rem;
  font-weight:   700;
  line-height:   16px;
  text-align:    center;
  pointer-events: none;
}

.sidebar:hover .sidebar__icon-badge,
.sidebar--pinned .sidebar__icon-badge { display: none; }

.sidebar__badge {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  min-width:       18px;
  height:          18px;
  padding:         0 4px;
  border-radius:   var(--radius-pill);
  background:      #c3423f;
  color:           #fff;
  font-size:       0.65rem;
  font-weight:     700;
  line-height:     1;
}

.sidebar__caret {
  margin-left: auto;
  transition: transform 0.2s;
  opacity: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.sidebar:hover .sidebar__caret,
.sidebar--pinned .sidebar__caret { opacity: 0.6; }

.sidebar__group--open > .sidebar__group-trigger .sidebar__caret { transform: rotate(180deg); }

.sidebar__icon i,
.sidebar__sublink i,
.nav-mobile-menu a i,
.nav-mobile-menu__trigger i {
  font-size: 1rem;
  vertical-align: middle;
}

.sidebar__submenu {
  display:        none;
  flex-direction: column;
  border-left:    2px solid rgba(255,255,255,0.12);
  margin:         0 0 0.25rem 1.35rem;
}

.sidebar__group--open .sidebar__submenu { display: flex; }

.sidebar__sublink {
  display:         block;
  padding:         0.5rem 0.75rem;
  color:           var(--sidebar-text);
  text-decoration: none;
  font-size:       0.85rem;
  white-space:     nowrap;
  overflow:        hidden;
  transition:      background 0.15s;
}

.sidebar__sublink:hover { background: var(--sidebar-hover-bg); color: #fff; }

.sidebar__divider {
  padding:        0.5rem 0.75rem 0.25rem;
  font-size:      0.65rem;
  font-weight:    800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color:          rgba(255,255,255,0.35);
  white-space:    nowrap;
  overflow:       hidden;
  opacity:        0;
  height:         0;
  transition:     opacity 0.15s;
}

.sidebar:hover .sidebar__divider,
.sidebar--pinned .sidebar__divider { opacity: 1; height: auto; }

.sidebar__spacer { flex: 1; }

.sidebar__link--logout { border-top: 1px solid rgba(255,255,255,0.08); opacity: 0.7; }
.sidebar__link--logout:hover { opacity: 1; }

.sidebar__foot {
  display:        flex;
  flex-direction: column;
  gap:            0.2rem;
  padding:        0.6rem 0.75rem;
  border-top:     1px solid rgba(255,255,255,0.08);
  flex-shrink:    0;
  overflow:       hidden;
  opacity:        0;
  height:         0;
  transition:     opacity 0.15s;
}

.sidebar:hover .sidebar__foot,
.sidebar--pinned .sidebar__foot { opacity: 1; height: auto; }

.sidebar__online   { font-size: 0.7rem; color: #4ade80; font-weight: 600; }
.sidebar__username { font-size: 0.75rem; color: rgba(255,255,255,0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-mobile-menu__submenu {
    background: rgba(255, 255, 255, 0.03) !important;
    border-left: 2px solid var(--accent-color, #ff4d4d);
    margin: 5px 20px;
    border-radius: 8px;
}

.nav-mobile-menu a, 
.nav-mobile-menu__trigger {
    padding: 16px 24px !important;
    font-size: 1.1rem;
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}