/* Global CSS Variables and Theme Support */
:root {
  --primary: #448DAE;
  --secondary: #32cbf1;
  --background: #fff;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --border-color: #e5e7eb;
  --card-background: #fff;
  --header-background: rgba(255, 255, 255, 0.98);
  --features-gradient-start: #f8fbfd;
  --features-gradient-end: #fff;
  --search-icon-color: #555;
  --button-hover-background: #f3f4f6;
  --theme-toggle-hover: rgba(0, 0, 0, 0.05);
  --background-instructor: #dcdcdc dc;
}

[data-theme="dark"] {
  --primary: #5cb8ce;
  --background: #121212;
  --text-primary: #fff;
  --text-secondary: #ccc;
  --border-color: #2a2a2a;
  --card-background: #1e1e1e;
  --header-background: rgba(18, 18, 18, 0.98);
  --features-gradient-start: #121212;
  --features-gradient-end: #1e1e1e;
  --search-icon-color: #ccc;
  --button-hover-background: #2a2a2a;
  --theme-toggle-hover: rgba(255, 255, 255, 0.1);
  --background-instructor: #2d2d2d;
}

/* Global transition for theme changes */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Global body styling */
body {
  font-family: 'Geist', sans-serif !important;
  min-height: 100vh;
  background: var(--background);
  line-height: 1.6;
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Global Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--header-background);
  backdrop-filter: blur(8px);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  background-color: var(--header-background) !important;
}

.header-content {
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
}

/* Modern Header Styles */
.modern-header {
  background: #ffffff;
  border-bottom: 1px solid #f3f4f6;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  width: 100%;
}

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--primary);
  outline: none;
}

.logo:focus {
  outline: none;
  box-shadow: none;
}

.logo:active {
  outline: none;
}

/* Firefox specific - remove dotted outline */
.logo::-moz-focus-inner {
  border: 0;
}

.logo img {
  width: auto;
  height: 2.5rem;
  outline: none;
}

.logo-image {
  height: 40px;
  width: auto;
  transition: transform 0.2s ease;
  outline: none;
}

.logo-image:focus {
  outline: none;
}

.logo:hover .logo-image {
  transform: scale(1.05);
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-button {
  position: relative;
  background: none;
  border: none;
  padding: 0.5rem 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-button:hover {
  color: var(--secondary);
}

.nav-text {
  position: relative;
  z-index: 10;
}

.nav-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(to right, var(--secondary), var(--primary));
  transition: width 0.3s ease;
  width: 0;
}

.nav-button:hover .nav-underline {
  width: 100%;
}

.nav-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(50, 203, 241, 0.05), rgba(68, 141, 174, 0.05));
  border-radius: 0.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-button:hover .nav-background {
  opacity: 1;
}

/* Desktop Auth Buttons */
.desktop-auth-buttons {
  display: none;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  margin-left: auto;
}

@media (min-width: 1024px) {
  .desktop-auth-buttons {
    display: flex;
  }
}

.auth-buttons-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-button {
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.login-btn {
  background: transparent;
  color: var(--primary);
  border: 1px solid transparent;
}

.login-btn:hover {
  color: var(--secondary);
  background: rgba(68, 141, 174, 0.05);
}

.signup-btn {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.signup-btn:hover {
  background: var(--primary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.start-teaching-btn {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.start-teaching-btn:hover {
  background: var(--secondary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

/* User Menu */
.user-menu-container {
  position: relative;
  z-index: 10000;
}

.user-dropdown {
  position: relative;
  z-index: 10000;
}

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-menu-trigger:hover {
  color: var(--secondary);
  background: rgba(68, 141, 174, 0.05);
}

.user-menu-trigger:focus {
  outline: none;
  box-shadow: none;
}

.user-menu-trigger:active {
  outline: none;
  box-shadow: none;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-name {
  display: none;
}

@media (min-width: 640px) {
  .user-name {
    display: block;
  }
}

.chevron-down {
  color: currentColor;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  background: rgba(68, 141, 174, 0.05);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.menu-icon {
  width: 24px;
  height: 24px;
}

/* Mobile Menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 40;
}

.mobile-menu-content {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.mobile-logo-image {
  height: 40px;
  width: auto;
}

.mobile-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-button {
  width: 100%;
  padding: 1rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 2px solid rgba(68, 141, 174, 0.2);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.mobile-nav-button:hover {
  color: var(--secondary);
  border-color: rgba(50, 203, 241, 0.4);
  background: rgba(68, 141, 174, 0.05);
}

.mobile-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1rem 0;
}

.mobile-start-teaching-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-start-teaching-btn:hover {
  background: var(--secondary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Mobile User Section */
.mobile-user-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 0.5rem;
}

.mobile-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-user-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-user-details {
  flex: 1;
}

.mobile-user-name {
  font-weight: 500;
  color: var(--primary);
  margin: 0;
}

.mobile-user-email {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.mobile-logout-btn {
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: 2px solid #fca5a5;
  color: #dc2626;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-logout-btn:hover {
  background: #fef2f2;
  border-color: #f87171;
  color: #b91c1c;
}

/* Mobile Auth Section */
.mobile-auth-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-signup-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--secondary);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-signup-btn:hover {
  background: var(--primary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mobile-login-btn {
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-login-btn:hover {
  background: rgba(68, 141, 174, 0.05);
  border-color: var(--secondary);
  color: var(--secondary);
}

/* Search Bar Styles */
.navbar-form {
  margin: 0;
  padding: 0;
  flex: 1;
  max-width: 300px;
  margin: 0 1rem;
}

.navbar-form .form-group {
  margin: 0;
}

/* Make search bar visible on all pages including homepage */
.navbar-form {
  display: block;
}

/* Mobile search bar styling */
@media (max-width: 1024px) {
  .navbar-form {
    display: none;
  }
}

@media (min-width: 1024px) {
  .mobile-menu .navbar-form {
    display: none;
  }
}

/* Promocode Bar */
.promocode-bar {
  background: #fef3c7;
  color: #92400e;
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 500;
  border-bottom: 1px solid #fbbf24;
}

/* Remove outline from navigation buttons */
.nav-button:focus,
.nav-button:active,
.mobile-nav-button:focus,
.mobile-nav-button:active {
  outline: none;
  box-shadow: none;
}

/* Location Modal Styles */
.location-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10000 !important;
  padding: 1rem !important;
}

.location-modal {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 28rem;
  width: 28rem;
  max-height: 90vh;
  min-height: auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.location-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.location-modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #448DAE;
  margin: 0;
}

.location-modal-close {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.location-modal-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.location-modal-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.location-modal-description {
  color: #555555;
  font-size: 0.875rem;
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.location-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.location-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem;
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.location-option:hover {
  background: rgba(68, 141, 174, 0.05);
  border-color: rgba(68, 141, 174, 0.3);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.location-option.current-location:hover {
  background: rgba(50, 203, 241, 0.05);
  border-color: rgba(50, 203, 241, 0.3);
}

.location-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  color: #448DAE;
  transition: transform 0.2s ease;
}

.location-option:hover .location-icon {
  transform: scale(1.1);
}

.current-location-icon {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.current-location-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: #32cbf1;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.location-name {
  font-weight: 500;
  color: #555555;
  transition: color 0.2s ease;
}

.location-option:hover .location-name {
  color: #448DAE;
}

.location-option.current-location .location-name {
  color: #32cbf1;
}

.location-option.current-location:hover .location-name {
  color: #448DAE;
}

.location-modal-footer {
  margin-top: 1.5rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid #f3f4f6 !important;
  display: block !important;
  visibility: visible !important;
}

.location-modal-note {
  font-size: 0.875rem !important;
  color: #6b7280 !important;
  text-align: center !important;
  margin: 0 !important;
  line-height: 1.5 !important;
  display: block !important;
  visibility: visible !important;
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
  .location-modal {
    margin: 1rem;
    max-width: none;
    max-height: 85vh;
  }
  
  .location-modal-header {
    padding: 1rem 1rem 0.75rem 1rem;
  }
  
  .location-modal-content {
    padding: 1rem;
  }
  
  .location-option {
    padding: 0.875rem;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .location-modal {
    margin: 0.5rem;
    max-height: 80vh;
  }
  
  .location-modal-overlay {
    padding: 0.5rem;
  }
}

/* Fix for Stripe iframe that sometimes blocks content */
iframe[name^="stripeXDM"],
iframe[id^="stripeXDM"] {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  pointer-events: none !important;
  visibility: hidden !important;
  z-index: -1 !important;
}

::-webkit-scrollbar {
  width: 8px !important;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(100, 100, 100, 0.6) !important;
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background-color: rgba(240, 240, 240, 0.8) !important;
}

/* Global Footer Styles */
.footer {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1)) !important;
  color: white !important;
  padding: 2rem 0 0.5rem 0 !important;
  margin-top: auto;
  margin-bottom: -1rem !important;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Footer sections */
.footer > .container > .grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Brand section */
.footer .promoga-logo-container {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer .promoga-logo-container img {
  height: 2rem;
  width: auto;
  transition: transform 0.2s ease;
}

.footer .promoga-logo-container:hover img {
  transform: scale(1.05);
}

/* Section headings */
.footer h4 {
  color: white !important;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
  text-align: left;
}

/* Links and buttons */
.footer a,
.footer button {
  color: #9ca3af !important;
  text-decoration: none;
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font-size: 0.875rem;
}

.footer a:hover,
.footer button:hover {
  color: var(--primary) !important;
}

/* Lists */
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer li {
  margin: 0;
}

/* Text content */
.footer p {
  margin: 0;
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Bottom section */
.footer .border-t {
  border-top: 1px solid #374151;
  margin-top: 1rem;
  padding-top: 1rem;
  padding-bottom: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .footer .border-t {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer .border-t p {
  margin: 0;
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer .border-t > div {
  display: flex;
  gap: 1.5rem;
}

.footer .border-t > div a {
  color: #9ca3af !important;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer .border-t > div a:hover {
  color: var(--primary) !important;
}

/* Footer utility classes */
.footer .flex {
  display: flex;
}

.footer .items-center {
  align-items: center;
}

.footer .mb-4 {
  margin-bottom: 1rem;
}

.footer .text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.footer .text-gray-400 {
  color: #9ca3af !important;
}

.footer .font-semibold {
  font-weight: 600;
}

.footer .hover\:text-white:hover {
  color: white !important;
}

.footer .transition-colors {
  transition: color 0.2s ease;
}

.footer .text-left {
  text-align: left;
}

.footer .space-y-2 > * + * {
  margin-top: 0.5rem;
}

.footer .space-x-6 > * + * {
  margin-left: 1.5rem;
}

/* Remove outline from footer buttons */
.footer button:focus,
.footer button:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Ensure footer is visible on all non-homepage pages */
body:not(.homepage):not([data-path="/"]) promoga-footer,
body:not(.homepage):not([data-path="/"]) .promoga-footer,
body:not(.homepage):not([data-path="/"]) footer,
body:not(.homepage):not([data-path="/"]) [class*="footer"],
body:not(.homepage):not([data-path="/"]) [id*="footer"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* Hide footer on homepage */
body.homepage promoga-footer,
body[data-path="/"] promoga-footer {
  display: none !important;
}

/* Global scrollbar styling for non-homepage pages */
body:not(.homepage):not([data-path="/"])::-webkit-scrollbar {
  display: block !important;
  width: 12px !important;
  height: 12px !important;
}

body:not(.homepage):not([data-path="/"])::-webkit-scrollbar-track {
  background: #f1f1f1 !important;
}

body:not(.homepage):not([data-path="/"])::-webkit-scrollbar-thumb {
  background: #888 !important;
  border-radius: 6px !important;
}

body:not(.homepage):not([data-path="/"])::-webkit-scrollbar-thumb:hover {
  background: #555 !important;
}

html:not(.homepage):not([data-path="/"])::-webkit-scrollbar {
  display: block !important;
  width: 12px !important;
  height: 12px !important;
}

html:not(.homepage):not([data-path="/"])::-webkit-scrollbar-track {
  background: #f1f1f1 !important;
}

html:not(.homepage):not([data-path="/"])::-webkit-scrollbar-thumb {
  background: #888 !important;
  border-radius: 6px !important;
}

html:not(.homepage):not([data-path="/"])::-webkit-scrollbar-thumb:hover {
  background: #555 !important;
}

body:not(.homepage):not([data-path="/"]),
html:not(.homepage):not([data-path="/"]) {
  -ms-overflow-style: scrollbar !important;
  scrollbar-width: auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

/* Dropdown menu fixes - ONLY for user dropdown, not all dropdowns */
.user-menu-container,
.user-dropdown {
  overflow: visible !important;
}

/* Hide big share buttons globally on promotion detail pages */
.promotion-detail .share-big,
body:not(.homepage) .share-big {
  display: none !important;
}

.promotion-detail .share-small,
body:not(.homepage) .share-small {
  display: inline-block !important;
}

/* User Dropdown Menu Styling */
.user-dropdown-menu {
  position: fixed !important;
  z-index: 99999 !important;
  max-height: 80vh !important;
  overflow-y: auto !important;
  width: 16rem !important;
  background: white !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  list-style: none !important;
  margin-top: 8px !important;
}

/* When dropdown is moved to body, ensure it's not clipped */
body > .user-dropdown-menu {
  position: fixed !important;
  z-index: 99999 !important;
  max-height: 80vh !important;
  overflow-y: auto !important;
  width: 16rem !important;
  background: white !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

/* Ensure dropdown items are visible */
.user-dropdown-menu .dropdown-item {
  display: block !important;
  width: 100% !important;
  padding: 8px 16px !important;
  color: #33CCFF !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  transition: background-color 0.2s ease !important;
  white-space: nowrap !important;
  overflow: visible !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  background: transparent !important;
  border: none !important;
  text-align: left !important;
  cursor: pointer !important;
  line-height: 1.4 !important;
}

.user-dropdown-menu .dropdown-item:hover {
  background-color: #f8fafc !important;
  color: #33CCFF !important;
  transform: none !important;
}

/* Alternative dropdown item selector */
.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.75rem;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  color: var(--secondary);
  background: rgba(68, 141, 174, 0.05);
}

.logout-item {
  color: #dc2626 !important;
}

.logout-item:hover {
  color: #b91c1c !important;
  background: #fef2f2 !important;
}

/* Additional fallback for all elements */
*:not(.homepage):not([data-path="/"]) {
  scrollbar-width: auto !important;
}

*:not(.homepage):not([data-path="/"])::-webkit-scrollbar {
  display: block !important;
}

/* Ensure scrollbars are visible on all non-homepage pages - more comprehensive */
body:not(.homepage):not([data-path="/"]),
html:not(.homepage):not([data-path="/"]),
body:not(.homepage):not([data-path="/"]) *,
html:not(.homepage):not([data-path="/"]) * {
  scrollbar-width: auto !important;
}

body:not(.homepage):not([data-path="/"]) *::-webkit-scrollbar,
html:not(.homepage):not([data-path="/"]) *::-webkit-scrollbar {
  display: block !important;
}
