/* Modern Authentication Design - Completely New from Scratch */

/* Color Palette - Balanced Design with Orange Accents */
:root {
    /* Neutral Base Colors */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    
    /* Orange Accent Colors */
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-400: #fb923c;
    --orange-500: #E87E1E;
    --orange-600: #EE922B;
    --orange-700: #c2621a;
    
    /* Gradients - Subtle with Orange Accents */
    --gradient-primary: linear-gradient(135deg, #64748b 0%, #475569 100%);
    --gradient-secondary: linear-gradient(135deg, #E87E1E 0%, #EE922B 100%);
    --gradient-success: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-colored: 0 25px 50px -12px rgba(232, 126, 30, 0.35);
}

/* Light Mode Theme Variables */
:root.light-theme,
[data-theme="light"] {
    /* Light Mode Neutral Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-primary: #e2e8f0;
    --border-secondary: #cbd5e1;
    
    /* Light Mode Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    
    /* Light Mode Card Colors */
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-border: rgba(232, 126, 30, 0.2);
    --card-shadow: 0 25px 50px -12px rgba(232, 126, 30, 0.15);
    
    /* Light Mode Input Colors */
    --input-bg: rgba(248, 250, 252, 0.8);
    --input-bg-focus: rgba(255, 255, 255, 1);
    --input-border: rgba(226, 232, 240, 0.6);
    --input-border-focus: rgba(232, 126, 30, 0.4);
    --input-text: #1e293b;
    --input-placeholder: #64748b;
    
    /* Light Mode Shadows */
    --shadow-light-mode: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-medium-mode: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-large-mode: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.06);
    --shadow-colored-mode: 0 25px 50px -12px rgba(232, 126, 30, 0.15);
}

/* Reset and Base Styles */
.modern-auth-container {
    @apply min-h-screen relative overflow-hidden;
    background: linear-gradient(135deg, #64748b 0%, #5a6169 50%, #475569 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(232, 126, 30, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(232, 126, 30, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(238, 146, 43, 0.08) 0%, transparent 70%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Light Mode Container */
.modern-auth-container.light-theme,
.modern-auth-container[data-theme="light"] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(232, 126, 30, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(232, 126, 30, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(238, 146, 43, 0.05) 0%, transparent 70%);
}

/* Animated Background Elements */
.modern-auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        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.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(232, 126, 30, 0.12) 0%, transparent 40%);
    animation: floatingBubbles 20s ease-in-out infinite;
    pointer-events: none;
}

/* Light Mode Animated Background */
.modern-auth-container.light-theme::before,
.modern-auth-container[data-theme="light"]::before {
    background: 
        radial-gradient(circle at 25% 25%, rgba(232, 126, 30, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(248, 250, 252, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(232, 126, 30, 0.06) 0%, transparent 40%);
}

@keyframes floatingBubbles {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Glass Card Effect */
.modern-auth-card {
    @apply relative w-full max-w-md mx-auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(232, 126, 30, 0.4);
    border-radius: 24px;
    box-shadow: var(--shadow-colored), 0 0 60px rgba(232, 126, 30, 0.3), inset 0 1px 0 rgba(232, 126, 30, 0.2);
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
    position: relative;
}

/* Light Mode Glass Card */
.light-theme .modern-auth-card,
[data-theme="light"] .modern-auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(232, 126, 30, 0.2);
    box-shadow: 0 25px 50px -12px rgba(232, 126, 30, 0.15), 0 0 40px rgba(232, 126, 30, 0.1), inset 0 1px 0 rgba(232, 126, 30, 0.1);
}

.modern-auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(232, 126, 30, 0.8), transparent);
    animation: topGlow 3s ease-in-out infinite;
}

@keyframes topGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

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

/* Card Header */
.modern-auth-header {
    @apply text-center px-8 pt-8 pb-6;
}

.modern-auth-logo {
    @apply w-16 h-16 mx-auto mb-6 p-3 rounded-2xl;
    background: rgba(232, 126, 30, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium), 0 0 20px rgba(232, 126, 30, 0.3);
    transition: all 0.3s ease;
}

.modern-auth-logo:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: var(--shadow-large), 0 0 30px rgba(232, 126, 30, 0.4);
}

.modern-auth-title {
    @apply text-3xl font-bold text-white mb-2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 15px rgba(232, 126, 30, 0.3);
}

/* Light Mode Title */
.light-theme .modern-auth-title,
[data-theme="light"] .modern-auth-title {
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 0 15px rgba(232, 126, 30, 0.2);
}

.modern-auth-subtitle {
    @apply text-white/80 text-sm leading-relaxed;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 10px rgba(232, 126, 30, 0.2);
}

/* Light Mode Subtitle */
.light-theme .modern-auth-subtitle,
[data-theme="light"] .modern-auth-subtitle {
    color: #64748b;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 0 8px rgba(232, 126, 30, 0.1);
}

/* Form Styles */
.modern-auth-form {
    @apply px-8 pb-8;
}

.modern-form-group {
    @apply mb-6;
}

.modern-form-label {
    @apply block text-white/90 text-sm font-medium mb-2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 8px rgba(232, 126, 30, 0.25);
}

/* Light Mode Form Label */
.light-theme .modern-form-label,
[data-theme="light"] .modern-form-label {
    color: #475569;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 0 5px rgba(232, 126, 30, 0.1);
}

.modern-form-input-container {
    @apply relative;
}

.modern-form-input {
    @apply w-full px-4 py-3 pl-12 rounded-2xl border-0 text-gray-900 placeholder-gray-500;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light), 0 0 0 1px rgba(232, 126, 30, 0.1);
    transition: all 0.3s ease;
    font-size: 16px; /* Prevents zoom on iOS */
}

/* Light Mode Form Input */
.light-theme .modern-form-input,
[data-theme="light"] .modern-form-input {
    background: rgba(248, 250, 252, 0.8);
    color: #1e293b;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(232, 126, 30, 0.08);
}

.modern-form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-medium), 0 0 0 3px rgba(232, 126, 30, 0.4), 0 0 20px rgba(232, 126, 30, 0.2);
    transform: scale(1.02);
}

/* Light Mode Input Focus */
.light-theme .modern-form-input:focus,
[data-theme="light"] .modern-form-input:focus {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04), 0 0 0 3px rgba(232, 126, 30, 0.25), 0 0 15px rgba(232, 126, 30, 0.1);
}

.modern-form-input::placeholder {
    color: rgba(107, 114, 128, 0.8);
}

/* Light Mode Placeholder */
.light-theme .modern-form-input::placeholder,
[data-theme="light"] .modern-form-input::placeholder {
    color: rgba(100, 116, 139, 0.7);
}

/* Input Icons */
.modern-input-icon {
    @apply absolute left-4 top-1/2 transform -translate-y-1/2 w-5 h-5;
    color: var(--orange-500);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.modern-form-input:focus + .modern-input-icon {
    color: var(--orange-600);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* Password Toggle Button */
.modern-password-toggle {
    @apply absolute right-4 top-1/2 transform -translate-y-1/2 w-5 h-5 cursor-pointer;
    color: var(--orange-500);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.modern-password-toggle:hover {
    color: var(--orange-600);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* Button Styles */
.modern-btn-primary {
    @apply w-full py-3 px-6 rounded-2xl font-semibold text-white relative overflow-hidden;
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.modern-btn-primary:hover::before {
    left: 100%;
}

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

.modern-btn-primary:active {
    transform: translateY(0);
}

/* Loading State */
.modern-btn-loading {
    @apply opacity-75 cursor-not-allowed;
    pointer-events: none;
}

.modern-loading-spinner {
    @apply inline-block w-4 h-4 border-2 border-white/30 border-t-white rounded-full animate-spin mr-2;
}

/* Error Messages */
.modern-error-message {
    @apply mt-2 text-red-300 text-sm;
    background: rgba(239, 68, 68, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 8px 12px;
    border-left: 3px solid #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2), 0 0 20px rgba(232, 126, 30, 0.1);
}

/* Light Mode Error Message */
.light-theme .modern-error-message,
[data-theme="light"] .modern-error-message {
    color: #dc2626;
    background: rgba(254, 242, 242, 0.8);
    border-left: 3px solid #dc2626;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.1), 0 0 15px rgba(232, 126, 30, 0.05);
}

/* Success Messages */
.modern-success-message {
    @apply mt-2 text-green-300 text-sm;
    background: rgba(34, 197, 94, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 8px 12px;
    border-left: 3px solid #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2), 0 0 20px rgba(232, 126, 30, 0.1);
}

/* Light Mode Success Message */
.light-theme .modern-success-message,
[data-theme="light"] .modern-success-message {
    color: #16a34a;
    background: rgba(240, 253, 244, 0.8);
    border-left: 3px solid #16a34a;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.1), 0 0 15px rgba(232, 126, 30, 0.05);
}

/* Progress Indicator */
.modern-progress-container {
    @apply mb-6;
}

.modern-progress-steps {
    @apply flex justify-between mb-2;
}

.modern-progress-step {
    @apply flex-1 text-center;
}

.modern-progress-step-text {
    @apply text-xs font-medium text-white/70 px-2 py-1 rounded-full;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Light Mode Progress Step Text */
.light-theme .modern-progress-step-text,
[data-theme="light"] .modern-progress-step-text {
    color: rgba(100, 116, 139, 0.8);
    background: rgba(232, 126, 30, 0.08);
}

.modern-progress-step.active .modern-progress-step-text {
    @apply text-white;
    background: rgba(255, 255, 255, 0.2);
}

/* Light Mode Active Progress Step */
.light-theme .modern-progress-step.active .modern-progress-step-text,
[data-theme="light"] .modern-progress-step.active .modern-progress-step-text {
    color: var(--orange-700);
    background: rgba(232, 126, 30, 0.15);
}

.modern-progress-bar {
    @apply h-1 rounded-full overflow-hidden;
    background: rgba(255, 255, 255, 0.2);
}

/* Light Mode Progress Bar */
.light-theme .modern-progress-bar,
[data-theme="light"] .modern-progress-bar {
    background: rgba(226, 232, 240, 0.6);
}

.modern-progress-fill {
    @apply h-full rounded-full transition-all duration-500 ease-out;
    background: var(--gradient-secondary);
    box-shadow: 0 0 15px rgba(232, 126, 30, 0.8), 0 0 30px rgba(232, 126, 30, 0.4);
    position: relative;
    overflow: hidden;
}

.modern-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 2s infinite ease-in-out;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Phone Input Special */
.modern-phone-container {
    @apply flex rounded-2xl overflow-hidden;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
}

/* Light Mode Phone Container */
.light-theme .modern-phone-container,
[data-theme="light"] .modern-phone-container {
    background: rgba(248, 250, 252, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.modern-country-select {
    @apply border-0 bg-transparent px-3 py-3 text-gray-900 font-medium focus:outline-none;
    min-width: 80px;
}

/* Light Mode Country Select */
.light-theme .modern-country-select,
[data-theme="light"] .modern-country-select {
    color: #1e293b;
}

.modern-phone-input {
    @apply flex-1 border-0 bg-transparent px-3 py-3 text-gray-900 focus:outline-none;
    border-left: 1px solid rgba(156, 163, 175, 0.3);
}

/* Light Mode Phone Input */
.light-theme .modern-phone-input,
[data-theme="light"] .modern-phone-input {
    color: #1e293b;
    border-left: 1px solid rgba(226, 232, 240, 0.6);
}

/* Password Strength Meter */
.modern-password-strength {
    @apply mt-2;
}

.modern-strength-bar {
    @apply h-1 rounded-full overflow-hidden mb-1;
    background: rgba(255, 255, 255, 0.2);
}

/* Light Mode Strength Bar */
.light-theme .modern-strength-bar,
[data-theme="light"] .modern-strength-bar {
    background: rgba(226, 232, 240, 0.6);
}

.modern-strength-fill {
    @apply h-full transition-all duration-300 ease-out;
}

.modern-strength-text {
    @apply text-xs text-white/80;
}

/* Light Mode Strength Text */
.light-theme .modern-strength-text,
[data-theme="light"] .modern-strength-text {
    color: rgba(100, 116, 139, 0.9);
}

/* Checkbox Styles */
.modern-checkbox-container {
    @apply flex items-center space-x-3 my-4;
}

.modern-checkbox {
    @apply w-5 h-5 rounded-lg border-2 border-white/30 relative cursor-pointer;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* Light Mode Checkbox */
.light-theme .modern-checkbox,
[data-theme="light"] .modern-checkbox {
    border: 2px solid rgba(226, 232, 240, 0.8);
    background: rgba(248, 250, 252, 0.6);
}

.modern-checkbox input {
    @apply sr-only;
}

.modern-checkbox input:checked + .modern-checkbox-visual {
    background: var(--gradient-secondary);
    border-color: transparent;
}

.modern-checkbox-visual::after {
    content: '✓';
    @apply absolute inset-0 flex items-center justify-center text-white text-sm font-bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-checkbox input:checked + .modern-checkbox-visual::after {
    opacity: 1;
}

.modern-checkbox-label {
    @apply text-sm text-white/90 cursor-pointer;
}

/* Light Mode Checkbox Label */
.light-theme .modern-checkbox-label,
[data-theme="light"] .modern-checkbox-label {
    color: #475569;
}

/* Footer Links */
.modern-auth-footer {
    @apply text-center pt-6 border-t border-white/20;
}

/* Light Mode Footer */
.light-theme .modern-auth-footer,
[data-theme="light"] .modern-auth-footer {
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.modern-footer-text {
    @apply text-white/80 text-sm;
}

/* Light Mode Footer Text */
.light-theme .modern-footer-text,
[data-theme="light"] .modern-footer-text {
    color: rgba(100, 116, 139, 0.9);
}

.modern-footer-link {
    @apply font-medium transition-colors duration-200;
    color: var(--orange-400);
    text-decoration: none;
}

/* Light Mode Footer Link */
.light-theme .modern-footer-link,
[data-theme="light"] .modern-footer-link {
    color: var(--orange-600);
}

.modern-footer-link:hover {
    color: var(--orange-300);
    text-shadow: 0 0 10px rgba(232, 126, 30, 0.5);
}

/* Light Mode Footer Link Hover */
.light-theme .modern-footer-link:hover,
[data-theme="light"] .modern-footer-link:hover {
    color: var(--orange-700);
    text-shadow: 0 0 8px rgba(232, 126, 30, 0.3);
}

/* Divider */
.modern-divider {
    @apply flex items-center my-6;
}

.modern-divider-line {
    @apply flex-1 h-px;
    background: linear-gradient(90deg, transparent, rgba(232, 126, 30, 0.3), rgba(255, 255, 255, 0.2), rgba(232, 126, 30, 0.3), transparent);
}

/* Light Mode Divider Line */
.light-theme .modern-divider-line,
[data-theme="light"] .modern-divider-line {
    background: linear-gradient(90deg, transparent, rgba(232, 126, 30, 0.25), rgba(226, 232, 240, 0.6), rgba(232, 126, 30, 0.25), transparent);
}

.modern-divider-text {
    @apply px-4 text-white/70 text-sm;
    text-shadow: 0 0 5px rgba(232, 126, 30, 0.3);
}

/* Light Mode Divider Text */
.light-theme .modern-divider-text,
[data-theme="light"] .modern-divider-text {
    color: rgba(100, 116, 139, 0.8);
    text-shadow: 0 0 3px rgba(232, 126, 30, 0.15);
}

/* Social Login Buttons */
.modern-social-btn {
    @apply w-full py-3 px-4 rounded-2xl font-medium text-gray-700 mb-3 flex items-center justify-center space-x-2;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Light Mode Social Button */
.light-theme .modern-social-btn,
[data-theme="light"] .modern-social-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.modern-social-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(232, 126, 30, 0.3);
}

/* Light Mode Social Button Hover */
.light-theme .modern-social-btn:hover,
[data-theme="light"] .modern-social-btn:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -1px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(232, 126, 30, 0.2);
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(232, 126, 30, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 12px rgba(232, 126, 30, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(232, 126, 30, 0.4);
}

/* Light Mode Theme Toggle */
.light-theme .theme-toggle,
[data-theme="light"] .theme-toggle {
    background: rgba(232, 126, 30, 0.8);
    box-shadow: 0 4px 12px rgba(232, 126, 30, 0.2);
}

.light-theme .theme-toggle:hover,
[data-theme="light"] .theme-toggle:hover {
    box-shadow: 0 8px 20px rgba(232, 126, 30, 0.3);
}

/* Light Mode Complete - Enhanced Design System */
/*
 * LIGHT MODE IMPLEMENTATION COMPLETE
 * 
 * Features implemented:
 * ✅ Dual-theme container backgrounds
 * ✅ Light mode glass card styling
 * ✅ Light mode animated backgrounds
 * ✅ Adaptive text colors and shadows
 * ✅ Light mode form inputs and focus states
 * ✅ Light mode progress indicators
 * ✅ Light mode phone input containers
 * ✅ Light mode checkboxes and labels
 * ✅ Light mode footer elements
 * ✅ Light mode dividers and social buttons
 * ✅ Light mode error/success messages
 * ✅ Theme toggle button
 * 
 * Usage:
 * - Add class="light-theme" to .modern-auth-container
 * - Or use data-theme="light" attribute
 * - Toggle with JavaScript: document.querySelector('.modern-auth-container').classList.toggle('light-theme')
 * 
 * Color Palette:
 * Dark Mode: Deep grays with warm orange accents
 * Light Mode: Clean whites/grays with subtle orange highlights
 */

/* Modern Contact Form Styles */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.modern-input {
    width: 100%;
    padding: 1rem 1rem 1rem 1rem;
    border: 2px solid rgba(226, 232, 240, 0.4);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #1e293b;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.dark .modern-input {
    background: rgba(55, 65, 81, 0.9);
    color: #ffffff;
    border: 2px solid rgba(75, 85, 99, 0.4);
}

.modern-input:focus {
    border-color: rgba(249, 115, 22, 0.6);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    transform: scale(1.01);
}

.dark .modern-input:focus {
    border-color: rgba(249, 115, 22, 0.8);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2), 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.modern-input:valid,
.modern-input:not(:placeholder-shown) {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.modern-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #64748b;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
    padding: 0 0.25rem;
}

.dark .modern-label {
    color: #9ca3af;
}

.modern-input:focus + .modern-label,
.modern-input:valid + .modern-label,
.modern-input:not(:placeholder-shown) + .modern-label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.8rem;
    color: #f97316;
    background: rgba(255, 255, 255, 0.9);
    padding: 0 0.25rem;
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

.dark .modern-input:focus + .modern-label,
.dark .modern-input:valid + .modern-label,
.dark .modern-input:not(:placeholder-shown) + .modern-label {
    color: #fb923c;
    background: rgba(55, 65, 81, 0.9);
}

/* Floating Animation Keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes bounce-in {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(-90deg); opacity: 0.8; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes slide-in-left {
    0% { transform: translateX(-100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slide-in-right {
    0% { transform: translateX(100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fade-in-up {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Animation Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-bounce-in {
    animation: bounce-in 1s ease-out forwards;
}

.animate-slide-in-left {
    animation: slide-in-left 0.8s ease-out forwards;
}

.animate-slide-in-right {
    animation: slide-in-right 0.8s ease-out forwards;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Delays */
.animation-delay-300 { animation-delay: 0.3s; }
.animation-delay-600 { animation-delay: 0.6s; }
.animation-delay-1000 { animation-delay: 1s; }
.animation-delay-2000 { animation-delay: 2s; }

/* Contact Form Specific Animations */
.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px) scale(1.02);
}
