/* 
=====================================
VALZO LANDING PAGE STYLES
=====================================
Modern Business Software Company Landing Page
Clean, Professional, Dual Theme Support
===================================== 
*/

/* ===== CSS VARIABLES & THEMES ===== */
:root {
  /* Brand Colors */
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent-color: #10b981;
  --accent-dark: #059669;
  
  /* Light Theme (Default) */
  --bg-primary: #ffffff;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f8f9fa;
  --bg-dark: #000000;
  --text-primary: #000000;
  --text-secondary: #333333;
  --text-muted: #666666;
  --border-color: #dee2e6;
  --border-light: #e9ecef;
  --navbar-bg: rgba(255, 255, 255, 0.98);
  --navbar-text: #000000;
  --hero-gradient-start: #ffffff;
  --hero-gradient-end: #ffffff;
  --card-bg: #ffffff;
  --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-large: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Light Theme Explicit */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f8f9fa;
  --text-primary: #000000;
  --text-secondary: #333333;
  --text-muted: #666666;
  --border-color: #dee2e6;
  --navbar-bg: rgba(255, 255, 255, 0.98);
  --navbar-text: #000000;
  --hero-gradient-start: #ffffff;
  --hero-gradient-end: #ffffff;
  --card-bg: #ffffff;
  --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-large: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Dark Theme */
[data-theme="dark"] {
  --primary-color: #60a5fa;
  --primary-dark: #3b82f6;
  --primary-light: #93c5fd;
  --accent-color: #34d399;
  --accent-dark: #10b981;
  --bg-primary: #000000;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-dark: #000000;
  --card-bg: #111111;
  --text-primary: #ffffff;
  --text-secondary: #e5e5e5;
  --text-muted: #a3a3a3;
  --border-color: #333333;
  --border-light: #444444;
  --navbar-bg: rgba(0, 0, 0, 0.95);
  --navbar-text: #ffffff;
  --hero-gradient-start: #111111;
  --hero-gradient-end: #000000;
  --shadow-light: 0 1px 3px rgba(255, 255, 255, 0.1), 0 1px 2px rgba(255, 255, 255, 0.05);
  --shadow-medium: 0 4px 6px rgba(255, 255, 255, 0.15), 0 2px 4px rgba(255, 255, 255, 0.08);
  --shadow-large: 0 10px 15px rgba(255, 255, 255, 0.2), 0 4px 6px rgba(255, 255, 255, 0.1);
}

/* ===== BASE STYLES ===== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  padding-top: 60px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Theme Transition Helper */
.theme-transitioning {
  transition: all 0.3s ease !important;
}

.theme-transitioning * {
  transition: all 0.3s ease !important;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

.display-3, .display-4, .display-5 {
  font-weight: 700;
}

.brand-name {
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  font-weight: 700;
}

/* ===== LOGO STYLES ===== */
.navbar-logo, .footer-logo {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: all 0.3s ease;
}

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

/* Responsive logo sizing */
@media (max-width: 768px) {
  .navbar-logo {
    height: 38px;
  }
  
  .brand-name {
    font-size: 1.25rem;
  }
  
  /* Better mobile alignment */
  .hero-title {
    font-size: 2.5rem !important;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .display-5 {
    font-size: 2rem !important;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem !important;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

/* Footer Logo */
.footer-logo {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  transition: all 0.3s ease;
}

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

/* Footer Styling */
footer {
  background-color: var(--bg-dark) !important;
  color: white !important;
}

[data-theme="dark"] footer {
  background-color: var(--bg-dark) !important;
}

/* Footer Responsive Alignment */
@media (max-width: 768px) {
  footer .container .row {
    text-align: center;
  }
  
  footer .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  footer .d-flex {
    justify-content: center;
  }
  
  footer h6 {
    margin-top: 1.5rem;
  }
}

@media (max-width: 576px) {
  footer .row.align-items-center {
    text-align: center;
  }
  
  footer .col-md-6.text-md-end {
    text-align: center !important;
    margin-top: 1rem;
  }
}

/* Dark Theme Sections */
[data-theme="dark"] .bg-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
}

[data-theme="dark"] .bg-secondary {
  background-color: var(--bg-secondary) !important;
}

[data-theme="dark"] .bg-dark {
  background-color: var(--bg-dark) !important;
}

[data-theme="dark"] .text-muted {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .text-secondary {
  color: var(--text-secondary) !important;
}

/* Ensure all text elements use the theme colors */
[data-theme="dark"] h1, 
[data-theme="dark"] h2, 
[data-theme="dark"] h3, 
[data-theme="dark"] h4, 
[data-theme="dark"] h5, 
[data-theme="dark"] h6,
[data-theme="dark"] p:not(.text-white):not(.text-light),
[data-theme="dark"] .lead {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .hero-title {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .hero-subtitle {
  color: var(--text-secondary) !important;
}

/* High contrast footer for dark theme */
[data-theme="dark"] footer {
  background-color: var(--bg-primary) !important;
  border-top: 2px solid var(--border-color);
}

[data-theme="dark"] footer h5,
[data-theme="dark"] footer h6 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] footer p,
[data-theme="dark"] footer .text-light {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] footer a {
  color: var(--text-secondary) !important;
}

/* Disable hover effects on footer links */
footer a:hover {
  color: inherit !important;
  text-decoration: none !important;
}

[data-theme="dark"] footer a:hover {
  color: var(--text-secondary) !important;
}

/* CTA Section Dark Theme */
[data-theme="dark"] .cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
  color: white !important;
}

[data-theme="dark"] .cta-section * {
  color: white !important;
}

[data-theme="dark"] .btn-light {
  background-color: var(--bg-primary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

/* Dark theme button improvements */
[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-color: var(--primary-color);
  color: #000000;
}

[data-theme="dark"] .btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-color: var(--primary-light);
  color: #000000;
}

[data-theme="dark"] .btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

[data-theme="dark"] .btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #000000;
}

[data-theme="dark"] .theme-toggle {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

[data-theme="dark"] .theme-toggle:hover {
  background: var(--primary-color);
  color: #000000;
}

/* Form Controls Dark Theme */
[data-theme="dark"] .form-control {
  background-color: var(--bg-secondary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .form-control:focus {
  background-color: var(--bg-secondary);
  border-color: var(--primary-color);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .form-control::placeholder {
  color: var(--text-muted);
}

/* Theme transition for all elements */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Navigation */
.navbar {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  background-color: var(--navbar-bg) !important;
  border-bottom: 1px solid var(--border-color);
  z-index: 1030; /* Ensure navbar stays above other elements */
  isolation: isolate; /* Create new stacking context */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--navbar-text) !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
  border: 2px solid var(--border-color) !important;
  background: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
  border-radius: 25px !important;
  width: 60px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  margin-left: 1rem;
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  cursor: pointer !important;
  z-index: 1000 !important;
}

.theme-toggle:hover,
.theme-toggle:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important;
  transform: scale(1.02);
  background: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
}

.theme-toggle::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  left: 4px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  z-index: -1;
  pointer-events: none;
}

[data-theme="dark"] .theme-toggle::before {
  transform: translateX(26px);
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.theme-toggle .theme-icon {
  position: relative;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  opacity: 1;
  z-index: 2;
  pointer-events: none;
}

/* Dark theme navbar */
[data-theme="dark"] .navbar {
  background-color: var(--navbar-bg) !important;
  border-bottom: 2px solid var(--border-color);
}

[data-theme="dark"] .navbar-toggler-icon {
  filter: invert(1);
}

[data-theme="dark"] .brand-name {
  color: var(--primary-color) !important;
}

[data-theme="dark"] .navbar-nav .nav-link {
  color: var(--navbar-text) !important;
}

[data-theme="dark"] .navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
  color: var(--text-primary);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 1; /* Ensure hero section stays below navbar */
  padding: 2rem 0;
}

/* Light theme hero section */
[data-theme="light"] .hero-section {
  color: var(--text-primary);
}

/* Dark theme hero section */
[data-theme="dark"] .hero-section {
  color: var(--text-primary);
}

.hero-section .container {
  position: relative;
  z-index: 2; /* Ensure content stays above background effects */
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></svg>') repeat;
  background-size: 50px 50px;
  animation: float 20s infinite linear;
  z-index: 1; /* Ensure it stays behind content */
  pointer-events: none; /* Prevent interaction issues */
  transform: translateZ(0); /* Force hardware acceleration */
}

/* Light theme floating dots */
[data-theme="light"] .hero-section::before {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="black" opacity="0.03"/></svg>') repeat;
}

/* Dark theme floating dots */
[data-theme="dark"] .hero-section::before {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></svg>') repeat;
}

@keyframes float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-50px, -50px); }
}

.hero-title {
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
  animation: fadeInUp 1s ease-out 0.4s both;
}

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

/* Dark theme text improvements */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: var(--text-primary);
}

[data-theme="dark"] p {
  color: var(--text-secondary);
}

[data-theme="dark"] .display-4 {
  color: var(--text-primary);
}

/* About Section */
.about-image {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 102, 204, 0.3);
}

/* Buttons */
.btn {
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
  letter-spacing: 0.025em;
}

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

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-color: var(--primary-light);
}

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

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Secondary Button */
.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

/* Accent Button */
.btn-accent {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  color: white;
  border-color: var(--accent-color);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
}

/* Smooth Scrolling */
section {
  scroll-margin-top: 100px;
}

html {
  scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
    min-height: 80vh;
  }
  
  .display-3 {
    font-size: 2.5rem;
  }
  
  .hero-cta .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-cta .btn:last-child {
    margin-bottom: 0;
  }
}

/* Social Links */
.social-links a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

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

/* Dark theme scrollbar */
[data-theme="dark"] ::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: var(--primary-color);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Utility Classes for Color Management */
.text-primary-custom {
  color: var(--text-primary) !important;
}

.text-secondary-custom {
  color: var(--text-secondary) !important;
}

.text-muted-custom {
  color: var(--text-muted) !important;
}

.bg-primary-custom {
  background-color: var(--bg-primary) !important;
}

.bg-secondary-custom {
  background-color: var(--bg-secondary) !important;
}

.bg-tertiary-custom {
  background-color: var(--bg-tertiary) !important;
}

.border-custom {
  border-color: var(--border-color) !important;
}

.border-light-custom {
  border-color: var(--border-light) !important;
}

/* Enhanced Card Styling */
.card-custom {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.card-custom:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

/* Enhanced Alert Styling */
.alert-custom {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 12px;
}

.alert-success-custom {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--accent-color);
  color: var(--accent-dark);
}

[data-theme="dark"] .alert-success-custom {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-color);
}

/* Better Focus States */
.form-control:focus,
.btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
  :root {
    --bg-primary: #ffffff;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f5f5f5;
    --text-primary: #000000;
    --text-secondary: #000000;
    --text-muted: #333333;
    --border-color: #000000;
    --primary-color: #0000ff;
  }
  
  [data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #000000;
    --bg-tertiary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --text-muted: #cccccc;
    --border-color: #ffffff;
    --primary-color: #00ffff;
  }
  
  .btn {
    border-width: 3px !important;
  }
  
  .card-custom,
  .feature-card,
  .pricing-card {
    border-width: 2px !important;
  }
}

/* Dark theme content sections for better readability */
[data-theme="dark"] .content {
  color: var(--text-secondary);
}

[data-theme="dark"] .content h2,
[data-theme="dark"] .content h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .content ul li {
  color: var(--text-secondary);
}

[data-theme="dark"] .content strong {
  color: var(--text-primary);
}

/* Ensure main content areas have proper backgrounds */
[data-theme="dark"] section {
  background-color: var(--bg-primary);
}

[data-theme="dark"] .py-5 {
  background-color: var(--bg-primary);
}

/* Component Loading States */
[data-component] {
  min-height: 60px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

[data-component].loaded {
  opacity: 1;
}

[data-component="navbar"] {
  min-height: 76px;
}

[data-component="footer"] {
  min-height: 200px;
}

/* Loading indicator for components */
[data-component]:not(.loaded)::before {
  content: "Loading...";
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  height: 100%;
  min-height: 60px;
}

/* Hide loading text for navbar and footer during load */
[data-component="navbar"]:not(.loaded)::before,
[data-component="footer"]:not(.loaded)::before {
  content: "";
}

/* ===== WISHLIST MODAL STYLING ===== */
.modal-content {
  border-radius: 16px !important;
  border: 2px solid var(--border-color) !important;
  box-shadow: var(--shadow-large) !important;
  backdrop-filter: blur(10px);
}

.modal-header {
  border-bottom: 1px solid var(--border-color) !important;
  background: var(--bg-secondary);
}

.modal-body {
  background: var(--bg-secondary);
}

.modal-title {
  color: var(--text-primary) !important;
  font-weight: 600;
}

#wishlistModal .form-control {
  background-color: var(--bg-tertiary) !important;
  border: 2px solid var(--border-color) !important;
  color: var(--text-primary) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

#wishlistModal .form-control:focus {
  background-color: var(--bg-tertiary) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25) !important;
}

#wishlistModal .form-control::placeholder {
  color: var(--text-muted) !important;
  opacity: 0.8;
}

#wishlistModal .btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-color: var(--primary-color);
  border-radius: 8px !important;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

#wishlistModal .btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

#wishlistModal .btn-primary:disabled {
  opacity: 0.7;
  transform: none !important;
  cursor: not-allowed;
}

#wishlistModal .alert-success {
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid var(--accent-color) !important;
  color: var(--accent-dark) !important;
  border-radius: 8px !important;
}

[data-theme="dark"] #wishlistModal .alert-success {
  background: rgba(16, 185, 129, 0.15) !important;
  color: var(--accent-color) !important;
}

/* Modal backdrop */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(4px);
}

[data-theme="dark"] .modal-backdrop {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Close button styling for themes */
[data-theme="dark"] .btn-close {
  filter: invert(1) !important;
}

[data-theme="light"] .btn-close {
  filter: invert(0) !important;
}

/* Modal animation */
.modal.fade .modal-dialog {
  transform: translate(0, -50px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-dialog {
  transform: translate(0, 0) scale(1);
}

/* Responsive modal */
@media (max-width: 576px) {
  .modal-dialog {
    margin: 1rem;
  }
  
  #wishlistModal .modal-body {
    padding: 1.5rem;
  }
  
  #wishlistModal .form-control {
    font-size: 16px; /* Prevent zoom on iOS */
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  padding: 1rem 0;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-text h6 {
  color: var(--text-primary);
  font-weight: 600;
}

.cookie-text p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Cookie category styling */
.cookie-category {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-primary);
}

/* Dark theme cookie banner */
[data-theme="dark"] .cookie-banner {
  background: var(--bg-dark);
  border-top-color: var(--border-color);
}

[data-theme="dark"] .cookie-category {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

/* Responsive cookie banner */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-text {
    text-align: center;
  }
}
