/* 
===================================================================
  MindFlow - Luxury Dark & Gold Edition Stylesheet
  Framework: Bootstrap 5.3 + Custom CSS Variables & Animations
  Theme: Royal Dark & Gold Luxury Palette
  Fonts: Playfair Display, Cormorant Garamond, Inter
===================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Color System */
  --primary: #1A1A2E;
  --secondary: #16213E;
  --gold: #D4AF37;
  --gold-light: #F5E6A3;
  --gold-dark: #aa8c2c;
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5E6A3 50%, #AA8C2C 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.4);

  --text-primary: #FFFFFF;
  --text-secondary: #C4C4D4;
  --text-muted: #8A8AA0;

  --bg-dark: #0D0D1A;
  --bg-card: rgba(22, 33, 62, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --border-color: rgba(212, 175, 55, 0.2);

  --tech-color: #0D47A1;
  --food-color: #2E7D32;
  --general-color: #D4AF37;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;

  /* Border Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 20px 45px rgba(212, 175, 55, 0.25);
}

/* --- Global Reset & Selection --- */
* {
  box-sizing: border-box;
}

::selection {
  background-color: var(--gold);
  color: var(--bg-dark);
}

::-moz-selection {
  background-color: var(--gold);
  color: var(--bg-dark);
}

/* Custom Gold Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.font-accent {
  font-family: var(--font-accent);
}

a {
  color: var(--gold);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-light);
}

/* --- Brand Logo --- */
.brand-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  letter-spacing: 0.02em;
}

/* --- 1. Navbar: Dark Glassmorphism Sticky Header --- */
#header,
.main-navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1050 !important;
}

.main-navbar {
  background: rgba(13, 13, 26, 0.88) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.main-navbar .nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--gold-light);
}

.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
  width: 70%;
}

/* --- 2. Hero: Gradient with Gold Glow Animation --- */
.hero-banner {
  background: linear-gradient(135deg, rgba(22, 33, 62, 0.95) 0%, rgba(26, 26, 46, 0.95) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  animation: goldPulse 6s infinite alternate;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* --- 3. Cards: Glassmorphism, Gold Borders on Hover --- */
.blog-card, .glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover, .glass-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--card-shadow-hover);
}

.blog-card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.08);
}

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-title a:hover {
  color: var(--gold-light);
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* --- 4. Buttons: Gold Gradient & Outline Gold --- */
.btn-gold {
  background: var(--gold-gradient);
  color: #0D0D1A !important;
  border: none;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.6rem;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-gold:hover {
  opacity: 0.93;
  transform: translateY(-2px);
  box-shadow: var(--gold-glow);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: var(--gold-gradient);
  color: #0D0D1A !important;
  border-color: transparent;
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--gold-gradient);
  color: #0D0D1A;
  border: none;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.6rem;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  color: #0D0D1A;
  opacity: 0.92;
  box-shadow: var(--gold-glow);
}

/* --- 5. Forms: Dark Inputs, Gold Focus --- */
.form-control, .form-select {
  background-color: rgba(13, 13, 26, 0.8) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.1rem;
  transition: all 0.3s ease;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus, .form-select:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3) !important;
  background-color: rgba(22, 33, 62, 0.95) !important;
}

/* --- 6. Category Badges --- */
.category-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 50rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.badge-tech {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: 50rem;
  padding: 0.4rem 0.9rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.badge-tech:hover {
  background: var(--gold);
  color: #0D0D1A !important;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.badge-food {
  background-color: rgba(46, 125, 50, 0.25);
  color: #81C784;
  border: 1px solid rgba(46, 125, 50, 0.5);
}

.badge-food:hover {
  background-color: var(--food-color);
  color: #FFFFFF;
}

.badge-general {
  background-color: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--border-color);
}

.badge-general:hover {
  background: var(--gold-gradient);
  color: #0D0D1A;
}

/* --- 7. Sidebar: Glassmorphism Widgets --- */
.sidebar-widget {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--card-shadow);
}

.widget-title {
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 3px;
}

/* --- 8. Footer: Dark with Gold Links --- */
.site-footer {
  background-color: rgba(13, 13, 26, 0.95);
  border-top: 1px solid var(--border-color);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  margin-top: auto;
  color: var(--text-secondary);
}

.site-footer h6 {
  color: var(--gold-light);
}

.site-footer a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--gold);
}

/* --- 9. Dashboard Layout, Stats Cards & Activity Timeline --- */
.dashboard-layout {
  display: flex;
  min-height: calc(100vh - 70px);
  background-color: var(--bg-dark);
}

.dashboard-sidebar {
  width: 270px;
  background: var(--secondary);
  border-right: 1px solid var(--border-color);
  padding: 2rem 1.2rem;
  flex-shrink: 0;
}

.dashboard-content {
  flex-grow: 1;
  padding: 2.5rem;
  background-color: var(--bg-dark);
  overflow-x: hidden;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.35rem;
  transition: all 0.3s ease;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border-left: 3px solid var(--gold);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: var(--gold-glow);
}

/* --- 10. Tables: Dark Theme with Hover --- */
.table {
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

.table th {
  background-color: rgba(212, 175, 55, 0.06) !important;
  color: var(--gold-light) !important;
  font-family: var(--font-heading);
  border-bottom: 2px solid var(--border-color) !important;
  padding: 1rem;
}

.table td {
  background-color: transparent !important;
  color: var(--text-secondary) !important;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color) !important;
}

.table tbody tr {
  transition: background-color 0.3s ease;
}

.table tbody tr:hover td {
  background-color: rgba(212, 175, 55, 0.08) !important;
  color: var(--text-primary) !important;
}

/* --- 11. Animations --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes goldPulse {
  0% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.2);
  }
  100% {
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.animate-in {
  animation: fadeIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* --- 12. Cards & Utility Classes --- */
.text-gold {
  color: var(--gold) !important;
}

.text-gold-light {
  color: var(--gold-light) !important;
}

.bg-gold {
  background: var(--gold-gradient) !important;
  color: #0D0D1A !important;
}

.glass {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--border-color) !important;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

/* --- 13. Perfected Safe Light Theme Overrides --- */
[data-bs-theme="light"] {
  --bg-dark: #F4F6F9;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --text-primary: #1A1A2E;
  --text-secondary: #4A4A68;
  --text-muted: #6C757D;
  --border-color: rgba(212, 175, 55, 0.35);
}

[data-bs-theme="light"] body {
  background-color: #F4F6F9 !important;
  color: #1A1A2E !important;
}

[data-bs-theme="light"] .glass {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-color: rgba(212, 175, 55, 0.35) !important;
  color: #1A1A2E !important;
}

[data-bs-theme="light"] .hero-banner {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF6E8 100%) !important;
  border-color: rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.12) !important;
}

[data-bs-theme="light"] .hero-banner h1,
[data-bs-theme="light"] .hero-banner .display-4,
[data-bs-theme="light"] .text-white {
  color: #1A1A2E !important;
}

[data-bs-theme="light"] .text-secondary {
  color: #4A5568 !important;
}

[data-bs-theme="light"] .text-gold-light {
  color: #997A15 !important;
}

[data-bs-theme="light"] .blog-card,
[data-bs-theme="light"] .glass-card,
[data-bs-theme="light"] .dashboard-sidebar,
[data-bs-theme="light"] .card,
[data-bs-theme="light"] .modal-content {
  background: #FFFFFF !important;
  color: #1A1A2E !important;
  border-color: rgba(212, 175, 55, 0.35) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

[data-bs-theme="light"] .main-navbar .nav-link {
  color: #2D3748 !important;
}

[data-bs-theme="light"] .main-navbar .nav-link:hover,
[data-bs-theme="light"] .main-navbar .nav-link.active {
  color: #B8860B !important;
}

[data-bs-theme="light"] .form-control,
[data-bs-theme="light"] .form-select {
  background-color: #FFFFFF !important;
  color: #1A1A2E !important;
  border-color: rgba(212, 175, 55, 0.4) !important;
}

[data-bs-theme="light"] .form-control::placeholder {
  color: #A0AEC0 !important;
}

[data-bs-theme="light"] .dropdown-menu {
  background-color: #FFFFFF !important;
  color: #1A1A2E !important;
  border-color: rgba(212, 175, 55, 0.35) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08) !important;
}

[data-bs-theme="light"] .dropdown-item {
  color: #2D3748 !important;
}

[data-bs-theme="light"] .dropdown-item:hover {
  background-color: rgba(212, 175, 55, 0.12) !important;
  color: #B8860B !important;
}

[data-bs-theme="light"] .table {
  color: #1A1A2E !important;
}

[data-bs-theme="light"] .table th {
  background-color: rgba(184, 134, 11, 0.08) !important;
  color: #8C6B16 !important;
  border-bottom: 2px solid rgba(184, 134, 11, 0.25) !important;
}

[data-bs-theme="light"] .table td, 
[data-bs-theme="light"] .table th {
  border-color: rgba(212, 175, 55, 0.25) !important;
}

[data-bs-theme="light"] footer {
  background-color: #0D0D1A !important;
  color: #FFFFFF !important;
  border-top-color: rgba(212, 175, 55, 0.25) !important;
}

[data-bs-theme="light"] footer p,
[data-bs-theme="light"] footer .text-secondary,
[data-bs-theme="light"] footer a.text-secondary {
  color: #C4C4D4 !important;
}

[data-bs-theme="light"] footer a.text-secondary:hover {
  color: #F5E6A3 !important;
}

[data-bs-theme="light"] footer .text-muted {
  color: #8A8AA0 !important;
}

[data-bs-theme="light"] footer .font-heading,
[data-bs-theme="light"] footer h5 {
  color: #F5E6A3 !important;
}

/* --- 14. Attachment, Media & Blog Filter Styles --- */
.attachment-upload .upload-area {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.attachment-upload .upload-area:hover {
  border-color: var(--gold);
  background: var(--bg-glass);
}

.attachment-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 18px;
  background: var(--bg-glass);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.attachment-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.attachment-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.attachment-gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--gold) !important;
}

.blog-filter select {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.blog-filter select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(212,175,55,0.2);
}

/* Category Hierarchy */
.category-level {
  border-left: 2px solid var(--gold);
}
.category-level-1 { padding-left: 0; }
.category-level-2 { padding-left: 24px; }
.category-level-3 { padding-left: 48px; }

/* Table Action Buttons Alignment Fix */
.table td.text-end,
.table th.text-end {
  white-space: nowrap !important;
}

.table td.text-end .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

/* ==========================================================================
   15. UI ENHANCEMENTS & ANIMATIONS PACKAGE
   ========================================================================== */

/* 1. PREMIUM GLASSMORPHISM */
.glass-premium {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.glass-dark {
    background: rgba(13, 13, 26, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.glass-gold {
    background: rgba(212, 175, 55, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.05);
}

.glass-white {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* 2. NEON GLOW EFFECTS */
.neon-gold {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2),
                0 0 60px rgba(212, 175, 55, 0.1),
                inset 0 0 30px rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.neon-gold-hover:hover {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3),
                0 0 80px rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
}

.neon-text {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3),
                 0 0 20px rgba(212, 175, 55, 0.15),
                 0 0 40px rgba(212, 175, 55, 0.08);
}

.neon-text-hover:hover {
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4),
                 0 0 30px rgba(212, 175, 55, 0.2),
                 0 0 60px rgba(212, 175, 55, 0.1);
}

.neon-border {
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: inset 0 0 30px rgba(212, 175, 55, 0.05),
                0 0 20px rgba(212, 175, 55, 0.08);
}

/* 3. ADVANCED GRADIENTS */
.gradient-hero-enhanced {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 40%, #0D0D1A 100%);
    position: relative;
    overflow: hidden;
}

.gradient-gold-enhanced {
    background: linear-gradient(135deg, #D4AF37 0%, #F5E6A3 30%, #D4AF37 60%, #B8960F 100%);
    background-size: 300% 300%;
    animation: gradientMove 4s ease infinite;
}

.gradient-dark-enhanced {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0D0D1A 100%);
    background-size: 200% 200%;
    animation: gradientMove 8s ease infinite;
}

.gradient-card {
    background: linear-gradient(145deg, rgba(22, 33, 62, 0.9), rgba(13, 13, 26, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.gradient-card:hover {
    background: linear-gradient(145deg, rgba(22, 33, 62, 0.95), rgba(13, 13, 26, 1));
    border-color: rgba(212, 175, 55, 0.3);
}

/* 4. MICRO-INTERACTIONS */
.interact-lift {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.interact-lift:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.interact-glow {
    transition: all 0.3s ease;
}
.interact-glow:hover {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
}

.interact-scale {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.interact-scale:hover {
    transform: scale(1.05);
}

.interact-rotate {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.interact-rotate:hover {
    transform: rotate(3deg) scale(1.02);
}

.interact-shimmer {
    position: relative;
    overflow: hidden;
}
.interact-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: all 0.6s ease;
}
.interact-shimmer:hover::before {
    left: 100%;
}

.interact-pulse {
    animation: pulseSoft 2s ease-in-out infinite;
}

/* 5. SMOOTH TRANSITIONS */
.transition-all-smooth {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-transform-smooth {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.transition-opacity-smooth {
    transition: opacity 0.5s ease;
}

.transition-shadow-smooth {
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-border-smooth {
    transition: border-color 0.3s ease, border-width 0.3s ease;
}

.transition-colors-smooth {
    transition: color 0.3s ease, background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-all-bounce {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 6. MODERN SHADOWS */
.shadow-soft-premium {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.shadow-medium-premium {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.shadow-strong-premium {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
}

.shadow-gold-premium {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.08),
                0 8px 32px rgba(0, 0, 0, 0.2);
}

.shadow-glow-premium {
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.1),
                0 0 120px rgba(212, 175, 55, 0.05);
}

.shadow-hover-lift:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* 7. BORDER EFFECTS */
.border-gold-glow {
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: inset 0 0 30px rgba(212, 175, 55, 0.05);
}

.border-gold-thin-premium {
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.border-gold-medium-premium {
    border: 2px solid rgba(212, 175, 55, 0.25);
}

.border-gold-thick-premium {
    border: 3px solid rgba(212, 175, 55, 0.35);
}

.border-gradient-premium {
    border-image: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold)) 1;
}

/* 8. BACKGROUND PATTERNS */
.bg-pattern-dots-premium {
    background-image: radial-gradient(circle, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

.bg-pattern-grid-premium {
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* 9. ADVANCED KEYFRAMES */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes floatSlow2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-1deg); }
}

@keyframes pulseSoft {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.03); opacity: 1; }
}

@keyframes pulseStrong {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes shimmerGold {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

@keyframes slideDownSmooth {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeftSmooth {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRightSmooth {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleUpSmooth {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes scaleInCenter {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateSlowReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes particleFly {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(200px) rotate(720deg); opacity: 0; }
}

/* 10. ANIMATION UTILITY CLASSES */
.animate-float-slow { animation: floatSlow 6s ease-in-out infinite; }
.animate-float-slow-2 { animation: floatSlow2 7s ease-in-out infinite; }
.animate-pulse-soft { animation: pulseSoft 2s ease-in-out infinite; }
.animate-pulse-strong { animation: pulseStrong 1s ease-in-out infinite; }
.animate-slide-up { animation: slideUpSmooth 0.8s ease forwards; }
.animate-slide-down { animation: slideDownSmooth 0.8s ease forwards; }
.animate-slide-left { animation: slideLeftSmooth 0.8s ease forwards; }
.animate-slide-right { animation: slideRightSmooth 0.8s ease forwards; }
.animate-scale-up { animation: scaleUpSmooth 0.8s ease forwards; }
.animate-scale-center { animation: scaleInCenter 0.6s ease forwards; }
.animate-rotate-slow { animation: rotateSlow 20s linear infinite; }
.animate-rotate-slow-reverse { animation: rotateSlowReverse 20s linear infinite; }

/* Animation Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Hover Effects */
.hover-lift-gold:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-glow-gold:hover {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.15), 0 8px 32px rgba(0, 0, 0, 0.2);
    border-color: var(--gold);
    transition: all 0.3s ease;
}

.hover-scale-gold:hover {
    transform: scale(1.05);
    border-color: var(--gold);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Header Dropdown Menu Contrast & Z-Index Fix */
.main-navbar {
  z-index: 1050 !important;
}

.dropdown-menu {
  background: rgba(13, 13, 26, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(212, 175, 55, 0.25) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7) !important;
  z-index: 1070 !important;
}

.dropdown-menu .dropdown-item {
  color: #FFFFFF !important;
  font-weight: 500;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background: rgba(212, 175, 55, 0.15) !important;
  color: #F5E6A3 !important;
}

/* ============================================================
   USER-FRIENDLY LUXURY ENHANCEMENTS
   ============================================================ */

/* ─── CLEAR TYPOGRAPHY ─── */
.text-readable {
    max-width: 75ch;
    line-height: 1.8;
}

.text-gold-highlight {
    color: var(--gold);
    font-weight: 600;
}

/* ─── CLEAR BUTTONS ─── */
.btn-primary-action {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-dark) !important;
    border: none;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.btn-primary-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
}

.btn-secondary-action {
    background: transparent;
    color: var(--gold) !important;
    border: 2px solid var(--gold);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-secondary-action:hover {
    background: var(--gold);
    color: var(--bg-dark) !important;
    transform: translateY(-3px);
}

.btn-text-action {
    color: var(--gold) !important;
    background: transparent;
    border: none;
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.btn-text-action:hover {
    color: var(--gold-light) !important;
    transform: translateX(4px);
}

/* ─── CLEAR CARDS ─── */
.card-luxury {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-luxury:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-luxury .card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.card-luxury .card-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── CLEAR FORMS ─── */
.form-luxury {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 12px;
    color: var(--text-primary);
    padding: 14px 18px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-luxury:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08);
    color: var(--text-primary);
    outline: none;
}

.form-luxury::placeholder {
    color: var(--text-muted);
}

.form-label-luxury {
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-size: 0.9rem;
    display: block;
}

.form-help-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* ─── CLEAR BADGES ─── */
.badge-luxury {
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-gold {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
}

[data-bs-theme="light"] .badge-tech {
    background: rgba(184, 134, 11, 0.12);
    color: #8C6B16;
    border: 1px solid rgba(184, 134, 11, 0.35);
}

[data-bs-theme="light"] .badge-tech:hover {
    background: linear-gradient(135deg, #D4AF37, #AA7C11);
    color: #FFFFFF !important;
    border-color: #AA7C11;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.badge-food {
    background: rgba(46, 125, 50, 0.2);
    color: #66BB6A;
}

.badge-general {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
}

/* ─── CLEAR SECTION HEADERS ─── */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ─── CLEAR STATS ─── */
.stat-item-luxury {
    text-align: center;
}

.stat-number-luxury {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--gold);
}

.stat-label-luxury {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─── CLEAR BREADCRUMB ─── */
.breadcrumb-luxury {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 0;
    font-size: 0.9rem;
}

.breadcrumb-luxury a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-luxury a:hover {
    color: var(--gold);
}

.breadcrumb-luxury .separator {
    color: var(--text-muted);
}

.breadcrumb-luxury .current {
    color: var(--gold);
    font-weight: 500;
}

/* ─── CLEAR ALERTS ─── */
.alert-luxury {
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    margin-bottom: 16px;
}

.alert-success {
    background: rgba(46, 125, 50, 0.15);
    border-color: rgba(46, 125, 50, 0.3);
    color: #66BB6A;
}

.alert-error {
    background: rgba(198, 40, 40, 0.15);
    border-color: rgba(198, 40, 40, 0.3);
    color: #EF5350;
}

.alert-warning {
    background: rgba(245, 124, 0, 0.15);
    border-color: rgba(245, 124, 0, 0.3);
    color: #FFA726;
}

.alert-info {
    background: rgba(13, 71, 161, 0.15);
    border-color: rgba(13, 71, 161, 0.3);
    color: #42A5F5;
}

/* ─── CLEAR EMPTY STATE ─── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state .empty-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 20px;
}

/* ─── CLEAR TOOLTIP ─── */
.tooltip-luxury {
    position: relative;
    cursor: help;
}

.tooltip-luxury .tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: 200px;
    background: var(--bg-card);
    color: var(--text-primary);
    text-align: center;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: absolute;
    z-index: 100;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.tooltip-luxury:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ─── SKELETON LOADING ─── */
.skeleton {
    background: linear-gradient(90deg, var(--bg-glass) 25%, rgba(255,255,255,0.05) 50%, var(--bg-glass) 75%);
    background-size: 200% 100%;
    animation: shimmerGold 1.5s infinite;
    border-radius: 8px;
}

.skeleton-text {
    height: 12px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-image {
    height: 200px;
    border-radius: 12px;
}

/* ─── RESPONSIVE HELPERS ─── */
.text-center-mobile {
    text-align: center;
}

@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center !important;
    }
    
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
}

/* ============================================================
   LIGHT / DARK THEME DROPDOWN & TEXT CONTRAST OVERRIDES
   ============================================================ */
[data-bs-theme="light"] {
    --text-primary: #1A1A2E;
    --text-secondary: #4A4A68;
    --bg-dark: #F8F9FA;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.85);
}

[data-bs-theme="light"] body {
    background-color: #F4F6F9 !important;
    color: #1A1A2E !important;
}

[data-bs-theme="light"] .dropdown-menu {
    background-color: #FFFFFF !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

[data-bs-theme="light"] .dropdown-item,
[data-bs-theme="light"] .dropdown-menu .dropdown-item {
    color: #1A1A2E !important;
    font-weight: 500 !important;
}

[data-bs-theme="light"] .dropdown-item:hover,
[data-bs-theme="light"] .dropdown-menu .dropdown-item:hover {
    color: #D4AF37 !important;
    background-color: rgba(212, 175, 55, 0.1) !important;
}

[data-bs-theme="light"] .glass-dark {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
}

[data-bs-theme="light"] .main-navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25) !important;
}

[data-bs-theme="light"] .navbar-brand {
    color: #1A1A2E !important;
}

[data-bs-theme="light"] .nav-link {
    color: #1A1A2E !important;
    font-weight: 500;
}

[data-bs-theme="light"] .nav-link:hover {
    color: #D4AF37 !important;
}

[data-bs-theme="dark"] .dropdown-menu {
    background-color: #0D0D1A !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
}

[data-bs-theme="dark"] .dropdown-item,
[data-bs-theme="dark"] .dropdown-menu .dropdown-item {
    color: #FFFFFF !important;
}

[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-menu .dropdown-item:hover {
    color: #D4AF37 !important;
    background-color: rgba(212, 175, 55, 0.15) !important;
}

/* ─── QUICK SEARCH & GENERAL MODALS HIGH CONTRAST & STACKING FIX ─── */
.modal-backdrop {
    z-index: 1070 !important;
}

.modal {
    z-index: 1075 !important;
}

.modal-content {
    background-color: #121324 !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85) !important;
}

.modal-content .form-control, 
.modal-content .form-select {
    background-color: #1A1A2E !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
}

.modal-content .form-control::placeholder {
    color: rgba(255, 255, 255, 0.65) !important;
}

.modal-content .form-control:focus, 
.modal-content .form-select:focus {
    background-color: #222338 !important;
    border-color: var(--gold) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.35) !important;
}

/* Light Theme Modal Overrides */
[data-bs-theme="light"] .modal-content,
[data-theme="light"] .modal-content {
    background-color: #FFFFFF !important;
    color: #1A1A2E !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2) !important;
}

[data-bs-theme="light"] .modal-content .form-control,
[data-bs-theme="light"] .modal-content .form-select,
[data-theme="light"] .modal-content .form-control,
[data-theme="light"] .modal-content .form-select {
    background-color: #F8F9FA !important;
    color: #1A1A2E !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
}

[data-bs-theme="light"] .modal-content .form-control::placeholder,
[data-theme="light"] .modal-content .form-control::placeholder {
    color: #718096 !important;
}

[data-bs-theme="light"] .modal-content .form-control:focus,
[data-bs-theme="light"] .modal-content .form-select:focus,
[data-theme="light"] .modal-content .form-control:focus,
[data-theme="light"] .modal-content .form-select:focus {
    background-color: #FFFFFF !important;
    color: #1A1A2E !important;
    border-color: #B8860B !important;
    box-shadow: 0 0 15px rgba(184, 134, 11, 0.25) !important;
}

#searchModal {
    z-index: 1080 !important;
}

#searchModal .modal-content {
    background-color: #121324 !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(212, 175, 55, 0.45) !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95) !important;
}

#searchModal .modal-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
    background: rgba(22, 33, 62, 0.7) !important;
}

#searchModal .modal-footer {
    border-top: 1px solid rgba(212, 175, 55, 0.3) !important;
    background: rgba(22, 33, 62, 0.7) !important;
}

#searchModal .form-control {
    background-color: #1A1A2E !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
}

#searchModal .form-control::placeholder {
    color: rgba(255, 255, 255, 0.65) !important;
}

[data-bs-theme="light"] #searchModal .modal-content {
    background-color: #FFFFFF !important;
    color: #1A1A2E !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25) !important;
}

[data-bs-theme="light"] #searchModal .modal-header,
[data-bs-theme="light"] #searchModal .modal-footer {
    background: #F8F9FA !important;
}

[data-bs-theme="light"] #searchModal .form-control {
    background-color: #FFFFFF !important;
    color: #1A1A2E !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
}

[data-bs-theme="light"] #searchModal .form-control::placeholder {
    color: rgba(26, 26, 46, 0.65) !important;
}

/* ─── ANIMATED STAT COUNTERS ─── */
.stat-counter {
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), text-shadow 0.3s ease;
}

.card:hover .stat-counter {
    transform: scale(1.1);
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}









