/* ====================================================================
   VSAA PREMIUM NAVBAR - Glass Light Edition (Default) + Dark Override
==================================================================== */
:root {
  --navbar-height: 88px;
  --navbar-height-mobile: 72px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99990;
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid #E6EAF1;
  box-shadow: 0 2px 20px rgba(15,31,75,0.06);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  min-height: calc(var(--navbar-height) + env(safe-area-inset-top, 0px));
  max-width: 100vw;
  overflow-x: clip;
  overflow-y: visible;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .navbar {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
  }

  .navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
}

.navbar.scrolled {
  padding: 0;
  background: #ffffff;
  box-shadow: 0 4px 32px rgba(15,31,75,0.10);
  border-bottom-color: rgba(201,166,70,0.22);
}

[data-theme="dark"] .navbar {
  background: #060e1e;
  border-bottom-color: rgba(201,166,70,0.18);
  box-shadow: 0 2px 32px rgba(0,0,0,0.35);
}

[data-theme="dark"] .navbar.scrolled {
  background: #060e1e;
  box-shadow: 0 4px 40px rgba(0,0,0,0.55);
  border-bottom-color: rgba(201,166,70,0.28);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  [data-theme="dark"] .navbar {
    background: rgba(5,13,26,0.82);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
  }

  [data-theme="dark"] .navbar.scrolled {
    background: rgba(5,13,26,0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--container-xl);
  margin: 0 auto;
  min-height: calc(var(--navbar-height) + env(safe-area-inset-top, 0px));
  padding: max(env(safe-area-inset-top, 0px), 0px) 2rem 0;
  width: min(100%, var(--container-xl));
  overflow: visible !important;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex: 1 1 auto;
  min-width: 0;
}

.navbar-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold-main);
  box-shadow: 0 0 0 3px rgba(201,166,70,0.2), 0 4px 20px rgba(201,166,70,0.3);
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  object-fit: cover;
  animation: logoIn 1s cubic-bezier(0,0,0.2,1) both;
}

@keyframes logoIn {
  from { opacity: 0; transform: scale(0.7) rotate(-15deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

.navbar-logo:hover img {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 0 4px rgba(201,166,70,0.3), 0 8px 32px rgba(201,166,70,0.55);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.navbar-brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-700);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar-brand-tagline {
  font-family: var(--font-body);
  font-size: 0.58rem;
  color: var(--gold-main);
  text-transform: uppercase;
  letter-spacing: 2.2px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  overflow: visible !important;
}

.navbar .nav-item.has-dropdown {
  position: relative;
  padding-bottom: 0.55rem;
  margin-bottom: -0.55rem;
}

.navbar .nav-item.has-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.8rem;
}

.navbar-link {
  font-family: var(--font-body);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--navy-700);
  text-decoration: none;
  padding: 0.42rem 0.75rem;
  border-radius: 6px;
  position: relative;
  transition: color 0.25s, background 0.25s;
  letter-spacing: 0.2px;
}

.navbar-link::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg,#C9A646,#E5C97A);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0,0,0.2,1);
}

.navbar-link:hover {
  color: var(--gold-main);
  background: rgba(201,166,70,0.07);
}

.navbar-link:hover::before,
.navbar-link.active::before { width: 65%; }

.navbar-link.active {
  color: var(--gold-main);
  font-weight: 600;
}

.navbar-item-services {
  position: relative;
  padding-bottom: 0.55rem;
  margin-bottom: -0.55rem;
}

.navbar-item-services::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.8rem;
}

.navbar-services-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar-services-panel,
.navbar .dropdown-menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(760px, 88vw);
  padding: 1.25rem;
  border: 1px solid rgba(201,166,70,0.34);
  border-radius: 24px;
  background: rgba(7,15,30,0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--dur-mid),
    transform var(--dur-mid),
    visibility 0s linear 0.18s;
  z-index: 99999 !important;
}

.navbar-item-services:hover .navbar-services-panel,
.navbar-item-services:focus-within .navbar-services-panel,
.navbar .nav-item.has-dropdown:hover .dropdown-menu,
.navbar .nav-item.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.navbar-item-services:not(:hover):not(:focus-within) .navbar-services-panel,
.navbar .nav-item.has-dropdown:not(:hover):not(:focus-within) .dropdown-menu {
  transition-delay: 0.1s, 0.1s, 0.1s;
}

.navbar-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.navbar-services-link {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #ffffff;
  transition: border-color var(--dur-fast), transform var(--dur-fast), background var(--dur-fast);
}

.navbar-services-link span {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.navbar-services-link small {
  display: block;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}

.navbar-services-link:hover,
.navbar-services-link:focus-visible {
  background: rgba(201,166,70,0.10);
  border-color: rgba(201,166,70,0.34);
  transform: translateY(-2px);
}

html:not([data-theme="dark"]) .navbar-brand-name,
body[data-theme="light"] .navbar-brand-name,
body.theme-light .navbar-brand-name {
  color: var(--navy-700) !important;
}

html[data-theme="dark"] .navbar-brand-name,
body[data-theme="dark"] .navbar-brand-name,
body.theme-dark .navbar-brand-name {
  color: #fff !important;
}

[data-theme="dark"] .navbar-brand-tagline { color: var(--gold-light); }
[data-theme="dark"] .navbar-link { color: rgba(255,255,255,0.85); }
[data-theme="dark"] .navbar-link:hover { color: var(--gold-light); background: rgba(201,166,70,0.08); }
[data-theme="dark"] .navbar-link.active { color: var(--gold-light); }

.navbar-cta { margin-left: 0.3rem; }

.btn-nav-client {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 15px;
  border: 1.5px solid rgba(201,166,70,0.55);
  color: var(--gold-main) !important;
  background: rgba(201,166,70,0.07);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-nav-client:hover {
  background: rgba(201,166,70,0.15);
  border-color: var(--gold-main);
  box-shadow: 0 0 20px rgba(201,166,70,0.2);
  transform: translateY(-1px);
}

.btn-nav-admin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 15px;
  border: none;
  background: linear-gradient(135deg,#C9A646,#E5C97A);
  color: var(--navy-800) !important;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
  box-shadow: 0 3px 14px rgba(201,166,70,0.3);
}

.btn-nav-admin:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(201,166,70,0.5);
}

.theme-toggle-btn {
  min-width: 72px;
  height: 44px;
  padding: 0 16px;
  background: #ffffff;
  border: 1.5px solid #0F1F4B;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0F1F4B;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.3s;
  margin-left: 0.4rem;
  flex-shrink: 0;
}

html:not([data-theme="dark"]) .theme-toggle-btn,
body[data-theme="light"] .theme-toggle-btn,
body.theme-light .theme-toggle-btn {
  background: #ffffff;
  border-color: #0F1F4B;
  color: #0F1F4B;
}

.theme-toggle-btn:hover,
.theme-toggle-btn:focus-visible {
  background: #0F1F4B;
  border-color: #0F1F4B;
  color: #ffffff;
}

html[data-theme="dark"] .theme-toggle-btn,
body[data-theme="dark"] .theme-toggle-btn,
body.theme-dark .theme-toggle-btn {
  background: #0F1F4B;
  border-color: rgba(255,255,255,0.28);
  color: #ffffff;
}

html[data-theme="dark"] .theme-toggle-btn:hover,
html[data-theme="dark"] .theme-toggle-btn:focus-visible,
body[data-theme="dark"] .theme-toggle-btn:hover,
body[data-theme="dark"] .theme-toggle-btn:focus-visible,
body.theme-dark .theme-toggle-btn:hover,
body.theme-dark .theme-toggle-btn:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
  color: #0F1F4B;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid #E6EAF1;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 9px;
  transition: all 0.3s;
  flex-shrink: 0;
}

.navbar-toggle:hover {
  border-color: rgba(201,166,70,0.5);
  background: rgba(201,166,70,0.06);
}

.navbar-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy-700);
  border-radius: 2px;
  display: block;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

[data-theme="dark"] .navbar-toggle { border-color: rgba(201,166,70,0.28); }
[data-theme="dark"] .navbar-toggle span { background: rgba(255,255,255,0.85); }
[data-theme="dark"] .navbar-toggle:hover { border-color: var(--gold-main); background: rgba(201,166,70,0.08); }
.navbar-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); background: var(--gold-main); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); background: var(--gold-main); }

@media (max-width:1100px) {
  .navbar-link { padding: 0.38rem 0.55rem; font-size: 0.81rem; }
  .btn-nav-client, .btn-nav-admin { padding: 6px 11px; font-size: 0.76rem; }
}

@media (max-width:820px) {
  .navbar {
    min-height: calc(var(--navbar-height-mobile) + env(safe-area-inset-top, 0px));
  }

  .navbar-toggle { display: flex; }

  .navbar-menu {
    display: none !important;
  }

  .navbar-services-panel {
    display: none;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background:
      radial-gradient(circle at top, rgba(201,166,70,0.12), transparent 38%),
      rgba(5,10,25,0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  .mobile-nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-drawer {
    position: fixed;
    top: calc(var(--navbar-height-mobile) + env(safe-area-inset-top, 0px) + 0.5rem);
    left: 0.75rem;
    right: 0.75rem;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-height: calc(100dvh - var(--navbar-height-mobile) - env(safe-area-inset-top, 0px) - 1.25rem);
    padding: 1.05rem;
    border: 1px solid rgba(15,31,75,0.1);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,248,252,0.98) 52%, rgba(239,243,248,0.98) 100%);
    box-shadow:
      0 20px 48px rgba(15,31,75,0.18),
      0 2px 0 rgba(255,255,255,0.65) inset,
      0 0 0 1px rgba(255,255,255,0.24) inset;
    overflow-y: visible;
    transform: translateY(-0.7rem) scale(0.985);
    transform-origin: top center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
  }

  [data-theme="dark"] .mobile-nav-drawer {
    background:
      radial-gradient(circle at top, rgba(201,166,70,0.1), transparent 34%),
      linear-gradient(180deg, rgba(7,15,30,0.98) 0%, rgba(9,20,40,0.98) 54%, rgba(11,27,52,0.98) 100%);
    border-color: rgba(201,166,70,0.18);
    box-shadow:
      0 24px 54px rgba(0,0,0,0.54),
      0 1px 0 rgba(255,255,255,0.05) inset,
      0 0 0 1px rgba(201,166,70,0.07) inset;
  }

  .mobile-nav-drawer.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(15,31,75,0.08);
  }

  [data-theme="dark"] .mobile-nav-header {
    border-bottom-color: rgba(201,166,70,0.12);
  }

  .mobile-nav-title {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: var(--navy-700);
  }

  [data-theme="dark"] .mobile-nav-title {
    color: #FFFFFF;
  }

  .mobile-nav-close {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(201,166,70,0.26);
    background: linear-gradient(180deg, rgba(201,166,70,0.12), rgba(201,166,70,0.05));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 8px 22px rgba(15,31,75,0.08);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  }

  .mobile-nav-close:hover,
  .mobile-nav-close:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(201,166,70,0.45);
    box-shadow: 0 12px 26px rgba(15,31,75,0.12);
    outline: none;
  }

  .mobile-nav-close span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-main);
  }

  .mobile-nav-close span:first-child { transform: rotate(45deg); }
  .mobile-nav-close span:last-child { transform: rotate(-45deg); }

  .mobile-nav-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .mobile-nav-link,
  .mobile-theme-toggle {
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(15,31,75,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(247,249,252,0.84));
    color: var(--navy-700);
    font-family: var(--font-body);
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.35;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow:
      0 8px 18px rgba(15,31,75,0.06),
      0 1px 0 rgba(255,255,255,0.8) inset;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  }

  [data-theme="dark"] .mobile-nav-link,
  [data-theme="dark"] .mobile-theme-toggle {
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
    border-color: rgba(255,255,255,0.08);
    color: #FFFFFF;
    box-shadow:
      0 10px 22px rgba(0,0,0,0.22),
      0 1px 0 rgba(255,255,255,0.04) inset;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:focus-visible,
  .mobile-theme-toggle:hover,
  .mobile-theme-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(201,166,70,0.34);
    color: var(--gold-main);
    outline: none;
    box-shadow:
      0 14px 28px rgba(15,31,75,0.12),
      0 1px 0 rgba(255,255,255,0.82) inset;
  }

  [data-theme="dark"] .mobile-nav-link:hover,
  [data-theme="dark"] .mobile-nav-link:focus-visible,
  [data-theme="dark"] .mobile-theme-toggle:hover,
  [data-theme="dark"] .mobile-theme-toggle:focus-visible {
    color: var(--gold-light);
    box-shadow:
      0 16px 30px rgba(0,0,0,0.28),
      0 0 0 1px rgba(201,166,70,0.12) inset;
  }

  .mobile-nav-link-cta {
    border-color: rgba(201,166,70,0.45);
    color: var(--gold-main);
    background: linear-gradient(180deg, rgba(201,166,70,0.14), rgba(201,166,70,0.08));
  }

  .mobile-nav-link-admin {
    border: none;
    color: var(--navy-800);
    background: linear-gradient(135deg,#C9A646,#E5C97A);
    justify-content: center;
    box-shadow: 0 14px 28px rgba(201,166,70,0.24);
  }

  .mobile-theme-toggle {
    cursor: pointer;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 700;
  }

  .mobile-nav-drawer.active .mobile-nav-body > * {
    animation: mobileNavItemIn 0.35s cubic-bezier(0.22,1,0.36,1) both;
  }

  .mobile-nav-drawer.active .mobile-nav-body > *:nth-child(1) { animation-delay: 0.03s; }
  .mobile-nav-drawer.active .mobile-nav-body > *:nth-child(2) { animation-delay: 0.06s; }
  .mobile-nav-drawer.active .mobile-nav-body > *:nth-child(3) { animation-delay: 0.09s; }
  .mobile-nav-drawer.active .mobile-nav-body > *:nth-child(4) { animation-delay: 0.12s; }
  .mobile-nav-drawer.active .mobile-nav-body > *:nth-child(5) { animation-delay: 0.15s; }

  @keyframes mobileNavItemIn {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width:480px) {
  .navbar-container {
    gap: 0.75rem;
    min-height: calc(var(--navbar-height-mobile) + env(safe-area-inset-top, 0px));
    padding: max(env(safe-area-inset-top, 0px), 0px) 1rem 0;
  }

  .navbar-logo {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
    min-width: 0;
  }

  .navbar-logo img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .navbar-brand {
    align-items: flex-start;
    gap: 0;
    min-width: 0;
  }

  .navbar-brand-name {
    font-size: 0.8rem;
    line-height: 1.15;
    white-space: normal;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: none;
    overflow: hidden;
  }

  .navbar-brand-tagline { display: none; }

  .navbar-toggle {
    width: 42px;
    height: 42px;
    padding: 8px;
  }
}

@media (max-width:360px) {
  .navbar-container {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .navbar-logo img {
    width: 36px;
    height: 36px;
  }

  .navbar-brand-name {
    font-size: 0.72rem;
    max-width: 10.5rem;
  }

  .navbar-toggle {
    width: 40px;
    height: 40px;
    padding: 7px;
  }
}

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 16px;
  background: linear-gradient(135deg,#C9A646,#E5C97A);
  color: #0A1628;
  padding: 8px 20px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-to-content:focus { top: 0; }

html:not([data-theme="dark"]) .navbar {
  background: rgba(255,255,255,0.95) !important;
  border-bottom: 1px solid rgba(201,166,70,0.2) !important;
  box-shadow: 0 2px 20px rgba(15,31,75,0.08) !important;
}

html:not([data-theme="dark"]) .navbar.scrolled {
  background: rgba(255,255,255,0.99) !important;
  box-shadow: 0 4px 32px rgba(15,31,75,0.12) !important;
  border-bottom-color: rgba(201,166,70,0.3) !important;
}

html:not([data-theme="dark"]) .navbar-brand-name { color: var(--navy-700) !important; }
html:not([data-theme="dark"]) .navbar-link { color: var(--navy-700) !important; }

html,
body {
  margin-top: 0 !important;
  padding-top: 0 !important;
  overflow-x: clip;
}

body {
  overflow-y: auto !important;
}

.navbar,
.navbar-container,
.navbar-menu,
.dropdown-menu,
.sidebar,
header,
.nav-item.has-dropdown .dropdown-menu {
  overflow-y: visible !important;
  overflow-x: visible !important;
}

@media (max-width:820px) {
  .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99990 !important;
    background: #ffffff !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: calc(var(--navbar-height-mobile) + env(safe-area-inset-top, 0px)) !important;
  }

  [data-theme="dark"] .navbar { background: #060e1e !important; }

  .navbar-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    visibility: visible !important;
    max-width: 100vw !important;
  }

  .navbar-logo,
  .navbar-toggle {
    display: flex !important;
    visibility: visible !important;
  }
}

.navbar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,10,25,0.65);
  z-index: 10001;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.navbar-backdrop.active {
  display: block;
  opacity: 1;
}
