/* ==================================================
   Mobile Drawer Container
================================================== */
#mobile-menu {
  background-color: #111827 !important;
  opacity: 1 !important;
  z-index: 9999 !important;
  overflow-y: auto;
  padding-bottom: 1rem;
}

/* ==================================================
   Mobile Top-level Links
================================================== */
#mobile-menu a,
#mobile-menu button {
  color: #f3f4f6;
  font-weight: 600;
  font-size: 1rem;
}
#mobile-menu a:hover,
#mobile-menu button:hover {
  color: #f87171;
}

/* Accordion buttons */
#mobile-menu button {
  background: #1f2937;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.6rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==================================================
   Mobile Submenus
================================================== */
#mobile-menu .submenu a {
  font-size: 0.9rem;
  font-weight: 400;
  color: #d1d5db;
  margin-left: 1rem;
  display: block;
  padding: 0.3rem 0;
  transition: all 0.25s ease;
}
#mobile-menu .submenu a:hover {
  color: #f87171;
  padding-left: 1.25rem;
}

/* ==================================================
   User Dropdown (Mobile)
================================================== */
#user-dropdown-mobile .dropdown-item {
  color: #f3f4f6 !important;
  font-weight: 500;
}
#user-dropdown-mobile .dropdown-item:hover {
  background: #374151 !important;
  color: #fff !important;
}

/* ==================================================
   Fix Auth Slot (Mobile)
================================================== */
#auth-slot-mobile a,
#auth-slot-mobile button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  background: #1f2937;
  color: #f3f4f6;
  margin-top: 0.5rem;
}
#auth-slot-mobile a:hover,
#auth-slot-mobile button:hover {
  background: #374151;
  color: #f87171;
}

/* Mobile drawer polish */
#mobile-menu .mobile-section {
  margin-bottom: 0.75rem;
}
#mobile-menu .mobile-section div[id^="mobile-"] {
  padding-left: 1rem;
  margin-top: 0.4rem;
  border-left: 2px solid rgba(255,255,255,0.15);
}

/* Fit smaller phones */
@media (max-height: 680px) {
  #mobile-menu {
    height: calc(100vh - 100px);
  }
}
