@import url('https://fonts.cdnfonts.com/css/optima');


/* ===================================
   Luxury Minimal Custom Cursor Styling
====================================== */
/* src/styles/theme.css - Premium Theme System */
/* Premium Components */
/* Premium Button */
.premium-button {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: var(--font-weight-light);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  padding: 16px 42px;
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-accent-primary);
  border-radius: 0;
  position: relative;
  overflow: hidden;
  cursor: none;
  z-index: 1;
  transition: color var(--transition-medium), border-color var(--transition-medium);
}
.premium-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--color-accent-primary);
  z-index: -1;
  transition: width var(--transition-medium);
}
.premium-button:hover {
  color: var(--kelp-950);
  border-color: var(--color-accent-primary);
}
.premium-button:hover::before {
  width: 100%;
}
.premium-button.secondary {
  border-color: var(--color-text-primary);
  color: var(--color-text-primary);
}
.premium-button.secondary::before {
  background-color: var(--color-text-primary);
}
.premium-button.secondary:hover {
  color: var(--color-background-primary);
  border-color: var(--color-text-primary);
}
/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 50px;
  height: 50px;
  border: var(--border-width-thin) solid var(--color-accent-primary);
  border-radius: var(--border-radius-full);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: width var(--transition-medium), 
              height var(--transition-medium), 
              opacity var(--transition-medium),
              background-color var(--transition-medium);
  mix-blend-mode: exclusion;
}
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-secondary);
  border-radius: var(--border-radius-full);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10000;
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
}
.cursor-active {
  width: 70px;
  height: 70px;
  background-color: rgba(212, 175, 55, 0.15);
  border: var(--border-width-thin) solid var(--color-accent-secondary);
  opacity: 0.8;
}
.cursor-text {
  position: fixed;
  color: var(--color-accent-secondary);
  font-size: 12px;
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  pointer-events: none;
  z-index: 10001;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity var(--transition-fast);
}
.cursor-text.visible {
  opacity: 1;
}
/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent-primary), var(--color-accent-secondary));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
}
/* Image Hover Effects */
.hover-zoom {
  overflow: hidden;
  transition: var(--transition-medium);
  position: relative;
}
.hover-zoom::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(27, 28, 23, 0.2);
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: 1;
}
.hover-zoom:hover::after {
  opacity: 1;
}
.hover-zoom img {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-zoom:hover img {
  transform: scale(1.12) rotate(1deg);
}
/* Section Styling */
.section {
  position: relative;
  padding: var(--spacing-xxl) 5%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.section-bg-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/texture.png');
  background-size: 400px;
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
}
.section-heading {
  color: var(--color-text-primary);
  font-size: 4rem;
  font-weight: var(--font-weight-light);
  margin-bottom: var(--spacing-lg);
  position: relative;
  display: inline-block;
  letter-spacing: var(--letter-spacing-wide);
}
.section-heading::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 60px;
  height: 1px;
  background-color: var(--color-accent-primary);
  transition: width var(--transition-slow);
}
.section-heading:hover::after {
  width: 100%;
}
.section-subheading {
  color: var(--color-text-secondary);
  font-size: 1.3rem;
  line-height: var(--line-height-relaxed);
  max-width: 700px;
  margin-bottom: var(--spacing-lg);
  font-weight: var(--font-weight-light);
}
/* Media Queries */
@media (max-width: 1200px) {
  .section-heading {
    font-size: 3.5rem;
  }
}
@media (max-width: 768px) {
  .section {
    padding: var(--spacing-xl) 5%;
  }
  
  .section-heading {
    font-size: 3rem;
  }
  
  .section-subheading {
    font-size: 1.15rem;
  }
}
@media (max-width: 480px) {
  .section-heading {
    font-size: 2.5rem;
  }
  
  .section-subheading {
    font-size: 1.1rem;
  }
  
  .custom-cursor,
  .cursor-dot,
  .cursor-text {
    display: none;
  }
  
 
  
  .premium-button {
    padding: 14px 32px;
    font-size: 0.9rem;
  }
}
/* Luxury vertical line animation for section headings */
@keyframes luxuryLineReveal {
  0% { 
    height: 0; 
    opacity: 0; 
    background: linear-gradient(to bottom, transparent, var(--gold));
  }
  30% { 
    height: 15px; 
    opacity: 0.4; 
    background: linear-gradient(to bottom, transparent, var(--gold));
  }
  50% { 
    height: 20px; 
    opacity: 0.8; 
    background: linear-gradient(to bottom, rgba(var(--gold-rgb), 0.3), var(--gold));
  }
  70% { 
    height: 22px; 
    opacity: 0.9; 
    background: linear-gradient(to bottom, transparent, var(--gold));
  }
  100% { 
    height: 20px; 
    opacity: 0.7; 
    background: linear-gradient(to bottom, transparent, rgba(var(--gold-rgb), 0.8), transparent);
    box-shadow: 0 0 5px rgba(var(--gold-rgb), 0.2);
  }
}
/* Luxury pulse animation for the heading line */
@keyframes luxuryLinePulse {
  0%, 100% { 
    opacity: 0.7; 
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(var(--gold-rgb), 0.8), transparent);
  }
  50% { 
    opacity: 0.9; 
    height: 22px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.3);
  }
}
/* Apply to all heading elements with the vertical line */
.collections-heading::after,
.showcase-heading::after,
.category-heading::after,
.trending-heading::after,
.story-title::after,
.promises-heading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0;
  animation: 
    luxuryLineReveal 1.5s 0.5s forwards cubic-bezier(0.19, 1, 0.22, 1),
    luxuryLinePulse 8s 2s infinite ease-in-out;
  box-shadow: 0 0 5px rgba(var(--gold-rgb), 0.1);
  will-change: opacity, height, background;
}
/* Add a subtle diamond accent at the top of the line */
.collections-heading::before,
.showcase-heading::before,
.category-heading::before,
.trending-heading::before,
.story-title::before,
.promises-heading::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg) scale(0);
  width: 3px;
  height: 3px;
  border: 1px solid rgba(var(--gold-rgb), 0.6);
  opacity: 0;
  animation: diamondAppear 1.5s 0.8s forwards cubic-bezier(0.19, 1, 0.22, 1);
}
@keyframes diamondAppear {
  0% { transform: translateX(-50%) rotate(45deg) scale(0); opacity: 0; }
  100% { transform: translateX(-50%) rotate(45deg) scale(1); opacity: 0.8; }
}
/* Hide default cursor when custom cursor is active */
body {
  cursor: none !important;
}
a, 
button, 
.hover-element, 
[data-cursor-text],
[data-cursor-color] {
  cursor: none !important;
}
/* Main cursor dot - Refined luxury minimal design */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px; /* Slightly reduced for minimal feel */
  height: 6px;
  background: radial-gradient(circle, var(--gold) 40%, var(--gold-light) 70%, transparent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  mix-blend-mode: normal;
  opacity: 0.95;
  box-shadow: 
    0 0 8px rgba(var(--gold-rgb), 0.3),
    0 0 16px rgba(var(--gold-rgb), 0.1);
}
/* Cursor follower ring - More refined and luxury */
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px; /* Slightly reduced */
  height: 28px;
  border: 1px solid rgba(var(--kelp-600-rgb), 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 0.7;
  background: linear-gradient(135deg, 
    rgba(var(--kelp-100-rgb), 0.1), 
    rgba(var(--gold-rgb), 0.05));
  box-shadow: 
    0 0 12px rgba(var(--kelp-500-rgb), 0.08),
    inset 0 0 8px rgba(var(--gold-rgb), 0.05);
}
/* Text display for custom messages - Enhanced luxury styling */
.cursor-text {
  position: fixed;
  top: 0;
  left: 0;
  color: var(--kelp-800);
  font-size: 9px;
  font-weight: var(--font-weight-medium);
  font-family: var(--font-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  z-index: 99997;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  text-align: center;
  background: linear-gradient(135deg, 
    rgba(var(--kelp-50-rgb), 0.95), 
    rgba(var(--kelp-100-rgb), 0.9));
  /* backdrop-filter: blur(8px); */
  /* -webkit-backdrop-filter: blur(8px); */
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid rgba(var(--kelp-300-rgb), 0.2);
  box-shadow: 
    0 4px 16px rgba(var(--kelp-500-rgb), 0.1),
    0 2px 4px rgba(var(--kelp-600-rgb), 0.05);
}
/* Active state when hovering interactive elements - More subtle */
.cursor.cursor-active {
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, var(--gold-light) 30%, var(--gold) 70%);
  box-shadow: 
    0 0 12px rgba(var(--gold-rgb), 0.5),
    0 0 24px rgba(var(--gold-rgb), 0.2);
}
.cursor-follower.follower-active {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(var(--gold-rgb), 0.6);
  opacity: 0.4;
  background: radial-gradient(circle, 
    rgba(var(--gold-rgb), 0.08) 0%, 
    rgba(var(--gold-rgb), 0.15) 50%, 
    transparent 100%);
  box-shadow: 
    0 0 20px rgba(var(--gold-rgb), 0.15),
    inset 0 0 12px rgba(var(--gold-rgb), 0.08);
}
/* Down state when clicking - More refined */
.cursor.cursor-down {
  width: 5px;
  height: 5px;
  background: radial-gradient(circle, var(--gold) 20%, var(--gold-dark) 80%);
  box-shadow: 
    0 0 16px rgba(var(--gold-rgb), 0.6),
    0 0 32px rgba(var(--gold-rgb), 0.3);
}
.cursor-follower.follower-down {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(var(--gold-rgb), 0.8);
  opacity: 0.8;
  background: radial-gradient(circle, 
    rgba(var(--gold-rgb), 0.2) 0%, 
    rgba(var(--gold-rgb), 0.1) 50%, 
    transparent 100%);
}
/* Show text when needed */
.cursor-text.text-visible {
  opacity: 1;
  transform: translate(-50%, -60%); /* Slight offset for better positioning */
}
/* Media query to disable on touch devices and small screens */
@media (max-width: 768px), (pointer: coarse) {
  .cursor,
  .cursor-follower,
  .cursor-text {
    display: none;
  }
  
  body, a, button, .hover-element {
    cursor: auto !important;
  }
}
/* Enhanced zoom cursor states for image gallery */
.cursor.cursor-zoom-in,
.cursor.cursor-zoom-out {
  opacity: 0;
  width: 0;
  height: 0;
}
.cursor-follower.follower-zoom-in,
.cursor-follower.follower-zoom-out {
  width: 52px;
  height: 52px;
  border: none;
  background: transparent;
}
/* Enhanced zoom icons with luxury styling */
.cursor-follower.follower-zoom-in::before,
.cursor-follower.follower-zoom-out::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, 
    rgba(var(--kelp-800-rgb), 0.95), 
    rgba(var(--kelp-900-rgb), 0.9));
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  border-radius: 50%;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 
    0 4px 16px rgba(var(--kelp-800-rgb), 0.3),
    0 2px 8px rgba(var(--kelp-900-rgb), 0.2),
    inset 0 1px 2px rgba(var(--gold-rgb), 0.1);
}
.cursor-follower.follower-zoom-in:hover::before,
.cursor-follower.follower-zoom-out:hover::before {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 
    0 6px 20px rgba(var(--kelp-800-rgb), 0.4),
    0 3px 12px rgba(var(--kelp-900-rgb), 0.3),
    inset 0 1px 3px rgba(var(--gold-rgb), 0.2);
}
/* Luxury horizontal line (gold) */
.cursor-follower.follower-zoom-in::after,
.cursor-follower.follower-zoom-out::after {
  content: '';
  position: absolute;
  background: linear-gradient(90deg, 
    transparent, 
    var(--gold-light), 
    var(--gold), 
    var(--gold-light), 
    transparent);
  width: 12px;
  height: 1.5px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  border-radius: 1px;
  box-shadow: 0 0 4px rgba(var(--gold-rgb), 0.3);
}
/* Luxury vertical line (gold) for zoom-in only */
.cursor-follower.follower-zoom-in .zoom-vertical {
  position: absolute;
  background: linear-gradient(180deg, 
    transparent, 
    var(--gold-light), 
    var(--gold), 
    var(--gold-light), 
    transparent);
  width: 1.5px;
  height: 12px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  border-radius: 1px;
  box-shadow: 0 0 4px rgba(var(--gold-rgb), 0.3);
}
/* Enhanced animated orbit lines for luxury feel */
.cursor-orbit,
.cursor-orbit-inner {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99996;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.cursor-orbit {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(var(--kelp-500-rgb), 0.2);
  /* animation: orbit-rotation 8s linear infinite; - DISABLED FOR PERFORMANCE */
}
.cursor-orbit-inner {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  /* animation: orbit-rotation 6s linear infinite reverse; - DISABLED FOR PERFORMANCE */
}
/* Orbital accent dots */
.cursor-orbit::before, .cursor-orbit::after,
.cursor-orbit-inner::before, .cursor-orbit-inner::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(var(--gold-rgb), 0.5);
}
.cursor-orbit::before {
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}
.cursor-orbit::after {
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}
.cursor-orbit-inner::before {
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(45deg, var(--kelp-600), var(--gold));
}
.cursor-orbit-inner::after {
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(45deg, var(--gold), var(--kelp-600));
}
.cursor-orbit.active,
.cursor-orbit-inner.active {
  opacity: 0.6;
}
@keyframes orbit-rotation {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/* Enhanced gallery item cursor interaction */
.leorre-gallery-item {
  cursor: none !important;
}
/* Enhanced zoom interaction for product images */
.leorre-zoom-image-container[data-zoomable="true"] {
  cursor: none !important;
}
.leorre-zoom-image-container[data-dragging="true"] {
  cursor: none !important;
}
/* Mobile optimizations */
@media (max-width: 768px) {
  body.zoom-overlay-active .leorre-cursor-container {
    display: none;
  }
}
/* Touch device handling */
@media (hover: none) and (pointer: coarse) {
  .leorre-cursor-container {
    display: none !important;
  }
}
/* Enhanced chat button cursor styles */
.smart-chat-button,
.smart-chat-button * {
  cursor: none !important;
}
.smart-chat .cursor-follower.follower-active {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(var(--gold-rgb), 0.7);
  background: radial-gradient(circle, 
    rgba(var(--gold-rgb), 0.1) 0%, 
    rgba(var(--gold-rgb), 0.2) 50%, 
    transparent 100%);
}
.smart-chat .cursor.cursor-active {
  background: radial-gradient(circle, var(--gold) 30%, var(--gold-light) 70%);
  box-shadow: 0 0 16px rgba(var(--gold-rgb), 0.6);
}
.smart-chat .cursor-text.text-visible {
  background: linear-gradient(135deg, 
    rgba(var(--kelp-50-rgb), 0.98), 
    rgba(var(--kelp-100-rgb), 0.95));
  border-color: rgba(var(--gold-rgb), 0.3);
} /* Admin Sidebar Scroll Fixes */

/* Prevent sidebar scroll from affecting main content */
.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
  /* Let the browser handle sidebar's own overflow */
}

/* Navigation container */
.sidebar-navigation-container {
  /* Scroll behavior handled by index.css */
}

/* Mobile fixes */
@media (max-width: 1024px) {
  .admin-sidebar.open {
    transform: translateX(0);
  }
}



/* Ensure proper z-index stacking */
.admin-sidebar {
  z-index: 1000;
}

.admin-sidebar-backdrop {
  z-index: 999;
}

/* =================== ADMIN SIDEBAR - COMPACT DESIGN =================== */

/* Base sidebar container */
.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 280px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 252, 0.9) 100%
  );

  border-right: 1px solid rgba(70, 71, 61, 0.1);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 8px 16px rgba(0, 0, 0, 0.04),
    inset 0 0 0 1px rgba(212, 175, 55, 0.05);
}

/* Compact mode */
.admin-sidebar.compact {
  width: 80px;
}

/* Mobile responsive */
@media (max-width: 1024px) {
  .admin-sidebar {
    transform: translateX(-100%);
    width: 280px;
  }
  
  .admin-sidebar.open {
    transform: translateX(0);
  }
  
  .admin-sidebar.compact {
    width: 280px;
  }
}

/* Sidebar content container */
.sidebar-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header section */
.sidebar-header {
  padding: 1rem;
  border-bottom: 1px solid rgba(70, 71, 61, 0.1);
  background: rgba(255, 255, 255, 0.8);
 
  transition: all 0.3s ease;
}

.sidebar-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Navigation container */
.sidebar-navigation-container {
  flex: 1;
  padding: 0.5rem 0;
  /* Scroll behavior handled by index.css */
}

/* Navigation sections */
.nav-section {
  margin-bottom: 1rem;
}

.nav-section-title {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(70, 71, 61, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-section-title:hover {
  color: rgba(70, 71, 61, 0.8);
  background: rgba(70, 71, 61, 0.05);
}

.nav-section-title .chevron {
  transition: transform 0.2s ease;
}

.nav-section-title.expanded .chevron {
  transform: rotate(180deg);
}

/* Navigation items */
.nav-items {
  padding: 0.25rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
  transition: all 0.3s ease;
}

.nav-item-link,
.nav-item-button {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(70, 71, 61, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.nav-item-link:hover,
.nav-item-button:hover {
  background: rgba(70, 71, 61, 0.08);
  color: rgba(70, 71, 61, 0.9);
  transform: translateX(2px);
}

.nav-item-link.active,
.nav-item-button.active {
  background: linear-gradient(135deg, #46473d, #6d6e5e);
  color: white;
  box-shadow: 0 4px 12px rgba(70, 71, 61, 0.2);
}

.nav-item-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-item-link:hover .nav-item-icon,
.nav-item-button:hover .nav-item-icon {
  transform: scale(1.1);
}

.nav-item-text {
  flex: 1;
  font-size: 0.75rem;
}

.nav-item-badge {
  padding: 0.125rem 0.375rem;
  border-radius: 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: white;
  background: #d4af37;
  margin-left: 0.5rem;
}

.nav-item-chevron {
  width: 0.75rem;
  height: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-item-button.expanded .nav-item-chevron {
  transform: rotate(90deg);
}

/* Sub-items */
.nav-sub-items {
  margin-left: 1rem;
  margin-top: 0.25rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(70, 71, 61, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.nav-sub-item {
  padding: 0.375rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  color: rgba(70, 71, 61, 0.6);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.nav-sub-item:hover {
  background: rgba(70, 71, 61, 0.08);
  color: rgba(70, 71, 61, 0.9);
  transform: translateX(2px);
}

.nav-sub-item.active {
  background: rgba(70, 71, 61, 0.15);
  color: #46473d;
  font-weight: 500;
  border-left: 2px solid #d4af37;
  padding-left: 0.75rem;
}

.nav-sub-item.active::before {
  content: '';
  position: absolute;
  left: -0.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.25rem;
  height: 0.25rem;
  background: #d4af37;
  border-radius: 50%;
  /* animation: pulse 2s infinite; - DISABLED FOR PERFORMANCE */
}

/* Compact mode adjustments */
.admin-sidebar.compact .nav-section-title {
  padding: 0.5rem;
  justify-content: center;
}

.admin-sidebar.compact .nav-section-title span {
  display: none;
}

.admin-sidebar.compact .nav-items {
  padding: 0.25rem;
}

.admin-sidebar.compact .nav-item-link,
.admin-sidebar.compact .nav-item-button {
  padding: 0.5rem;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.admin-sidebar.compact .nav-item-icon {
  margin-right: 0;
  margin-bottom: 0.25rem;
}

.admin-sidebar.compact .nav-item-text {
  font-size: 0.625rem;
  line-height: 1;
}

.admin-sidebar.compact .nav-item-badge {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
}

.admin-sidebar.compact .nav-sub-items {
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 0;
  padding-left: 0.5rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(70, 71, 61, 0.1);
  min-width: 200px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.admin-sidebar.compact .nav-item:hover .nav-sub-items {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Footer section */
.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid rgba(70, 71, 61, 0.1);
  background: rgba(255, 255, 255, 0.8);
  /* backdrop-filter: blur(8px); */
  /* -webkit-backdrop-filter: blur(8px); */
}

/* User profile */
.user-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, 
    rgba(70, 71, 61, 0.05) 0%,
    rgba(109, 110, 94, 0.05) 100%
  );
  border: 1px solid rgba(70, 71, 61, 0.1);
  margin-bottom: 0.75rem;
}

.user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #46473d, #6d6e5e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.875rem;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #46473d;
  margin: 0;
  line-height: 1.2;
}

.user-email {
  font-size: 0.6875rem;
  color: rgba(70, 71, 61, 0.6);
  margin: 0;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-status {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #10b981;
  /* animation: pulse 2s infinite; - DISABLED FOR PERFORMANCE */
}

/* Sign out button */
.sign-out-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 0.5rem;
  background: none;
  color: rgba(70, 71, 61, 0.7);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sign-out-button:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.sign-out-button .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.sign-out-button:hover .icon {
  transform: scale(1.1);
}

/* Compact mode footer adjustments */
.admin-sidebar.compact .user-profile {
  padding: 0.5rem;
  justify-content: center;
}

.admin-sidebar.compact .user-info {
  display: none;
}

.admin-sidebar.compact .user-avatar {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.75rem;
}

.admin-sidebar.compact .sign-out-button {
  padding: 0.5rem;
  justify-content: center;
  flex-direction: column;
}

.admin-sidebar.compact .sign-out-button span {
  display: none;
}

/* Search functionality */
.search-container {
  margin-top: 0.75rem;
}

.search-input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2rem;
  border: 1px solid rgba(70, 71, 61, 0.1);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  background: rgba(70, 71, 61, 0.05);
  color: #46473d;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  background: white;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.875rem;
  height: 0.875rem;
  color: rgba(70, 71, 61, 0.4);
}

.search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.875rem;
  height: 0.875rem;
  color: rgba(70, 71, 61, 0.4);
  cursor: pointer;
  transition: color 0.2s ease;
}

.search-clear:hover {
  color: rgba(70, 71, 61, 0.8);
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

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

/* Responsive design */
@media (max-width: 1024px) {
  .admin-sidebar {
    width: 280px;
  }
  
  .admin-sidebar.compact {
    width: 280px;
  }
  
  .admin-sidebar.compact .nav-sub-items {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    box-shadow: none;
    border: none;
    margin-left: 1rem;
    padding-left: 0.75rem;
    border-left: 2px solid rgba(70, 71, 61, 0.1);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .admin-sidebar,
  .nav-item-link,
  .nav-item-button,
  .nav-sub-item,
  .sign-out-button {
    transition: none;
  }
  
  .nav-item-link:hover,
  .nav-item-button:hover,
  .nav-sub-item:hover {
    transform: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .admin-sidebar {
    border-right: 2px solid #46473d;
  }
  
  .nav-item-link.active,
  .nav-item-button.active {
    border: 2px solid #46473d;
  }
  
  .nav-sub-item.active {
    border-left: 3px solid #d4af37;
  }
} .upload-button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.upload-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: #f4e1d2;
  color: #714d38;
  border: 2px solid #714d38;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.upload-button__icon {
  margin-right: 8px;
}

.upload-button--required {
  background-color: #f4e1d2;
  color: #714d38;
}

.upload-button--default {
  background-color: #714d38;
  color: #ffffff;
}

.upload-button:hover {
  background-color: #714d38;
  color: #ffffff;
}

.upload-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.upload-progress__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.upload-progress__spinner {
  position: relative;
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
}

.upload-progress__text {
  font-size: 14px;
  color: #714d38;
}

.upload-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
}

.upload-preview__image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #714d38;
}

.upload-preview__name {
  margin-top: 8px;
  font-size: 14px;
  color: #714d38;
  text-align: center;
}

.upload-preview__remove {
  margin-top: 8px;
  background: none;
  border: none;
  color: #714d38;
  cursor: pointer;
}

.upload-preview__remove:hover {
  color: #d9534f;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}.ticket-management {
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #eee;
}

.ticket-header h2 {
  color: #333;
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}

.ticket-stats {
  background: #f8f9fa;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  color: #666;
}

.ticket-filters {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.search-input, .filter-select {
  padding: 10px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  min-width: 180px;
  transition: border-color 0.3s ease;
}

.search-input:focus, .filter-select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.ticket-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  height: calc(100vh - 300px);
}

.tickets-list {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ticket-item {
  padding: 20px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.ticket-item:hover {
  background: #f8f9fa;
  transform: translateX(3px);
}

.ticket-item.selected {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
}

.ticket-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.ticket-number {
  font-family: 'Courier New', monospace;
  font-weight: bold;
  color: #333;
  background: #f0f0f0;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.ticket-badges {
  display: flex;
  gap: 8px;
}

.status-badge, .priority-badge {
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.status-open { background: #fff3cd; color: #856404; }
.status-badge.status-progress { background: #cce5ff; color: #004085; }
.status-badge.status-waiting { background: #ffe6cc; color: #cc6600; }
.status-badge.status-resolved { background: #d4edda; color: #155724; }
.status-badge.status-closed { background: #e2e3e5; color: #495057; }
.status-badge.status-escalated { background: #f8d7da; color: #721c24; }

.priority-badge.priority-low { background: #d1ecf1; color: #0c5460; }
.priority-badge.priority-normal { background: #d4edda; color: #155724; }
.priority-badge.priority-high { background: #fff3cd; color: #856404; }
.priority-badge.priority-urgent { background: #f8d7da; color: #721c24; }

.ticket-item-content h4 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.ticket-type {
  color: #666;
  font-size: 13px;
  margin: 0 0 10px 0;
  font-weight: 500;
}

.ticket-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #888;
}

.ticket-meta span {
  display: block;
}

.loading, .no-tickets, .no-ticket-selected {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: #666;
  font-style: italic;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-top: 1px solid #eee;
  background: #f8f9fa;
  margin-top: auto;
}

.pagination-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-info {
  color: #666;
  font-weight: 500;
}

.ticket-details {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: auto;
}

.ticket-details-content {
  padding: 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ticket-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 2px solid #eee;
}

.ticket-details-header h3 {
  margin: 0;
  color: #333;
  font-family: 'Courier New', monospace;
  font-size: 18px;
}

.status-select {
  padding: 8px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-weight: 500;
}

.ticket-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

.info-row {
  margin-bottom: 10px;
  color: #333;
}

.info-row strong {
  display: inline-block;
  width: 100px;
  color: #555;
}

.ticket-subject {
  background: #fff3cd;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #ffc107;
}

.ticket-subject h4 {
  margin: 0;
  color: #856404;
}

.ticket-description {
  background: #e7f3ff;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #2196f3;
}

.ticket-description h4 {
  margin: 0 0 10px 0;
  color: #1976d2;
}

.ticket-description p {
  margin: 0;
  color: #333;
  line-height: 1.5;
  white-space: pre-wrap;
}

.ticket-responses {
  flex: 1;
  min-height: 0;
}

.ticket-responses h4 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 16px;
}

.responses-list {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #f8f9fa;
}

.response-item {
  padding: 15px;
  border-bottom: 1px solid #eee;
  background: white;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.response-item.admin {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
}

.response-item.customer {
  background: #f3e5f5;
  border-left: 4px solid #9c27b0;
}

.response-item.system {
  background: #e8f5e8;
  border-left: 4px solid #4caf50;
}

.response-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
}

.response-author {
  font-weight: 600;
  color: #333;
}

.response-date {
  color: #666;
}

.response-type {
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 10px;
}

.response-type.admin { background: #2196f3; color: white; }
.response-type.customer { background: #9c27b0; color: white; }
.response-type.system { background: #4caf50; color: white; }

.response-message {
  color: #333;
  line-height: 1.5;
  white-space: pre-wrap;
}

.reply-form {
  border-top: 2px solid #eee;
  padding-top: 20px;
}

.reply-form h4 {
  margin: 0 0 15px 0;
  color: #333;
}

.reply-textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  resize: vertical;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.3s ease;
}

.reply-textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.reply-btn {
  margin-top: 15px;
  padding: 12px 24px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.reply-btn:hover:not(:disabled) {
  background: #0056b3;
  transform: translateY(-1px);
}

.reply-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .ticket-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .ticket-details {
    max-height: 600px;
  }
}

@media (max-width: 768px) {
  .ticket-management {
    padding: 15px;
  }
  
  .ticket-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-input, .filter-select {
    min-width: auto;
    width: 100%;
  }
  
  .ticket-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .ticket-details-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .ticket-badges {
    flex-wrap: wrap;
  }
  
  .ticket-meta {
    flex-direction: column;
  }
} /* ==== LUXURY AUTHENTICATION STYLING ==== */

/* Base container - Use Kelp gradient */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 1.5rem) 0 1.5rem;
  /* Use Kelp gradient for background */
  background: linear-gradient(135deg, var(--kelp-50), var(--kelp-100));
  position: relative;
  overflow-x: hidden;
  perspective: 1200px;
  box-sizing: border-box;
}

/* Subtle pattern overlay */
.auth-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(var(--kelp-200-rgb), 0.05), /* Softer pattern */
      rgba(var(--kelp-200-rgb), 0.05) 1px,
      transparent 1px,
      transparent 15px /* Wider spacing */
    );
  opacity: 0.5;
  z-index: 0;
}

/* Auth wrapper */
.auth-wrapper {
  position: relative;
  width: 850px;
  max-width: 92%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

/* Decorative image container */
.auth-image-container {
  position: absolute;
  width: 450px;
  height: 450px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.08),
    0 5px 15px rgba(0, 0, 0, 0.03);
  clip-path: polygon(
    0 0,
    calc(100% - 15px) 0,
    100% 15px,
    100% 100%,
    15px 100%,
    0 calc(100% - 15px)
  );
  transform: translateX(-140px);
  z-index: 0;
  transition: all 0.8s cubic-bezier(0.17, 0.67, 0.35, 1.2);
}

/* Sign-up image position adjustment */
.signup-container .auth-image-container {
  transform: translateX(-140px);
}

/* Image styling */
.auth-decoration-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  opacity: 0.85;
  transition: all 1.2s ease;
  /* animation: luxuryImageFloat 15s ease-in-out infinite; - DISABLED FOR PERFORMANCE */
}

/* Image transition when leaving */
.page-leave .auth-decoration-image {
  transform: scale(1.1);
  filter: blur(3px);
}

/* Overlay gradient on image */
.auth-image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(var(--kelp-900-rgb), 0.3),
    rgba(var(--gold-rgb), 0.2)
  );
  z-index: 1;
  /* animation: luxuryImageGradient 8s ease-in-out infinite; - DISABLED FOR PERFORMANCE */
}

/* Elegant floating auth box */
.auth-box {
  width: 420px;
  max-width: 92%;
  position: relative;
  /* Use lighter kelp for box background */
  background: linear-gradient(145deg, rgba(var(--kelp-50-rgb), 0.9), rgba(var(--kelp-100-rgb), 0.85));
  /* backdrop-filter: blur(12px);
  -webkit-/* backdrop-filter: blur(12px);
  box-shadow:
    0 25px 55px rgba(50, 50, 93, 0.1),
    0 8px 15px rgba(0, 0, 0, 0.04),
    inset 0 0 0 1px rgba(var(--gold-rgb), 0.1),
    0 0 30px rgba(180, 190, 210, 0.1);
  padding: 25px 30px 25px;
  border-radius: 2px;
  /* Distinctive angled corners */
  clip-path: polygon(
    0 0,
    calc(100% - 15px) 0,
    100% 15px,
    100% 100%,
    15px 100%,
    0 calc(100% - 15px)
  );
  transform-style: preserve-3d;
  transform: translateX(100px);
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
  z-index: 2;
}

/* Make sign-in box slightly narrower */
.auth-box.signin-box {
  width: 420px;
}

/* Make sign-up box slightly wider and taller for big screens */
.auth-box.signup-box {
  width: 420px;
  transform: translateX(100px);
}

/* 3D rotation only for form containers during transitions */
.auth-box.page-leave {
  transform: rotateY(-90deg) translateZ(50px) !important;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.47, 0, 0.745, 0.715);
}

.auth-box.page-enter {
  transform: rotateY(90deg) translateZ(50px) !important;
  opacity: 0;
}

/* Entry animations */
@keyframes authBoxEntry {
  from {
    opacity: 0;
    transform: translateX(100px) rotateY(-15deg);
  }
  to {
    opacity: 1;
    transform: translateX(100px) rotateY(0);
  }
}

@keyframes authSignupBoxEntry {
  from {
    opacity: 0;
    transform: translateX(100px) rotateY(-15deg);
  }
  to {
    opacity: 1;
    transform: translateX(100px) rotateY(0);
  }
}

/* Apply animations */
.auth-box.signin-box:not(.page-leave):not(.page-enter) {
  animation: authBoxEntry 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.auth-box.signup-box:not(.page-leave):not(.page-enter) {
  animation: authSignupBoxEntry 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Decorative corner diamonds */
.corner-diamond {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(var(--gold-rgb), 0.8);
  transform: rotate(45deg);
  z-index: 3;
}

.corner-diamond.top-left {
  top: -4px;
  left: -4px;
}

.corner-diamond.top-right {
  top: -4px;
  right: -4px;
}

.corner-diamond.bottom-left {
  bottom: -4px;
  left: -4px;
}

.corner-diamond.bottom-right {
  bottom: -4px;
  right: -4px;
}

/* Logo styling */
.auth-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
}

/* Keep vertical line between logo and content */
.auth-logo::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 20px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.7;
}

.auth-logo-icon {
  color: var(--gold);
  width: 32px;
  height: 32px;
}

/* Hide logo text completely */
.auth-logo-text {
  display: none;
}

/* Update title with shiny effect */
.auth-title {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: var(--font-weight-light);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: lowercase;
  color: var(--kelp-900);
  margin: 0;
  /* Add shiny text effect to title */
  background: var(--text-shine-gradient);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  /* animation: textShine 4s linear infinite; - DISABLED FOR PERFORMANCE */
}

@keyframes textShine {
  to {
    background-position: 200% center;
  }
}

/* Header styling */
.auth-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  text-align: center;
}

.auth-security-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: rgba(var(--kelp-100-rgb), 0.5);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: var(--header-text-size);
  font-weight: var(--font-weight-medium);
  color: var(--kelp-800);
}

/* Error message styling */
.auth-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background-color: rgba(220, 38, 38, 0.1);
  color: rgb(185, 28, 28);
  padding: 12px 15px;
  border-radius: 2px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.auth-error p {
  margin: 0;
  line-height: 1.4;
}

/* Form styling */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative; /* Make fields a positioning context */
}

.auth-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  color: var(--kelp-700);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ==== LUXURY INPUT FIELD STYLING ==== */
.auth-input {
  width: 100%;
  padding: 12px 18px 12px 28px; /* Extra padding on left for line */
  font-size: 0.85rem;
  font-family: var(--font-primary);
  color: var(--kelp-900);
  background: rgba(var(--kelp-50-rgb), 0.8);
  /* backdrop-filter: blur(4px);
  border: none; /* Remove all borders */
  border-radius: 0;
  box-shadow: 
    inset 2px 0 0 rgba(var(--kelp-300-rgb), 0.2), /* Thinner, more subtle left border */
    0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
}

.auth-input:focus {
  outline: none;
  background: rgba(var(--kelp-50-rgb), 0.9);
  box-shadow: 
    inset 2px 0 0 var(--gold), /* Thinner gold border on focus */
    0 4px 20px rgba(var(--gold-rgb), 0.08);
  animation: inputFocusGlow 1.2s ease-out;
}

/* Filled state - use kelp color for left border */
.auth-input:not(:-moz-placeholder-shown):not(:focus) {
  box-shadow: inset 2px 0 0 rgba(var(--kelp-500-rgb), 0.5);
  background: rgba(var(--kelp-50-rgb), 0.95);
}
.auth-input:not(:placeholder-shown):not(:focus) {
  box-shadow: inset 2px 0 0 rgba(var(--kelp-500-rgb), 0.5);
  background: rgba(var(--kelp-50-rgb), 0.95);
}

/* Custom field validation styling */
.auth-input:invalid:not(:-moz-placeholder-shown):not(:focus) {
  box-shadow: inset 2px 0 0 rgba(220, 38, 38, 0.7);
  background: rgba(254, 226, 226, 0.4);
}
.auth-input:invalid:not(:placeholder-shown):not(:focus) {
  box-shadow: inset 2px 0 0 rgba(220, 38, 38, 0.7);
  background: rgba(254, 226, 226, 0.4);
}

.auth-field {
  position: relative;
}

/* Style for validation message */
.auth-input:invalid:not(:-moz-placeholder-shown):not(:focus) + .validation-message {
  display: block;
}
.auth-input:invalid:not(:placeholder-shown):not(:focus) + .validation-message {
  display: block;
}

.validation-message {
  display: none;
  position: absolute;
  bottom: -18px;
  left: 0;
  font-size: 0.7rem;
  color: rgb(185, 28, 28);
  animation: fadeIn 0.3s ease;
}

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

/* Password visibility toggle refinement */
.password-visibility-toggle {
  position: absolute;
  right: 120px; /* Adjusted for indicator spacing */
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  color: var(--kelp-600);
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
}

.password-visibility-toggle:hover {
  color: var(--kelp-900);
  transform: translateY(-50%) scale(1.1);
}

.password-visibility-toggle:active {
  transform: translateY(-50%) scale(0.95);
}

/* ==== ENHANCED PASSWORD INDICATOR & TOGGLE ==== */

/* Create a wrapper for the password input and its indicator */
.password-input-wrapper {
  position: relative;
  width: 100%;
}

/* Input needs padding for TWO icons now */
.password-input-wrapper .auth-input {
  padding-right: 155px;
  width: 100%;
  box-sizing: border-box;
}

/* Refined In-field password indicator */
.password-inline-indicator {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.65rem;
  padding: 3px 9px;
  border-radius: 10px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  background: rgba(var(--kelp-50-rgb), 0.6); /* Use kelp base */

}

/* Status colors - applied to border and text/icon */
.password-inline-indicator.visible { opacity: 1; }
.password-inline-indicator.empty { display: none; }

.password-inline-indicator.missing {
  color: var(--kelp-700);
  border: 1px solid rgba(var(--kelp-300-rgb), 0.4);
}
.password-inline-indicator.very-weak,
.password-inline-indicator.weak {
  color: #c0392b;
  border: 1px solid rgba(231, 76, 60, 0.3);
}
.password-inline-indicator.fair {
  color: #d35400;
  border: 1px solid rgba(241, 196, 15, 0.3);
}
.password-inline-indicator.good,
.password-inline-indicator.strong {
  color: var(--accent-olive);
  border: 1px solid rgba(var(--accent-olive-rgb), 0.3);
}

/* Custom SVG icons */
.password-inline-indicator::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: opacity(0.8);
}

/* Update icon colors to match text */
.password-inline-indicator.missing::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2346473d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
}
.password-inline-indicator.very-weak::before,
.password-inline-indicator.weak::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c0392b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'%3E%3C/path%3E%3Cline x1='12' y1='9' x2='12' y2='13'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'%3E%3C/line%3E%3C/svg%3E");
}
.password-inline-indicator.fair::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d35400' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'%3E%3C/path%3E%3Cline x1='9' y1='9' x2='9.01' y2='9'%3E%3C/line%3E%3Cline x1='15' y1='9' x2='15.01' y2='9'%3E%3C/line%3E%3C/svg%3E");
}
.password-inline-indicator.good::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235c6c3e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
}
.password-inline-indicator.strong::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235c6c3e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'%3E%3C/path%3E%3C/svg%3E");
}

/* Add subtle animation for indicator appearance */
@keyframes indicatorAppear {
  0% { opacity: 0; transform: translateY(-50%) translateX(10px); }
  100% { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.password-inline-indicator.visible {
  opacity: 1;
  animation: indicatorAppear 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .password-input-wrapper .auth-input {
    padding-right: 130px;
  }
  .password-visibility-toggle {
    right: 105px;
  }
  .password-inline-indicator {
    font-size: 0.6rem;
    padding: 2px 6px;
    right: 8px;
  }
  .auth-title {
    font-size: 0.65rem;
  }
}

/* ==== LUXURIOUS BUTTON STYLING ==== */
.auth-button {
  display: inline-flex; /* Use flex for alignment */
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid transparent; /* Start with transparent border */
  border-radius: 2px;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wide);
  cursor: pointer;
  position: relative; /* For the vertical line */
  overflow: hidden; /* For potential hover effects */
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  margin-top: 8px;

  /* Darker kelp background, gold text by default */
  background: linear-gradient(135deg, var(--kelp-900), var(--kelp-950));
  color: var(--gold-light);
  box-shadow: 0 4px 10px rgba(var(--kelp-900-rgb), 0.15),
              0 1px 3px rgba(0,0,0,0.1);
}

/* Enhanced vertical line accent */
.auth-button::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px; /* Line width */
  height: 65%; /* Line height */
  background: linear-gradient(to bottom, var(--gold-light), var(--gold), var(--gold-light));
  border-radius: 0 2px 2px 0;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.4);
}

/* Hover state - make it slightly lighter tone */
.auth-button:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--kelp-800), var(--kelp-900));
  color: var(--gold);
  box-shadow: 0 6px 15px rgba(var(--kelp-900-rgb), 0.2),
              0 2px 5px rgba(0,0,0,0.15);
  transform: translateY(-1px) scale(1.02); /* Subtle expansion */
}

/* Active state */
.auth-button:active:not(:disabled) {
  transform: translateY(0px) scale(0.98); /* Press down & contract */
  box-shadow: 0 2px 5px rgba(var(--kelp-900-rgb), 0.15),
              0 1px 2px rgba(0,0,0,0.1);
}

/* Disabled state */
.auth-button:disabled {
  background: linear-gradient(135deg, var(--kelp-300), var(--kelp-400));
  color: var(--kelp-600);
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.7;
}

.auth-button:disabled::before {
  background-color: var(--kelp-500);
  box-shadow: none;
}

/* Social login section */
.auth-social-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: var(--kelp-500);
  font-size: 0.8rem;
}

.auth-social-divider::before,
.auth-social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: rgba(var(--kelp-300-rgb), 0.3);
}

.auth-social-divider span {
  padding: 0 15px;
}

.auth-social-buttons {
  display: flex;
  gap: 15px;
}

.auth-social-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 15px;
  background-color: white;
  border: 1px solid rgba(var(--kelp-300-rgb), 0.3);
  border-radius: 2px;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  color: var(--kelp-800);
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-social-button:hover {
  background-color: rgba(var(--kelp-50-rgb), 0.8);
  border-color: rgba(var(--kelp-400-rgb), 0.4);
}

.auth-social-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Alternate action link */
.auth-alternate {
  text-align: center;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--kelp-600);
}

.auth-text-button {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: var(--gold-dark);
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
}

.auth-text-button:hover {
  color: var(--gold);
  text-decoration: underline;
}

.auth-text-button:disabled {
  color: var(--kelp-400);
  cursor: not-allowed;
  text-decoration: none;
}

/* Lockout timer */
.auth-lockout {
  background-color: rgba(var(--kelp-100-rgb), 0.5);
  padding: 15px;
  border-radius: 2px;
  margin-bottom: 20px;
  text-align: center;
}

.auth-lockout p {
  margin: 0 0 10px 0;
  font-size: 0.85rem;
  color: var(--kelp-800);
}

.auth-lockout-timer {
  font-weight: var(--font-weight-medium);
  color: var(--kelp-900) !important;
}

/* Password reset success message */
.auth-reset-success {
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.auth-reset-icon {
  color: var(--gold);
  margin-bottom: 20px;
  /* animation: pulseGlow 2s infinite ease-in-out; - DISABLED FOR PERFORMANCE */
}

@keyframes pulseGlow {
  0%, 100% { 
    filter: drop-shadow(0 0 2px rgba(var(--gold-rgb), 0.3));
    transform: scale(1);
  }
  50% { 
    filter: drop-shadow(0 0 5px rgba(var(--gold-rgb), 0.5));
    transform: scale(1.05);
  }
}

/* Responsive adjustments */
@media (min-width: 1600px) {
  .auth-wrapper {
    width: 1100px;
  }
  
  .auth-image-container {
    width: 560px;
    height: 560px;
    transform: translateX(-200px);
  }
  
  .signup-container .auth-image-container {
    transform: translateX(-210px);
  }
  
  .auth-box {
    width: 500px;
    transform: translateX(160px);
  }
  
  .auth-box.signin-box {
    width: 480px;
  }
  
  .auth-box.signup-box {
    width: 530px;
    transform: translateX(180px);
  }
  
  @keyframes authBoxEntry {
    from {
      opacity: 0;
      transform: translateX(160px) rotateY(-15deg);
    }
    to {
      opacity: 1;
      transform: translateX(160px) rotateY(0);
    }
  }
  
  @keyframes authSignupBoxEntry {
    from {
      opacity: 0;
      transform: translateX(180px) rotateY(-15deg);
    }
    to {
      opacity: 1;
      transform: translateX(180px) rotateY(0);
    }
  }
}

@media (max-width: 1100px) {
  .auth-wrapper {
    width: 800px;
  }
  
  .auth-image-container {
    width: 440px;
    height: 440px;
    transform: translateX(-120px);
  }
  
  .signup-container .auth-image-container {
    transform: translateX(-130px);
  }
  
  .auth-box {
    width: 400px;
    transform: translateX(80px);
  }
  
  .auth-box.signin-box {
    width: 380px;
  }
  
  .auth-box.signup-box {
    width: 420px;
    transform: translateX(100px);
  }
  
  /* Strength overlay moves below */
  .password-strength-overlay {
    left: 50%;
    top: calc(100% + 15px); /* Position below the entire auth-box */
    transform: translateX(-50%) translateY(10px);
    width: 90%;
    max-width: 400px;
  }
  
  .password-strength-overlay.active {
    transform: translateX(-50%) translateY(0);
  }
  
  /* Requirements overlay remains absolutely positioned below its field */
  /* No change needed here unless it overlaps the strength overlay */
}

@media (max-width: 768px) {
  .auth-container {
    padding: calc(var(--header-height) + 1rem) 0 0; /* Add padding from header */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }
  
  .auth-wrapper {
    width: 100%;
    flex-direction: column;
    height: 100vh; /* Use full viewport height */
    margin: 0; /* Remove any margins */
    align-items: center;
  }
  
  .auth-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35vh;
    transform: none !important;
  }
  
  .auth-decoration-image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
  }
  
  .auth-box {
    margin-top: 30vh; /* Position relative to image height */
    position: relative;
    z-index: 5;
  }
  
  .auth-box.signin-box, 
  .auth-box.signup-box {
    width: 90%;
    transform: none !important;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Adjust animations for mobile */
  @keyframes authBoxEntry {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes authSignupBoxEntry {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .auth-box.signin-box:not(.page-leave):not(.page-enter),
  .auth-box.signup-box:not(.page-leave):not(.page-enter) {
    animation: authBoxEntry 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }
  
  /* Both overlays become relative/static on mobile */
  .password-strength-overlay,
  .auth-requirements-overlay {
    position: relative; /* Change to relative for stacking */
    width: 100%;
    left: 0;
    top: 0;
    transform: none; /* Reset transform */
    margin-top: 0; /* Reset margin, handled by active state */
    opacity: 0;
    max-height: 0; /* Collapse height */
    overflow: hidden;
    padding: 0; /* Reset padding */
    transition: opacity 0.4s ease, max-height 0.4s ease, margin-top 0.4s ease;
    /* Reset styles from absolute positioning */
    box-shadow: none;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: auto; /* Reset z-index */
  }
  
  .password-strength-overlay.active,
  .auth-requirements-overlay.active {
    opacity: 1;
    max-height: 300px; /* Allow height to expand */
    margin-top: var(--spacing-sm); /* Add margin when active */
  }
  
   /* Re-apply background for strength overlay content on mobile */
   .password-strength-overlay.active .password-strength {
     background-color: rgba(var(--kelp-100-rgb), 0.5);
     padding: var(--spacing-sm);
     border-radius: var(--border-radius-md);
   }

  /* Re-apply background for requirements overlay content on mobile */
  .auth-requirements-overlay.active .auth-requirements {
     background-color: rgba(var(--kelp-100-rgb), 0.5);
     padding: var(--spacing-sm);
     border-radius: var(--border-radius-md);
   }

  .auth-requirements ul {
    gap: 4px 8px;
    justify-content: flex-start;
  }
  .auth-requirements li {
     flex-basis: auto;
     background: transparent;
     padding: 2px 0;
  }
   .auth-requirements li.requirement-met {
     background: transparent;
   }

  /* Hide logo text on mobile, keep only icon */
  .auth-logo-text {
    display: none;
  }
  
  .auth-logo-icon {
    width: 32px;
    height: 32px;
  }
  
  .auth-title {
    font-size: 0.75rem;
  }
}

/* Further refinements for small mobile screens */
@media (max-width: 480px) {
  .auth-image-container {
    height: 30vh;
  }
  
  .auth-box {
    width: 92%;
    padding: 22px 18px;
    margin-bottom: 3vh;
  }
  
  /* Ensure password visibility toggle and indicator positioning is correct */
  .password-input-wrapper .auth-input {
    padding-right: 130px;
  }
  
  .password-visibility-toggle {
    right: 105px;
  }
  
  .password-inline-indicator {
    font-size: 0.6rem;
    padding: 2px 6px;
    right: 8px;
  }
  
  .auth-title {
    font-size: 0.65rem;
  }
  
  .auth-security-badge {
    font-size: var(--header-text-size-mobile);
    padding: 3px 7px;
  }
  
  .auth-input {
    padding: 8px 10px;
    font-size: 0.75rem;
  }
  
  .auth-button {
    padding: 9px 16px;
    font-size: 0.75rem;
  }
  
  .auth-social-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .auth-social-button {
    width: 100%;
    padding: 8px 15px;
  }

  /* Reduce overall form field sizes */
  .auth-field {
    gap: 4px;
  }
  
  .auth-label {
    font-size: 0.7rem;
  }
}

/* Animation for form fields on page load */
.auth-field {
  opacity: 0;
  transform: translateY(20px);
  animation: fieldFadeIn 0.5s ease forwards;
}

.auth-field:nth-child(1) { animation-delay: 0.2s; }
.auth-field:nth-child(2) { animation-delay: 0.3s; }
.auth-field:nth-child(3) { animation-delay: 0.4s; }
.auth-button { 
  opacity: 0;
  transform: translateY(20px);
  animation: fieldFadeIn 0.5s ease forwards;
  animation-delay: 0.6s; 
}
.auth-alternate { 
  opacity: 0;
  transform: translateY(20px);
  animation: fieldFadeIn 0.5s ease forwards;
  animation-delay: 0.7s; 
}
.auth-social-divider,
.auth-social-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation: fieldFadeIn 0.5s ease forwards;
}
.auth-social-divider { animation-delay: 0.65s; }
.auth-social-buttons { animation-delay: 0.7s; }

@keyframes fieldFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Auth links styling - Make 2 rows instead of inline */
.auth-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  text-align: center;
}

.auth-text-button {
  font-size: var(--header-text-size);
  color: var(--kelp-900);
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
}

.auth-text-button:hover {
  color: var(--gold);
}

/* ===== LUXURIOUS IMAGE ANIMATIONS ===== */
@keyframes luxuryImageFloat {
  0%, 100% {
    transform: scale(1) translate(0, 0);
  }
  25% {
    transform: scale(1.02) translate(-5px, 5px);
  }
  50% {
    transform: scale(1.05) translate(0, -3px);
  }
  75% {
    transform: scale(1.02) translate(5px, 2px);
  }
}

@keyframes luxuryImageGradient {
  0% {
    background: linear-gradient(
      45deg,
      rgba(var(--kelp-900-rgb), 0.3),
      rgba(var(--gold-rgb), 0.2)
    );
  }
  50% {
    background: linear-gradient(
      45deg,
      rgba(var(--kelp-800-rgb), 0.3),
      rgba(var(--gold-rgb), 0.25),
      rgba(var(--kelp-900-rgb), 0.2)
    );
  }
  100% {
    background: linear-gradient(
      45deg,
      rgba(var(--kelp-900-rgb), 0.3),
      rgba(var(--gold-rgb), 0.2)
    );
  }
}

/* Overlay gradient animation on image */
.auth-image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(var(--kelp-900-rgb), 0.4),
    rgba(var(--gold-rgb), 0.2) 70%,
    rgba(var(--kelp-50-rgb), 0.1)
  );
  z-index: 1;
  /* animation: luxuryImageGradientMobile 8s ease-in-out infinite; - DISABLED FOR PERFORMANCE */
}

/* Enhanced animations for page transitions */
.auth-box.page-leave {
  transform: rotateY(-90deg) translateZ(50px) !important;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.47, 0, 0.745, 0.715);
}

.auth-box.page-enter {
  transform: rotateY(90deg) translateZ(50px) !important;
  opacity: 0;
}

@media (max-width: 768px) {
  .auth-decoration-image {
    /* animation: luxuryImageFloat 20s ease-in-out infinite; - DISABLED FOR PERFORMANCE */
  }
  
  /* Modified animations for mobile */
  .auth-box.page-leave {
    transform: translateY(30px) !important;
    opacity: 0;
    transition: all 0.5s ease;
  }
  
  .auth-box.page-enter {
    transform: translateY(-30px) !important;
    opacity: 0;
  }
}

/* Add specific mobile gradient animation */
@keyframes luxuryImageGradientMobile {
  0% {
    background: linear-gradient(
      to bottom,
      rgba(var(--kelp-900-rgb), 0.4),
      rgba(var(--gold-rgb), 0.2) 70%,
      rgba(var(--kelp-50-rgb), 0.1)
    );
  }
  50% {
    background: linear-gradient(
      to bottom,
      rgba(var(--kelp-800-rgb), 0.3),
      rgba(var(--gold-rgb), 0.25) 60%,
      rgba(var(--kelp-50-rgb), 0.15)
    );
  }
  100% {
    background: linear-gradient(
      to bottom,
      rgba(var(--kelp-900-rgb), 0.4),
      rgba(var(--gold-rgb), 0.2) 70%,
      rgba(var(--kelp-50-rgb), 0.1)
    );
  }
}

/* =================== 2FA MODAL STYLES =================== */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  /* backdrop-filter: blur(8px); */
  /* -webkit-backdrop-filter: blur(8px); */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

.auth-modal {
  background: var(--kelp-100);
  border-radius: 12px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(var(--kelp-200-rgb), 0.3);
  max-width: 360px;
  width: 100%;
  position: relative;
  animation: modalAppear 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(var(--kelp-300-rgb), 0.2);
}

.auth-modal-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(var(--kelp-200-rgb), 0.5);
}

.auth-modal-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--kelp-900);
  margin: 0;
}

.auth-modal-close {
  background: transparent;
  color: var(--kelp-600);
}

.auth-modal-close:hover {
  background: rgba(var(--kelp-200-rgb), 0.5);
  color: var(--kelp-800);
}

.auth-modal-content {
  padding: 1.25rem;
}

.auth-mfa-icon {
  color: var(--kelp-700);
}

.auth-modal-description {
  font-size: 0.8rem;
  color: var(--kelp-700);
  margin: 0.5rem 0 1.5rem 0;
}

.auth-mfa-form {
  margin-top: 0;
}

.auth-mfa-input {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(var(--kelp-400-rgb), 0.5);
  font-size: 1.1rem;
  background: var(--kelp-50);
}

.auth-mfa-input:focus {
  border-color: var(--kelp-600);
  box-shadow: 0 0 0 3px rgba(var(--kelp-600-rgb), 0.15);
  background: white;
}

.auth-mfa-input::-moz-placeholder {
  color: var(--kelp-400);
  letter-spacing: 0.25rem;
}

.auth-mfa-input::placeholder {
  color: var(--kelp-400);
  letter-spacing: 0.25rem;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Mobile responsiveness for 2FA modal */
@media (max-width: 768px) {
  .auth-modal-overlay {
    padding: 0;
  }

  .auth-modal {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    margin: 0;
  }

  .auth-modal-content {
    padding: 1rem;
    height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .auth-modal-header {
    padding: 1rem;
    position: sticky;
    top: 0;
    background: var(--kelp-50);
    z-index: 10;
  }

  .auth-mfa-input {
    font-size: 1rem;
    padding: 0.875rem 1rem;
  }
}

@media (max-width: 480px) {
  .auth-modal-content {
    padding: 0.75rem;
  }

  .auth-modal-header {
    padding: 0.75rem;
  }

  .auth-mfa-input {
    font-size: 0.9rem;
    padding: 0.75rem 0.875rem;
  }
}
/* =================== DISCOUNT MANAGEMENT STYLES =================== */

.discount-management {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  font-family: var(--font-primary);
}

/* =================== HEADER SECTION =================== */
.discount-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(var(--kelp-200-rgb), 0.3);
}

.discount-header-content h1 {
  font-size: 2rem;
  font-weight: 300;
  color: var(--kelp-900);
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.05em;
  text-transform: lowercase;
}

.discount-header-content p {
  color: var(--kelp-600);
  margin: 0;
  font-size: 0.9rem;
}

.create-discount-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--kelp-700), var(--kelp-800));
  color: var(--kelp-100);
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.create-discount-btn:hover {
  background: linear-gradient(135deg, var(--kelp-600), var(--kelp-700));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--kelp-800-rgb), 0.2);
}

/* =================== STATS SECTION =================== */
.discount-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--kelp-50);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--kelp-200-rgb), 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--kelp-200), var(--kelp-300));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kelp-700);
}

.stat-icon.active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.stat-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--kelp-900);
  margin: 0 0 0.25rem 0;
}

.stat-content p {
  font-size: 0.8rem;
  color: var(--kelp-600);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =================== ERROR MESSAGE =================== */
.discount-error {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(220, 38, 38, 0.05));
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 8px;
  color: #dc2626;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* =================== TABLE SECTION =================== */
.discount-table-container {
  background: white;
  border-radius: 8px;
  border: 1px solid rgba(var(--kelp-200-rgb), 0.3);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.discount-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.discount-table th {
  background: var(--kelp-50);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--kelp-800);
  border-bottom: 1px solid rgba(var(--kelp-200-rgb), 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.discount-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(var(--kelp-100-rgb), 0.5);
  vertical-align: middle;
}

.discount-table tr:hover {
  background: rgba(var(--kelp-50-rgb), 0.5);
}

.discount-table tr.inactive {
  opacity: 0.6;
}

/* =================== TABLE CELL STYLES =================== */
.code-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.code-text {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: var(--kelp-800);
  background: rgba(var(--kelp-100-rgb), 0.5);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--kelp-500);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: rgba(var(--kelp-200-rgb), 0.5);
  color: var(--kelp-700);
}

.description-cell {
  max-width: 200px;
}

.description-text {
  color: var(--kelp-700);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.type-cell {
  display: flex;
  align-items: center;
}

.type-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.type-badge.percentage {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.type-badge.fixed {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.value-cell {
  font-weight: 600;
  color: var(--kelp-800);
}

.min-order-cell {
  color: var(--kelp-600);
  font-size: 0.8rem;
}

.usage-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.usage-text {
  font-weight: 500;
  color: var(--kelp-800);
}

.usage-bar {
  width: 100%;
  height: 4px;
  background: rgba(var(--kelp-200-rgb), 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.usage-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--kelp-400), var(--kelp-500));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.status-cell {
  display: flex;
  align-items: center;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.active {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.status-badge.inactive {
  background: rgba(156, 163, 175, 0.1);
  color: #6b7280;
}

.expires-cell {
  font-size: 0.8rem;
  color: var(--kelp-600);
}

.expires-cell .expired {
  color: #dc2626;
}

.expires-cell .no-expiry {
  color: var(--kelp-500);
  font-style: italic;
}

.actions-cell {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.action-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--kelp-500);
}

.action-btn:hover {
  background: rgba(var(--kelp-200-rgb), 0.5);
}

.action-btn.view:hover {
  color: var(--kelp-700);
}

.action-btn.edit:hover {
  color: #3b82f6;
}

.action-btn.toggle:hover {
  color: #f59e0b;
}

.action-btn.delete:hover {
  color: #dc2626;
}

/* =================== MODAL STYLES =================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 8px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(var(--kelp-200-rgb), 0.3);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--kelp-900);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--kelp-500);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(var(--kelp-200-rgb), 0.5);
  color: var(--kelp-700);
}

/* =================== FORM STYLES =================== */
.discount-form {
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--kelp-800);
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  border: 1px solid rgba(var(--kelp-300-rgb), 0.5);
  border-radius: 6px;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--kelp-500);
  box-shadow: 0 0 0 3px rgba(var(--kelp-500-rgb), 0.1);
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--kelp-700);
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(var(--kelp-200-rgb), 0.3);
}

.btn-secondary {
  padding: 0.75rem 1.5rem;
  background: var(--kelp-100);
  color: var(--kelp-700);
  border: 1px solid rgba(var(--kelp-300-rgb), 0.5);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--kelp-200);
  border-color: var(--kelp-400);
}

.btn-primary {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--kelp-700), var(--kelp-800));
  color: var(--kelp-100);
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--kelp-600), var(--kelp-700));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--kelp-800-rgb), 0.2);
}

/* =================== USAGE MODAL STYLES =================== */
.usage-modal .modal-content {
  max-width: 500px;
}

.usage-details {
  padding: 1.5rem;
}

.usage-stat {
  text-align: center;
  margin-bottom: 2rem;
}

.usage-stat h3 {
  font-size: 0.9rem;
  color: var(--kelp-600);
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.usage-number {
  font-size: 3rem;
  font-weight: 300;
  color: var(--kelp-900);
  margin: 0 0 0.25rem 0;
}

.usage-limit {
  font-size: 0.85rem;
  color: var(--kelp-500);
  margin: 0;
}

.usage-progress {
  margin-bottom: 2rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(var(--kelp-200-rgb), 0.3);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--kelp-400), var(--kelp-500));
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-text {
  text-align: center;
  font-size: 0.8rem;
  color: var(--kelp-600);
  margin: 0;
}

.usage-info {
  background: var(--kelp-50);
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid rgba(var(--kelp-200-rgb), 0.3);
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(var(--kelp-200-rgb), 0.2);
  font-size: 0.85rem;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row span:first-child {
  color: var(--kelp-600);
  font-weight: 500;
}

.info-row span:last-child {
  color: var(--kelp-800);
}

.status-active {
  color: #10b981 !important;
  font-weight: 600;
}

.status-inactive {
  color: #6b7280 !important;
  font-weight: 600;
}

.expired {
  color: #dc2626 !important;
  font-weight: 600;
}

/* =================== LOADING STATE =================== */
.discount-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(var(--kelp-200-rgb), 0.3);
  border-top: 3px solid var(--kelp-500);
  border-radius: 50%;
  /* animation: spin 1s linear infinite; - DISABLED FOR PERFORMANCE */
  margin-bottom: 1rem;
}

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

.discount-loading p {
  color: var(--kelp-600);
  margin: 0;
  font-size: 0.9rem;
}

/* =================== RESPONSIVE DESIGN =================== */
@media (max-width: 1024px) {
  .discount-management {
    padding: 1rem;
  }
  
  .discount-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .create-discount-btn {
    align-self: flex-start;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .discount-stats {
    grid-template-columns: 1fr;
  }
  
  .discount-table {
    font-size: 0.75rem;
  }
  
  .discount-table th,
  .discount-table td {
    padding: 0.75rem 0.5rem;
  }
  
  .actions-cell {
    flex-wrap: wrap;
    gap: 0.125rem;
  }
  
  .action-btn {
    padding: 0.375rem;
  }
  
  .modal-content {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }
  
  .modal-actions {
    flex-direction: column;
  }
  
  .btn-secondary,
  .btn-primary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .discount-header-content h1 {
    font-size: 1.5rem;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .stat-icon {
    width: 40px;
    height: 40px;
  }
  
  .stat-content h3 {
    font-size: 1.25rem;
  }
  
  .discount-table th {
    font-size: 0.7rem;
  }
  
  .discount-table td {
    padding: 0.5rem 0.25rem;
  }
  
  .type-badge,
  .status-badge {
    font-size: 0.65rem;
    padding: 0.125rem 0.375rem;
  }
} 