/* Fashion Theme CSS - ClosetLoop */
:root {
  --primary: #8b5cf6;
  --primary-light: #a78bfa;
  --primary-dark: #7c3aed;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-overlay: rgba(255, 255, 255, 0.95);
  --card-bg: rgba(255, 255, 255, 0.9);
  --nav-bg: rgba(255, 255, 255, 0.98);
  --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.06);
  --shadow-heavy: 0 8px 16px rgba(0, 0, 0, 0.08);
  --fashion-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --fashion-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --fashion-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --fashion-gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Hide scrollbars globally for both PC and mobile */
html, body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* Hide scrollbar for Webkit browsers (Chrome, Safari, Edge) */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbars for all elements */
* {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

*::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

/* Global Background */
body {
  background: var(--fashion-gradient-1);
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
}

/* Fashion Background Overlay with Multiple Layers */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(255, 183, 77, 0.2) 0%, transparent 50%);
  background-size: 100% 100%;
  z-index: -1;
  animation: backgroundShift 25s ease-in-out infinite;
}

/* Fashion Decorative Elements */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 50% 10%, rgba(59, 130, 246, 0.1) 0%, transparent 20%);
  background-size: 300px 300px, 200px 200px, 250px 250px;
  background-position: 0 0, 100px 100px, 50px 50px;
  z-index: -1;
  animation: decorativeFloat 30s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%, 100% { 
    transform: scale(1) rotate(0deg); 
    filter: hue-rotate(0deg);
  }
  25% { 
    transform: scale(1.02) rotate(0.5deg); 
    filter: hue-rotate(10deg);
  }
  50% { 
    transform: scale(1.05) rotate(1deg); 
    filter: hue-rotate(20deg);
  }
  75% { 
    transform: scale(1.02) rotate(0.5deg); 
    filter: hue-rotate(10deg);
  }
}

@keyframes decorativeFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.7;
  }
  50% { 
    transform: translateY(-20px) rotate(180deg); 
    opacity: 1;
  }
}

/* Navigation Styling */
nav {
  background: var(--nav-bg) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-medium);
  position: relative;
  z-index: 1000 !important;
}

nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fashion-gradient-2);
  opacity: 0.8;
}

nav .text-2xl {
  background: var(--fashion-gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  position: relative;
}

nav .text-2xl::after {
  content: '👗';
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  opacity: 0.8;
}

/* Card Styling with Fashion Elements */
.dashboard-card, .bg-white {
  background: var(--card-bg) !important;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.dashboard-card::before, .bg-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transition: left 0.8s ease;
}

.dashboard-card:hover::before, .bg-white:hover::before {
  left: 100%;
}

.dashboard-card:hover, .bg-white:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-1px);
  border-color: var(--primary-light);
}

/* Stat Cards with Fashion Gradients */
.stat-card {
  background: var(--card-bg) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--fashion-gradient-3);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover::after {
  transform: scaleX(1);
}

.stat-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow-heavy);
  border-color: var(--accent);
}

/* Sidebar Styling */
.sidebar .dashboard-card {
  background: var(--card-bg) !important;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.sidebar-item {
  background: transparent;
  border-radius: 12px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  margin: 2px 0;
}

.sidebar-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.06), transparent);
  transition: left 0.8s ease;
}

.sidebar-item:hover::before {
  left: 100%;
}

.sidebar-item:hover {
  background: rgba(139, 92, 246, 0.05);
  transform: translateX(3px);
  box-shadow: var(--shadow-light);
}

.sidebar-item.active {
  background: var(--fashion-gradient-2);
  color: white;
  box-shadow: var(--shadow-medium);
  transform: translateX(5px);
}

.sidebar-item.active::before {
  display: none;
}

/* Button Styling with Fashion Gradients */
.btn-primary, .bg-purple-600 {
  background: var(--fashion-gradient-2) !important;
  border: none;
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before, .bg-purple-600::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transition: left 0.8s ease;
}

.btn-primary:hover::before, .bg-purple-600:hover::before {
  left: 100%;
}

.btn-primary:hover, .bg-purple-600:hover {
  background: var(--fashion-gradient-3) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

/* Form Elements with Fashion Styling */
input, textarea, select {
  background: var(--card-bg) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(15px);
  transition: all 0.4s ease;
  border-radius: 8px;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95) !important;
}

/* Fashion Item Cards with Enhanced Effects */
.fashion-item-card {
  background: var(--card-bg) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}

.fashion-item-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--fashion-gradient-4);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.fashion-item-card:hover::before {
  transform: scaleX(1);
}

.fashion-item-card::after {
  content: '✨';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.2em;
  opacity: 0;
  transition: all 0.4s ease;
  transform: scale(0) rotate(0deg);
}

.fashion-item-card:hover::after {
  opacity: 1;
  transform: scale(1) rotate(360deg);
}

.fashion-item-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-heavy);
  border-color: var(--accent);
}

/* Status Badges with Fashion Gradients */
.status-badge {
  background: var(--card-bg) !important;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  transition: all 0.3s ease;
}

.status-badge:hover {
  transform: scale(1.05);
}

.status-pending {
  background: var(--fashion-gradient-4) !important;
  color: #065f46;
}

.status-active {
  background: var(--fashion-gradient-3) !important;
  color: white;
}

.status-completed {
  background: var(--fashion-gradient-2) !important;
  color: white;
}

.status-cancelled {
  background: linear-gradient(135deg, #fee2e2, #fecaca) !important;
  color: #991b1b;
}

/* Calendar Styling with Fashion Elements */
.calendar-day {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.calendar-day::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--fashion-gradient-1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.calendar-day:hover::before {
  opacity: 0.1;
}

.calendar-day:hover {
  transform: scale(1.15);
  box-shadow: var(--shadow-medium);
}

.calendar-day.active {
  background: var(--fashion-gradient-2);
  color: white;
  box-shadow: var(--shadow-medium);
  transform: scale(1.1);
}

.calendar-day.active::before {
  display: none;
}

/* Loading Spinner with Fashion Colors */
.loading-spinner {
  border: 3px solid rgba(139, 92, 246, 0.1);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mobile Navigation with Fashion Styling */
.mobile-nav {
  background: var(--nav-bg) !important;
  backdrop-filter: blur(25px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.mobile-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fashion-gradient-3);
  opacity: 0.8;
}

/* Mobile Menu Styling */
#mobileMenu {
  background: var(--card-bg) !important;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-medium);
  border-radius: 0 0 12px 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

#mobileMenu a {
  color: var(--text-dark);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#mobileMenu a:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--fashion-gradient-3);
  transform: translateX(5px);
}

#mobileMenu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  transition: left 0.4s ease;
}

#mobileMenu a:hover::before {
  left: 100%;
}

/* Mobile Menu Button Styling */
#mobileMenuBtn {
  background: var(--card-bg) !important;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

#mobileMenuBtn:hover {
  background: rgba(139, 92, 246, 0.1) !important;
  transform: scale(1.05);
}

/* Dropdown Menus with Fashion Effects - Only for navigation dropdowns */
nav .dropdown-menu {
  background: var(--card-bg) !important;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-heavy);
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999 !important;
  position: absolute !important;
}

nav .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 9999 !important;
}

nav .dropdown-menu a {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: 12px 16px;
  display: block;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav .dropdown-menu a:last-child {
  border-bottom: none;
}

nav .dropdown-menu a:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--fashion-gradient-3);
  transform: translateX(5px);
}

nav .dropdown-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  transition: left 0.4s ease;
}

nav .dropdown-menu a:hover::before {
  left: 100%;
}

/* Dropdown arrow animation - Only for navigation */
nav .dropdown-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide scrollbars globally for both PC and mobile */
html, body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* Hide scrollbar for Webkit browsers (Chrome, Safari, Edge) */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbars for all elements */
* {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

*::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

/* Scrollbar Styling with Fashion Colors (for elements that need custom scrollbars) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: var(--fashion-gradient-2);
  border-radius: 5px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--fashion-gradient-3);
}

/* Text Styling */
.text-gray-600 {
  color: var(--text-light) !important;
}

.text-gray-800 {
  color: var(--text-dark) !important;
}

/* Light Mode Text Visibility Fixes */
@media (prefers-color-scheme: light) {
  .text-gray-600 {
    color: #4b5563 !important;
  }
  
  .text-gray-500 {
    color: #4b5563 !important;
  }
  
  .text-gray-400 {
    color: #6b7280 !important;
  }
  
  /* Card text visibility */
  .dashboard-card .text-gray-600,
  .bg-white .text-gray-600,
  .stat-card .text-gray-600 {
    color: #4b5563 !important;
  }
  
  .dashboard-card .text-gray-500,
  .bg-white .text-gray-500,
  .stat-card .text-gray-500 {
    color: #4b5563 !important;
  }
  
  .dashboard-card .text-gray-400,
  .bg-white .text-gray-400,
  .stat-card .text-gray-400 {
    color: #6b7280 !important;
  }
  
  /* Navigation text visibility */
  nav .text-gray-600,
  nav a.text-gray-600 {
    color: #4b5563 !important;
  }
  
  /* Footer text visibility */
  footer .text-gray-400 {
    color: #6b7280 !important;
  }
  
  footer .text-gray-600 {
    color: #4b5563 !important;
  }
  
  /* Footer headings and links */
  footer h4 {
    color: #374151 !important;
  }
  
  footer ul li a {
    color: #6b7280 !important;
  }
  
  footer ul li a:hover {
    color: #374151 !important;
  }
  
  /* Footer social media icons */
  footer .fab {
    color: #6b7280 !important;
  }
  
  footer .fab:hover {
    color: #374151 !important;
  }
  
  /* Footer contact info */
  footer p {
    color: #6b7280 !important;
  }
  
  /* Footer copyright text */
  footer .border-t {
    color: #6b7280 !important;
  }
  
  /* Footer brand name and icon */
  footer .text-2xl {
    color: #1f2937 !important;
  }
  
  footer .fas.fa-tshirt {
    color: #1f2937 !important;
  }
  
  footer .text-purple-600 {
    color: #7c3aed !important;
  }
  
  /* Footer tagline */
  footer p.text-gray-400 {
    color: #6b7280 !important;
  }
  
  /* Mobile menu text visibility */
  #mobileMenu .text-gray-600 {
    color: #4b5563 !important;
  }
  
  /* Hero section text visibility */
  .hero-section .text-gray-600 {
    color: #4b5563 !important;
  }
  
  /* Dashboard specific text visibility */
  .dashboard .text-gray-600 {
    color: #4b5563 !important;
  }
  
  .dashboard .text-gray-500 {
    color: #4b5563 !important;
  }
  
  .dashboard .text-gray-400 {
    color: #6b7280 !important;
  }
  
  /* Dashboard cards and stats */
  .dashboard .dashboard-card .text-gray-600,
  .dashboard .stat-card .text-gray-600 {
    color: #4b5563 !important;
  }
  
  .dashboard .dashboard-card .text-gray-500,
  .dashboard .stat-card .text-gray-500 {
    color: #4b5563 !important;
  }
  
  .dashboard .dashboard-card .text-gray-400,
  .dashboard .stat-card .text-gray-400 {
    color: #6b7280 !important;
  }
  
  /* Dashboard sidebar */
  .dashboard .sidebar .text-gray-600 {
    color: #4b5563 !important;
  }
  
  .dashboard .sidebar .text-gray-500 {
    color: #4b5563 !important;
  }
  
  /* Dashboard navigation */
  .dashboard nav .text-gray-600 {
    color: #4b5563 !important;
  }
  
  .dashboard nav .text-gray-500 {
    color: #4b5563 !important;
  }
  
  /* Dashboard welcome message and stats */
  .dashboard #welcomeMessage {
    color: #4b5563 !important;
  }
  
  .dashboard #userRating {
    color: #4b5563 !important;
  }
  
  .dashboard #memberSince {
    color: #4b5563 !important;
  }
  
  /* Dashboard activity feeds */
  .dashboard .text-sm.text-gray-600 {
    color: #4b5563 !important;
  }
  
  .dashboard .text-sm.text-gray-500 {
    color: #4b5563 !important;
  }
  
  /* Dashboard loading text */
  .dashboard p.text-gray-500 {
    color: #4b5563 !important;
  }
  
  /* Dashboard tips and performance text */
  .dashboard #performanceText {
    color: #4b5563 !important;
  }
  
  /* Dashboard mobile menu */
  .dashboard #mobileMenu .text-gray-600 {
    color: #4b5563 !important;
  }
  
  .dashboard #mobileMenu .text-gray-500 {
    color: #4b5563 !important;
  }
}

/* Hero Section Styling */
.hero-section {
  background: var(--card-bg) !important;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--fashion-gradient-4);
}

/* Footer Styling */
footer {
  background: var(--nav-bg) !important;
  backdrop-filter: blur(25px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fashion-gradient-1);
  opacity: 0.8;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.8s ease-in;
}

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

.slide-in {
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.bounce-in {
  animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

/* Fashion-themed decorative elements */
.fashion-icon {
  position: relative;
  display: inline-block;
}

.fashion-icon::after {
  content: '👗';
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 0.8em;
  opacity: 0.7;
  animation: fashionFloat 3s ease-in-out infinite;
}

@keyframes fashionFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(10deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  body::before {
    background-size: 200% 200%;
  }
  
  body::after {
    background-size: 150px 150px, 100px 100px, 125px 125px;
  }
  
  .dashboard-card, .bg-white {
    backdrop-filter: blur(10px);
  }
  
  .stat-card {
    margin-bottom: 1rem;
  }
  
  .fashion-item-card:hover {
    transform: translateY(-5px) scale(1.02);
  }

  /* Mobile listings scroll container */
  .listings-scroll {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 0 16px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .listings-scroll::-webkit-scrollbar {
    display: none !important;
  }

  /* Mobile listing cards */
  .listing-card {
    min-width: 250px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
    background: var(--card-bg) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: var(--shadow-light) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .listing-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-medium) !important;
    border-color: var(--primary-light) !important;
  }

  .listing-card img {
    transition: transform 0.3s ease !important;
  }

  .listing-card:hover img {
    transform: scale(1.05) !important;
  }

  /* Mobile card content */
  .listing-card .p-4 {
    padding: 1rem !important;
  }

  .listing-card h3 {
    font-size: 1.125rem !important;
    line-height: 1.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  .listing-card p {
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
    margin-bottom: 0.75rem !important;
  }

  /* Mobile wishlist button */
  .listing-card .wishlist-heart-btn {
    position: absolute !important;
    top: 1rem !important;
    left: 1rem !important;
    background: transparent !important;
    padding: 0.5rem !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    z-index: 10 !important;
    transition: all 0.2s ease !important;
  }

  .listing-card .wishlist-heart-btn:hover {
    background: transparent !important;
    transform: scale(1.1) !important;
  }

  /* Mobile categories scroll container */
  .categories-scroll {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 0 16px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .categories-scroll::-webkit-scrollbar {
    display: none !important;
  }

  /* Mobile category cards */
  .category-card {
    min-width: 280px !important;
    height: 200px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
  }

  /* Ensure proper spacing for mobile sections */
  .py-20 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  /* Mobile text sizing */
  .text-4xl {
    font-size: 1.875rem !important;
    line-height: 2.25rem !important;
  }

  .text-5xl {
    font-size: 2.25rem !important;
    line-height: 2.5rem !important;
  }

  .text-6xl {
    font-size: 2.5rem !important;
    line-height: 2.75rem !important;
  }

  /* Mobile touch targets */
  .guest-menu a, .user-menu a {
    padding: 8px 12px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --text-dark: #f9fafb;
    --text-light: #d1d5db;
    --bg-overlay: rgba(17, 24, 39, 0.95);
    --card-bg: rgba(31, 41, 55, 0.9);
    --nav-bg: rgba(17, 24, 39, 0.98);
  }
}

/* Print styles */
@media print {
  body::before, body::after {
    display: none;
  }
  
  .dashboard-card, .bg-white {
    background: white !important;
    box-shadow: none;
  }
}

/* Chat page specific fixes */
.chat-page {
  background: var(--card-bg) !important;
}

.chat-page .bg-white {
  background: var(--card-bg) !important;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.chat-page .bg-gray-50 {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
}

.chat-page .border-gray-100,
.chat-page .border-gray-200 {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.chat-page .text-gray-800 {
  color: var(--text-dark) !important;
}

.chat-page .text-gray-600 {
  color: var(--text-light) !important;
}

.chat-page .text-gray-500 {
  color: var(--text-light) !important;
  opacity: 0.8;
}

.chat-page .text-gray-400 {
  color: var(--text-light) !important;
  opacity: 0.6;
}

.chat-page input,
.chat-page textarea {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: var(--text-dark) !important;
}

.chat-page input::placeholder,
.chat-page textarea::placeholder {
  color: var(--text-light) !important;
  opacity: 0.6;
}

.chat-page .chat-list-item {
  background: var(--card-bg) !important;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.chat-page .chat-list-item:hover {
  background: rgba(139, 92, 246, 0.1) !important;
  transform: translateY(-2px);
}

.chat-page .chat-list-item.active {
  background: rgba(139, 92, 246, 0.2) !important;
  border-color: var(--fashion-gradient-3);
}

.chat-page .chat-bubble-left {
  background: var(--card-bg) !important;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.chat-page .chat-bubble-right {
  background: var(--fashion-gradient-1) !important;
  color: white;
}

.chat-page .system-message {
  background: rgba(139, 92, 246, 0.1) !important;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Fix for other dropdowns on the site */
.dropdown-menu:not(nav .dropdown-menu) {
  background: white !important;
  color: #374151 !important;
}

.dropdown-menu:not(nav .dropdown-menu) a {
  color: #374151 !important;
  background: white !important;
}

.dropdown-menu:not(nav .dropdown-menu) a:hover {
  background: #f3f4f6 !important;
  color: #1f2937 !important;
  transform: none;
}

/* Category Filter Dropdown Styling */
#categoryFilter {
  background: var(--card-bg) !important;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: var(--text-dark) !important;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
}

#categoryFilter:hover {
  border-color: var(--fashion-gradient-3) !important;
  box-shadow: var(--shadow-heavy);
  transform: translateY(-1px);
}

#categoryFilter:focus {
  border-color: var(--fashion-gradient-1) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
  outline: none;
}

#categoryFilter option {
  background: var(--card-bg);
  color: var(--text-dark);
  padding: 8px;
}

/* Dashboard header fixes */
.dashboard-header {
  background: var(--card-bg) !important;
  backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000 !important;
  position: relative;
}

.dashboard-header .bg-white {
  background: var(--card-bg) !important;
  backdrop-filter: blur(25px);
}

.dashboard-header .text-gray-900 {
  color: var(--text-dark) !important;
}

.dashboard-header .text-gray-600 {
  color: var(--text-light) !important;
}

.dashboard-header .border-gray-200 {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.dashboard-header .hover\:bg-gray-100:hover {
  background: rgba(139, 92, 246, 0.1) !important;
}

/* Fix for dashboard dropdown not working */
.dashboard-header nav .dropdown-menu {
  background: var(--card-bg) !important;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-heavy);
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999 !important;
  position: absolute !important;
}

.dashboard-header nav .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 9999 !important;
}

.dashboard-header nav .dropdown-menu a {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: 12px 16px;
  display: block;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-header nav .dropdown-menu a:last-child {
  border-bottom: none;
}

.dashboard-header nav .dropdown-menu a:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--fashion-gradient-3);
  transform: translateX(5px);
}

.dashboard-header nav .dropdown-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure dashboard navigation has proper z-index */
.dashboard-header {
  z-index: 1000 !important;
  position: relative;
}

.dashboard-header nav .relative.group {
  position: relative !important;
  z-index: 1001 !important;
}

/* Global dropdown visibility fixes */
.dropdown-menu {
  z-index: 99999 !important;
  position: absolute !important;
  pointer-events: auto !important;
}

.dropdown-menu.show {
  z-index: 99999 !important;
  pointer-events: auto !important;
}

/* Ensure all navigation dropdowns are visible */
nav .dropdown-menu,
.dashboard-header nav .dropdown-menu {
  z-index: 99999 !important;
  position: absolute !important;
  pointer-events: auto !important;
  background: var(--card-bg) !important;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-heavy);
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav .dropdown-menu.show,
.dashboard-header nav .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 99999 !important;
  pointer-events: auto !important;
}

/* Fix for any stacking context issues */
nav,
.dashboard-header {
  z-index: 1000 !important;
  position: relative !important;
}

nav .relative.group,
.dashboard-header nav .relative.group {
  position: relative !important;
  z-index: 1001 !important;
}

/* Ensure dropdown container doesn't clip the dropdown */
nav .relative.group,
.dashboard-header nav .relative.group {
  overflow: visible !important;
}

/* Force dropdown to be above everything - ULTIMATE FIX */
.dropdown-menu,
nav .dropdown-menu,
.dashboard-header nav .dropdown-menu,
.dashboard .dropdown-menu,
.dashboard nav .dropdown-menu {
  z-index: 999999 !important;
  position: absolute !important;
  pointer-events: auto !important;
  background: var(--card-bg) !important;
  backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: var(--shadow-heavy) !important;
  border-radius: 12px !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  top: 100% !important;
  right: 0 !important;
  margin-top: 0.5rem !important;
  min-width: 14rem !important;
}

.dropdown-menu.show,
nav .dropdown-menu.show,
.dashboard-header nav .dropdown-menu.show,
.dashboard .dropdown-menu.show,
.dashboard nav .dropdown-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  z-index: 999999 !important;
  pointer-events: auto !important;
}

/* Force navigation containers to have proper z-index */
nav,
.dashboard-header,
.dashboard nav {
  z-index: 1000 !important;
  position: relative !important;
}

nav .relative.group,
.dashboard-header nav .relative.group,
.dashboard nav .relative.group,
.dashboard .relative.group {
  position: relative !important;
  z-index: 1001 !important;
  overflow: visible !important;
}

/* Ensure dropdown container doesn't clip */
nav .relative.group,
.dashboard-header nav .relative.group,
.dashboard nav .relative.group,
.dashboard .relative.group {
  overflow: visible !important;
  position: relative !important;
}

/* Force dropdown to break out of any stacking contexts */
.dropdown-menu,
nav .dropdown-menu,
.dashboard-header nav .dropdown-menu,
.dashboard .dropdown-menu,
.dashboard nav .dropdown-menu {
  position: fixed !important;
  z-index: 999999 !important;
  transform: none !important;
}

.dropdown-menu.show,
nav .dropdown-menu.show,
.dashboard-header nav .dropdown-menu.show,
.dashboard .dropdown-menu.show,
.dashboard nav .dropdown-menu.show {
  position: fixed !important;
  z-index: 999999 !important;
  transform: none !important;
}

/* Specific fix for dashboard dropdown positioning */
.dashboard nav .relative.group {
  position: relative !important;
  z-index: 999998 !important;
}

.dashboard nav .dropdown-menu {
  position: absolute !important;
  z-index: 999999 !important;
  top: 100% !important;
  right: 0 !important;
  margin-top: 0.5rem !important;
  background: var(--card-bg) !important;
  backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: var(--shadow-heavy) !important;
  border-radius: 12px !important;
  min-width: 14rem !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.dashboard nav .dropdown-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* SIMPLE DASHBOARD DROPDOWN FIX */
.dashboard .dropdown-menu {
  background: white !important;
  border: 2px solid #8b5cf6 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  z-index: 999999 !important;
  position: absolute !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dashboard .dropdown-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  z-index: 999999 !important;
}

.dashboard .dropdown-menu a {
  color: #374151 !important;
  background: white !important;
  padding: 12px 16px !important;
  display: block !important;
  text-decoration: none !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.dashboard .dropdown-menu a:last-child {
  border-bottom: none !important;
}

.dashboard .dropdown-menu a:hover {
  background: #f3f4f6 !important;
  color: #1f2937 !important;
}

/* Force dropdown to be visible */
.dashboard nav .relative.group {
  position: relative !important;
  z-index: 999998 !important;
}

.dashboard nav .dropdown-menu {
  position: absolute !important;
  z-index: 999999 !important;
  top: 100% !important;
  right: 0 !important;
  margin-top: 0.5rem !important;
  background: white !important;
  border: 2px solid #8b5cf6 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  border-radius: 12px !important;
  min-width: 14rem !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.dashboard nav .dropdown-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
} 

/* Profile Form: Light text on dark background */
#profileForm input:not([disabled]),
#profileForm textarea:not([disabled]) {
  background: rgba(30, 32, 40, 0.95) !important;
  color: #fff !important;
  border: 1.5px solid #a78bfa !important;
}

#profileForm input:not([disabled]):focus,
#profileForm textarea:not([disabled]):focus {
  background: rgba(40, 42, 55, 1) !important;
  color: #fff !important;
  border-color: #8b5cf6 !important;
  box-shadow: 0 0 0 2px #8b5cf6;
}

#profileForm label {
  color: #f3f4f6 !important;
  font-weight: 600;
  letter-spacing: 0.01em;
}

#profileForm input::placeholder,
#profileForm textarea::placeholder {
  color: #c7c9d1 !important;
  opacity: 1;
}

#profileForm input[disabled],
#profileForm textarea[disabled] {
  background: #23242b !important;
  color: #a1a1aa !important;
  border-color: #44444a !important;
  opacity: 0.7;
} 

/* Modern Stepper with Connectors - Improved Alignment and Mobile Sizing */
.modern-stepper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0 2.5rem 0;
}
.modern-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.modern-step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #aaa;
  background: #fff;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  transition: border 0.2s, color 0.2s;
  box-sizing: border-box;
}
.modern-step.active .modern-step-circle {
  border: 3px solid #e0118a;
  color: #e0118a;
}
.modern-step.completed .modern-step-circle {
  border: 3px solid #aaa;
  color: #aaa;
  background: #f3f3f3;
}
.modern-step-label {
  margin-top: 0.3rem;
  color: #555;
  font-size: 1rem;
  font-weight: 600;
}
.modern-step-connector {
  flex: 1 1 40px;
  height: 3px;
  background: #aaa;
  margin: 0 0.2rem;
  z-index: 0;
  align-self: center;
  position: relative;
  top: 0;
}
@media (max-width: 600px) {
  .modern-stepper {
    gap: 0.1rem;
    margin: 1rem 0 1.2rem 0;
    padding: 0 2vw;
  }
  .modern-step-circle {
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
    border-width: 2px;
  }
  .modern-step-label {
    font-size: 0.7rem;
    margin-top: 0.15rem;
  }
  .modern-step-connector {
    min-width: 8px;
    height: 2px;
    margin: 0 0.1rem;
  }
} 