/* Dark theme styles for site header */
.site-header {
  height: 50px;
  padding: 0.5rem 1rem;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.header-logo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.navbar-toggler {
  flex: 0 0 auto;
}

.navbar-nav-icons {
  flex: 0 0 auto;
}

.navbar-glass {
  background-color: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-bottom: 1px solid #47936C !important;
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
  display: none;
  position: fixed;
  top: 50px;
  left: -250px;
  /* width: 250px; */
  height: calc(100vh - 60px);
  background-color: #000000;
  border-right: 1px solid #3F3F46;
  transition: left 0.3s ease-in-out;
  z-index: 1000;
  padding: 1rem;
  overflow-y: auto;
}

.mobile-nav-menu.show {
  display: block;
  left: 0;
  width: 100%;
}

.mobile-nav-menu .nav-link {
  padding: 0.75rem 1rem;
  border-radius: 4px;
}

.mobile-nav-menu .nav-link:hover {
  background-color: #27272A;
}

/* Mobile Auth Section */
.mobile-auth-section {
  padding: 0 1rem 0.5rem 1rem;
}

.mobile-auth-section .btn {
  font-size: 0.95rem;
}

.mobile-menu-divider {
  border-color: #3F3F46;
  margin: 1rem 0;
}

.mobile-user-email {
  color: #D4D4D8;
  font-size: 0.85rem;
  padding: 0.5rem 1rem 0.75rem 1rem;
  word-break: break-all;
}

/* Auth Buttons */
.auth-buttons {
  display: flex;
  align-items: center;
}

.auth-buttons .btn {
  padding: 0.375rem 1rem;
}

/* Desktop Navigation */
@media (min-width: 992px) {
  .navbar-toggler {
    display: none;
  }

  .mobile-nav-menu {
    display: none;
  }

  .navbar-collapse {
    display: flex !important;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    display: none !important;
  }

  /* Hide auth buttons on mobile - they move to hamburger menu */
  .auth-buttons {
    display: none !important;
  }

  /* Also hide the account dropdown container on mobile */
  .navbar-nav-icons .dropdown {
    display: none !important;
  }
}

/* Dropdown styles */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #000000;
  border: 1px solid #3F3F46;
  border-radius: 0.375rem;
  margin-top: 0.5rem;
  min-width: 10rem;
  z-index: 1000;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  clear: both;
  font-weight: 400;
  color: #E4DAD7;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  cursor: pointer;
}

.dropdown-item:hover {
  color: var(--emerald-500);
  background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

/* Rest of the existing styles */
.nav-link {
  color: #E4DAD7 !important;
}

.nav-link:hover {
  color: #D4D4D8 !important;
}

.dropdown-menu {
  background-color: #18181B !important;
  border: 1px solid #3F3F46 !important;
}

.dropdown-item {
  color: #E4DAD7 !important;
}

.dropdown-item:hover {
  background-color: #27272A !important;
  color: #D4D4D8 !important;
}

.dropdown-divider {
  border-color: #3F3F46 !important;
}

.btn-outline-success {
  color: #47936C !important;
  border-color: #47936C !important;
}

.btn-outline-success:hover {
  background-color: #47936C !important;
  color: #E4DAD7 !important;
}

.btn-success {
  background-color: #47936C !important;
  border-color: #47936C !important;
  color: #E4DAD7 !important;
}

.btn-success:hover {
  background-color: #3a7d5b !important;
}

.btn-secondary {
  background-color: #18181B !important;
  border-color: #3F3F46 !important;
  color: #E4DAD7 !important;
}

.btn-secondary:hover {
  background-color: #27272A !important;
}

img {
  height: revert-layer !important;
}

.header-logo-img {
  height: 32px !important;
  width: auto !important;
}

/* Show icon on mobile, full logo on desktop */
.header-logo-full {
  display: none;
}

@media (min-width: 992px) {
  .header-logo-icon {
    display: none;
  }
  .header-logo-full {
    display: block;
  }
}

/* @media (max-width: 991px) { */
/*   img { */
/*     width: 165px; */
/*   } */
/* } */

:root {
  --background-primary: #000000;
  --background-secondary: #18181B;
  --background-hover: #27272A;
  --text-primary: #E4DAD7;
  --text-secondary: #D4D4D8;
  --border-primary: #3F3F46;
  --accent-primary: #47936C;
  --accent-secondary: #3a7d5b;
}

