/* Human Friendly International Auth Pages - Ultra Premium Luxury Edition */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Luxury Color Palette - Auth Specific */
  --auth-luxury-primary: #1e1b4b;
  --auth-luxury-secondary: #8b5cf6;
  --auth-luxury-accent: #06b6d4;
  --auth-luxury-gold: #f59e0b;
  --auth-luxury-success: #10b981;
  --auth-luxury-warning: #f59e0b;
  --auth-luxury-danger: #ef4444;
  --auth-pure-white: #ffffff;

  /* Sophisticated Grays - Auth Specific */
  --auth-gray-platinum: #f8fafc;
  --auth-gray-silver: #f1f5f9;
  --auth-gray-cloud: #e2e8f0;
  --auth-gray-steel: #cbd5e1;
  --auth-gray-slate: #94a3b8;
  --auth-gray-charcoal: #64748b;
  --auth-gray-gunmetal: #475569;
  --auth-gray-onyx: #334155;
  --auth-gray-obsidian: #1e293b;
  --auth-gray-void: #0f172a;

  /* Professional Shadows - Auth */
  --auth-shadow-whisper: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --auth-shadow-elegant: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --auth-shadow-luxurious: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --auth-shadow-majestic: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --auth-shadow-divine: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Luxury Gradients - Auth */
  --auth-gradient-luxury: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --auth-gradient-royal: linear-gradient(135deg, #1e1b4b 0%, #3730a3 50%, #8b5cf6 100%);
  --auth-gradient-platinum: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --auth-gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);

  /* Typography - Auth */
  --auth-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing - Auth */
  --auth-space-xs: 0.25rem;
  --auth-space-sm: 0.5rem;
  --auth-space-md: 1rem;
  --auth-space-lg: 1.5rem;
  --auth-space-xl: 2rem;
  --auth-space-2xl: 3rem;
  --auth-space-3xl: 4rem;

  /* Border Radius - Auth */
  --auth-radius-elegant: 12px;
  --auth-radius-luxurious: 16px;
  --auth-radius-divine: 24px;

  /* Transitions - Auth */
  --auth-transition-swift: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --auth-transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --auth-transition-graceful: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--auth-font-sans);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #f1f5f9 75%, #f8fafc 100%);
  color: var(--auth-gray-onyx);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Animations */
@keyframes auth-float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.7;
  }
  50% { 
    transform: translateY(-20px) rotate(10deg); 
    opacity: 1;
  }
}

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

@keyframes auth-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes auth-glow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  }
  50% { 
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
  }
}

/* Auth Hero Background */
.auth-hero-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--auth-gradient-royal);
}

.auth-hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(59, 130, 246, 0.05) 25%,
    rgba(16, 185, 129, 0.05) 50%,
    rgba(245, 158, 11, 0.05) 75%,
    rgba(239, 68, 68, 0.1) 100%
  );
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.auth-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.auth-floating-element {
  position: absolute;
  font-size: 2rem;
  opacity: 0.3;
  animation: auth-float 6s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}

.auth-floating-element.element-1 {
  top: 20%;
  right: 15%;
  animation-delay: 0s;
}

.auth-floating-element.element-2 {
  bottom: 30%;
  left: 10%;
  animation-delay: 2s;
}

.auth-floating-element.element-3 {
  top: 60%;
  right: 40%;
  animation-delay: 4s;
}

/* Main Container */
.auth-luxury-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--auth-space-xl);
  position: relative;
  z-index: 1;
}

.auth-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: var(--auth-space-3xl);
  align-items: center;
  max-width: 1400px;
  width: 100%;
}

/* Welcome Section */
.auth-welcome-section {
  color: white;
  animation: auth-fadeInUp 0.8s ease-out;
}

.welcome-content {
  max-width: 600px;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--auth-space-sm);
  background: rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(10px);
  padding: var(--auth-space-xs) var(--auth-space-md); /* Reduced padding */
  border-radius: 50px;
  font-size: 0.8rem; /* Slightly smaller */
  font-weight: 600;
  margin-bottom: var(--auth-space-md); /* Reduced from lg */
  border: 1px solid rgba(139, 92, 246, 0.3);
  animation: auth-glow 3s ease-in-out infinite;
}

.welcome-badge i {
  color: var(--auth-luxury-gold);
}

.welcome-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--auth-space-lg);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--auth-gradient-luxury);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: var(--auth-space-2xl);
  line-height: 1.6;
}
/* Reduced page height - Main container adjustments */
.auth-luxury-container {
  min-height: 85vh; /* Reduced from 100vh */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--auth-space-md) var(--auth-space-lg); /* Reduced vertical padding */
  position: relative;
  z-index: 1;
}

/* Compact welcome section */
.welcome-content {
  max-width: 600px;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--auth-space-sm);
  background: rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(10px);
  padding: var(--auth-space-xs) var(--auth-space-md); /* Reduced padding */
  border-radius: 50px;
  font-size: 0.8rem; /* Slightly smaller */
  font-weight: 600;
  margin-bottom: var(--auth-space-md); /* Reduced from lg */
  border: 1px solid rgba(139, 92, 246, 0.3);
  animation: auth-glow 3s ease-in-out infinite;
}

.welcome-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem); /* Reduced from 2rem-3rem */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--auth-space-md); /* Reduced from lg */
  letter-spacing: -0.02em;
}

.welcome-subtitle {
  font-size: 1rem; /* Reduced from 1.125rem */
  opacity: 0.9;
  margin-bottom: var(--auth-space-lg); /* Reduced from 2xl */
  line-height: 1.5; /* Tighter line height */
}

.welcome-features {
  display: flex;
  flex-direction: column;
  gap: var(--auth-space-md); /* Reduced from lg */
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--auth-space-sm); /* Reduced from md */
  font-size: 0.9rem; /* Slightly smaller */
  font-weight: 500;
}

.feature-item i {
  width: 40px; /* Reduced from 48px */
  height: 40px; /* Reduced from 48px */
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--auth-luxury-gold);
  font-size: 1.1rem; /* Reduced from 1.25rem */
}
/* Simple session notice in welcome section */
.welcome-session-notice {
  display: flex;
  align-items: center;
  gap: var(--auth-space-md);
  background: rgba(245, 158, 11, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--auth-radius-luxurious);
  padding: var(--auth-space-lg);
  margin-top: var(--auth-space-xl);
  color: white;
  animation: auth-fadeInUp 0.6s ease-out;
}

.welcome-session-notice .session-notice-icon {
  width: 40px;
  height: 40px;
  background: rgba(245, 158, 11, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.welcome-session-notice .session-notice-icon i {
  font-size: 18px;
  color: var(--auth-luxury-gold);
}

.welcome-session-notice .session-notice-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--auth-space-xs);
}

.welcome-session-notice .session-notice-text p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .welcome-session-notice {
    padding: var(--auth-space-md);
    gap: var(--auth-space-sm);
  }
  
  .welcome-session-notice .session-notice-icon {
    width: 36px;
    height: 36px;
  }
  
  .welcome-session-notice .session-notice-icon i {
    font-size: 16px;
  }
  
  .welcome-session-notice .session-notice-text strong {
    font-size: 0.9375rem;
  }
  
  .welcome-session-notice .session-notice-text p {
    font-size: 0.8125rem;
  }
}
/* Compact form section */
.auth-form-header {
  display: flex;
  align-items: center;
  gap: var(--auth-space-md); /* Reduced from lg */
  padding: var(--auth-space-md) var(--auth-space-lg); /* Reduced vertical padding */
  background: var(--auth-gradient-royal);
  color: white;
  position: relative;
  overflow: hidden;
}

.auth-form-header .header-icon {
  width: 40px; /* Reduced from 56px */
  height: 40px; /* Reduced from 56px */
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--auth-radius-luxurious);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem; /* Reduced from 1.5rem */
  position: relative;
  z-index: 1;
}

.auth-form-header h2 {
  font-size: 1.1rem; /* Reduced from 1.5rem */
  font-weight: 700;
  margin-bottom: 0; /* Remove margin */
}

.auth-form-header p {
  opacity: 0.9;
  font-size: 0.8rem; /* Reduced from 0.9375rem */
  margin: 0;
}

.auth-form-body {
  padding: var(--auth-space-lg) var(--auth-space-xl); /* Reduced vertical padding */
}

/* Compact form elements */
.auth-login-form {
  display: flex;
  flex-direction: column;
  gap: var(--auth-space-lg); /* Reduced from xl */
}

.auth-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--auth-space-xs); /* Reduced spacing */
}

.auth-input-wrapper input {
  width: 100%;
  border: 2px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--auth-radius-luxurious);
  padding: var(--auth-space-md); /* Reduced from lg */
  font-size: 0.875rem;
  color: var(--auth-gray-obsidian);
  background: rgba(255, 255, 255, 0.8);
  transition: var(--auth-transition-smooth);
  font-family: inherit;
  font-weight: 500;
}

.auth-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--auth-space-sm);
  width: 100%;
  background: var(--auth-gradient-luxury);
  color: white;
  border: none;
  border-radius: var(--auth-radius-luxurious);
  padding: var(--auth-space-md) var(--auth-space-xl); /* Reduced vertical padding */
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--auth-transition-smooth);
  position: relative;
  overflow: hidden;
  font-family: inherit;
  box-shadow: var(--auth-shadow-luxurious);
}

/* Reduce social login section */
.social-login-section {
  margin-bottom: var(--auth-space-lg); /* Reduced from 2xl */
}

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--auth-space-md);
  width: 100%;
  padding: var(--auth-space-md); /* Reduced from lg */
  background: white;
  border: 2px solid var(--auth-gray-cloud);
  border-radius: var(--auth-radius-luxurious);
  text-decoration: none;
  color: var(--auth-gray-onyx);
  font-weight: 600;
  font-size: 0.9rem; /* Slightly smaller */
  transition: var(--auth-transition-smooth);
  box-shadow: var(--auth-shadow-elegant);
  margin-bottom: var(--auth-space-md); /* Reduced from lg */
}

.auth-divider {
  display: flex;
  align-items: center;
  color: var(--auth-gray-charcoal);
  font-size: 0.875rem;
  margin: var(--auth-space-lg) 0; /* Reduced from xl */
}

.auth-form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: var(--auth-space-md) 0; /* Reduced from lg */
}

.auth-form-footer {
  text-align: center;
  margin-top: var(--auth-space-md); /* Reduced from xl */
  padding-top: var(--auth-space-md); /* Reduced from xl */
  border-top: 1px solid var(--auth-gray-cloud);
}

.auth-messages {
  margin-bottom: var(--auth-space-md); /* Reduced from xl */
}

.auth-message {
  display: flex;
  align-items: center;
  gap: var(--auth-space-sm);
  padding: var(--auth-space-sm) var(--auth-space-md); /* Reduced padding */
  border-radius: var(--auth-radius-luxurious);
  margin-bottom: var(--auth-space-xs); /* Reduced spacing */
  font-weight: 500;
  font-size: 0.8rem; /* Slightly smaller */
  transition: all var(--auth-transition-smooth);
}

/* Responsive adjustments for height */
@media (max-width: 992px) {
  .auth-luxury-container {
    min-height: 80vh; /* Even shorter on mobile */
    padding: var(--auth-space-sm) var(--auth-space-lg);
  }
  
  .auth-content-wrapper {
    gap: var(--auth-space-lg); /* Reduced gap */
  }
  
  .welcome-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--auth-space-md);
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: var(--auth-space-xs);
  }
}

@media (max-width: 768px) {
  .auth-luxury-container {
    min-height: 75vh; /* Shorter on smaller screens */
    padding: var(--auth-space-sm);
  }
  
  .auth-form-body {
    padding: var(--auth-space-md) var(--auth-space-lg);
  }
  
  .auth-form-header {
    padding: var(--auth-space-sm) var(--auth-space-md);
    flex-direction: column;
    text-align: center;
  }
  
  .welcome-title {
    font-size: 1.75rem; /* Smaller on mobile */
  }
  
  .welcome-features {
    flex-direction: column;
    gap: var(--auth-space-sm);
  }
  
  .auth-form-options {
    flex-direction: column;
    gap: var(--auth-space-sm);
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .auth-luxury-container {
    min-height: 70vh; /* Most compact on very small screens */
  }
  
  .auth-form-body {
    padding: var(--auth-space-sm) var(--auth-space-md);
  }
  
  .welcome-features {
    display: none; /* Hide on very small screens to save space */
  }
  
  .welcome-title {
    font-size: 1.5rem;
  }
  
  .welcome-subtitle {
    font-size: 0.9rem;
    margin-bottom: var(--auth-space-md);
  }
}
.welcome-features {
  display: flex;
  flex-direction: column;
  gap: var(--auth-space-lg);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--auth-space-md);
  font-size: 1rem;
  font-weight: 500;
}

.feature-item i {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--auth-luxury-gold);
  font-size: 1.25rem;
}

/* Form Section */
.auth-form-section {
  animation: auth-fadeInUp 0.8s ease-out 0.2s both;
}

.auth-form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--auth-radius-divine);
  box-shadow: var(--auth-shadow-divine);
  overflow: hidden;
  position: relative;
}

.auth-form-header {
  display: flex;
  align-items: center;
  gap: var(--auth-space-lg);
  padding: var(--auth-space-xl);
  background: var(--auth-gradient-royal);
  color: white;
  position: relative;
  overflow: hidden;
}

.auth-form-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.auth-form-header .header-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--auth-radius-luxurious);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

.auth-form-header .header-content {
  position: relative;
  z-index: 1;
}

.auth-form-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--auth-space-xs);
}

.auth-form-header p {
  opacity: 0.9;
  font-size: 0.9rem;
  margin: 0;
}

.auth-form-body {
  padding: var(--auth-space-2xl);
}

/* Social Login */
.social-login-section {
  margin-bottom: var(--auth-space-2xl);
}

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--auth-space-md);
  width: 100%;
  padding: var(--auth-space-lg);
  background: white;
  border: 2px solid var(--auth-gray-cloud);
  border-radius: var(--auth-radius-luxurious);
  text-decoration: none;
  color: var(--auth-gray-onyx);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--auth-transition-smooth);
  box-shadow: var(--auth-shadow-elegant);
  margin-bottom: var(--auth-space-lg);
}

.auth-social-btn:hover {
  background: var(--auth-gray-platinum);
  border-color: var(--auth-luxury-secondary);
  transform: translateY(-2px);
  box-shadow: var(--auth-shadow-luxurious);
}

.google-icon {
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%234285F4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z'/%3E%3Cpath fill='%2334A853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z'/%3E%3Cpath fill='%23FBBC05' d='M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z'/%3E%3Cpath fill='%23EA4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.auth-divider {
  display: flex;
  align-items: center;
  color: var(--auth-gray-charcoal);
  font-size: 0.875rem;
  margin: var(--auth-space-xl) 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--auth-gray-cloud);
}

.auth-divider span {
  padding: 0 var(--auth-space-lg);
}

/* Form Styling */
.auth-login-form {
  display: flex;
  flex-direction: column;
  gap: var(--auth-space-xl);
}

.auth-form-errors {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--auth-radius-luxurious);
  padding: var(--auth-space-lg);
  margin-bottom: var(--auth-space-xl);
}

.auth-error-message {
  display: flex;
  align-items: center;
  gap: var(--auth-space-sm);
  color: var(--auth-luxury-danger);
  font-size: 0.875rem;
  font-weight: 500;
}

.auth-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--auth-space-sm);
}

.auth-form-group label {
  display: flex;
  align-items: center;
  gap: var(--auth-space-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--auth-gray-obsidian);
}

.auth-form-group label i {
  color: var(--auth-luxury-secondary);
  width: 16px;
  text-align: center;
}

.required {
  color: var(--auth-luxury-danger);
  margin-left: 2px;
}

.auth-input-wrapper {
  position: relative;
}

.auth-input-wrapper input {
  width: 100%;
  border: 2px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--auth-radius-luxurious);
  padding: var(--auth-space-lg);
  font-size: 0.875rem;
  color: var(--auth-gray-obsidian);
  background: rgba(255, 255, 255, 0.8);
  transition: var(--auth-transition-smooth);
  font-family: inherit;
  font-weight: 500;
}

.auth-input-wrapper input:focus {
  outline: none;
  border-color: var(--auth-luxury-secondary);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
  transform: translateY(-1px);
}

.auth-input-wrapper.focused {
  border-color: var(--auth-luxury-secondary);
}

.password-wrapper {
  position: relative;
}

.auth-password-toggle {
  position: absolute;
  right: var(--auth-space-md);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--auth-gray-charcoal);
  cursor: pointer;
  padding: var(--auth-space-sm);
  border-radius: 50%;
  transition: var(--auth-transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-password-toggle:hover {
  color: var(--auth-luxury-secondary);
  background: rgba(139, 92, 246, 0.1);
}

.auth-field-error {
  color: var(--auth-luxury-danger);
  font-size: 0.75rem;
  margin-top: var(--auth-space-xs);
  font-weight: 500;
}

.auth-form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: var(--auth-space-lg) 0;
}

.auth-remember-me {
  display: flex;
  align-items: center;
  gap: var(--auth-space-sm);
}

.auth-remember-me input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.auth-remember-me label {
  display: flex;
  align-items: center;
  gap: var(--auth-space-sm);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--auth-gray-charcoal);
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  background: white;
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 4px;
  position: relative;
  transition: var(--auth-transition-smooth);
}

.auth-remember-me input:checked ~ label .checkbox-custom {
  background: var(--auth-luxury-secondary);
  border-color: var(--auth-luxury-secondary);
}

.auth-remember-me input:checked ~ label .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.auth-forgot-link {
  color: var(--auth-luxury-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--auth-transition-smooth);
}

.auth-forgot-link:hover {
  color: var(--auth-luxury-primary);
}

.auth-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--auth-space-sm);
  width: 100%;
  background: var(--auth-gradient-luxury);
  color: white;
  border: none;
  border-radius: var(--auth-radius-luxurious);
  padding: var(--auth-space-lg) var(--auth-space-xl);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--auth-transition-smooth);
  position: relative;
  overflow: hidden;
  font-family: inherit;
  box-shadow: var(--auth-shadow-luxurious);
}

.auth-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--auth-shadow-majestic);
}

.btn-shimmer {
  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.6s;
}

.auth-submit-btn:hover .btn-shimmer {
  left: 100%;
}

.auth-form-footer {
  text-align: center;
  margin-top: var(--auth-space-xl);
  padding-top: var(--auth-space-xl);
  border-top: 1px solid var(--auth-gray-cloud);
}

.auth-form-footer p {
  color: var(--auth-gray-charcoal);
  font-size: 0.9375rem;
}

.auth-form-footer a {
  color: var(--auth-luxury-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--auth-transition-smooth);
}

.auth-form-footer a:hover {
  color: var(--auth-luxury-primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .auth-content-wrapper {
    grid-template-columns: 1fr 450px;
    gap: var(--auth-space-2xl);
  }
}

@media (max-width: 992px) {
  .auth-content-wrapper {
    grid-template-columns: 1fr;
    gap: var(--auth-space-2xl);
    text-align: center;
  }
  
  .auth-welcome-section {
    order: 2;
  }
  
  .auth-form-section {
    order: 1;
  }
  
  .welcome-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .auth-luxury-container {
    padding: var(--auth-space-lg);
  }
  
  .auth-form-body {
    padding: var(--auth-space-xl);
  }
  
  .auth-form-header {
    padding: var(--auth-space-lg);
    flex-direction: column;
    text-align: center;
  }
  
  .welcome-title {
    font-size: 2rem;
  }
  
  .welcome-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--auth-space-lg);
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: var(--auth-space-sm);
  }
  
  .auth-form-options {
    flex-direction: column;
    gap: var(--auth-space-md);
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .auth-form-body {
    padding: var(--auth-space-lg);
  }
  
  .welcome-features {
    flex-direction: column;
  }
  
  .welcome-title {
    font-size: 1.75rem;
  }
}

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

::-webkit-scrollbar-track {
  background: rgba(139, 92, 246, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--auth-gradient-luxury);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--auth-gradient-royal);
}

/* Selection styling */
::selection {
  background: rgba(139, 92, 246, 0.2);
  color: var(--auth-luxury-primary);
}

/* Focus outline for accessibility */
*:focus {
  outline: 2px solid var(--auth-luxury-secondary);
  outline-offset: 2px;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Updated container size - smaller */
.auth-luxury-container {
  min-height: 85vh; /* Reduced from 100vh */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--auth-space-md) var(--auth-space-lg); /* Reduced vertical padding */
  position: relative;
  z-index: 1;
}

.auth-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 420px; /* Reduced from 500px */
  gap: var(--auth-space-2xl); /* Reduced gap */
  align-items: center;
  max-width: 1200px; /* Reduced from 1400px */
  width: 100%;
}

/* Random floating elements */
.auth-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.auth-floating-element {
  position: absolute;
  font-size: 1.5rem; /* Slightly smaller */
  opacity: 0.2; /* More subtle */
  animation: auth-float-random 6s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
  /* Remove fixed positioning - will be set by JavaScript */
}

@keyframes auth-float-random {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1); 
    opacity: 0.2;
  }
  33% {
    transform: translateY(-30px) rotate(120deg) scale(1.1);
    opacity: 0.4;
  }
  66% {
    transform: translateY(-15px) rotate(240deg) scale(0.9);
    opacity: 0.3;
  }
}

/* Message styling */
.auth-messages {
  margin-bottom: var(--auth-space-xl);
}

.auth-message {
  display: flex;
  align-items: center;
  gap: var(--auth-space-sm);
  padding: var(--auth-space-md) var(--auth-space-lg);
  border-radius: var(--auth-radius-luxurious);
  margin-bottom: var(--auth-space-sm);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--auth-transition-smooth);
}

.auth-message-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--auth-luxury-danger);
}

.auth-message-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--auth-luxury-success);
}

.auth-message-info {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--auth-luxury-accent);
}

/* Error state for inputs */
.auth-input-wrapper.error input {
  border-color: var(--auth-luxury-danger);
  background: rgba(239, 68, 68, 0.05);
}

.auth-input-wrapper.error input:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* Smaller form adjustments */
.auth-form-body {
  padding: var(--auth-space-xl); /* Reduced from 2xl */
}

.auth-form-header {
  padding: var(--auth-space-xs) var(--auth-space-lg); /* Much smaller vertical padding */
}


/* Responsive adjustments for smaller size */
@media (max-width: 1200px) {
  .auth-content-wrapper {
    grid-template-columns: 1fr 380px; /* Further reduced */
    gap: var(--auth-space-xl);
  }
}

@media (max-width: 992px) {
  .auth-content-wrapper {
    grid-template-columns: 1fr;
    gap: var(--auth-space-xl);
    text-align: center;
    max-width: 500px; /* Constrain width on mobile */
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .auth-luxury-container {
    padding: var(--auth-space-md);
  }
  
  .auth-form-body {
    padding: var(--auth-space-lg);
  }
  
  .auth-form-header {
    padding: var(--auth-space-md);
  }
}