/* Modern Login Page Styles */

/* Base Variables */
:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #a5b4fc;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --text-light: #f9fafb;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-muted: #f1f5f9;
    --bg-dark: #0f172a;
    
    --border-color: #e2e8f0;
    --border-focus: var(--primary-color);
    --border-error: var(--error-color);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.35s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Auth Page Layout */
.auth-page {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
}

/* Animated Background */
.auth-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background: linear-gradient(135deg, 
        #667eea 0%, 
        #764ba2 25%, 
        #f093fb 50%, 
        #f5576c 75%, 
        #4facfe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.auth-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.8) 0%,
        rgba(118, 75, 162, 0.8) 50%,
        rgba(240, 147, 251, 0.8) 100%);
    backdrop-filter: blur(40px);
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: -5s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: -10s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: -15s;
}

/* Auth Container */
.auth-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.auth-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Auth Header */
.auth-header {
    width: 100%;
    max-width: 400px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
    box-shadow: var(--glass-shadow);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.back-btn svg {
    transition: transform var(--transition-fast);
}

.back-btn:hover svg {
    transform: translateX(-2px);
}

/* Auth Card with Glassmorphism */
.auth-card {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

.auth-card-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.auth-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.auth-card-body {
    padding: 1rem 2rem 2rem;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.label-icon {
    color: var(--text-muted);
    transition: color var(--transition-normal);
}

.form-group.focused .label-icon {
    color: var(--primary-color);
}

/* Input Container */
.input-container {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input.error {
    border-color: var(--error-color);
    background: rgba(239, 68, 68, 0.05);
}

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

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

/* Input Border Animation */
.input-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.form-group.focused .input-border {
    width: 100%;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

/* Field Errors */
.field-error {
    display: none;
    color: var(--error-color);
    font-size: 0.8125rem;
    margin-top: 0.375rem;
    animation: slideDown 0.3s ease;
}

/* Form Row */
.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Custom Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    position: relative;
    transition: all var(--transition-normal);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.375rem;
    height: 0.625rem;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: translate(-50%, -60%) rotate(45deg) scale(0);
    transition: transform var(--transition-fast);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    transform: translate(-50%, -60%) rotate(45deg) scale(1);
}

.checkbox-text {
    user-select: none;
}

/* Forgot Password Link */
.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.forgot-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    outline: none;
    user-select: none;
}

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

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

/* Button Loading State */
.btn-loading {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Social Login */
.social-login {
    margin-top: 1.5rem;
}

.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    background: var(--bg-primary);
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-social {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    justify-content: flex-start;
    padding-left: 1rem;
}

.btn-social:hover {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
}

.btn-google svg {
    flex-shrink: 0;
}

.btn-facebook {
    color: #1877f2;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.register-prompt {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.register-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.register-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Business CTA */
.business-cta {
    width: 100%;
    max-width: 400px;
}

.cta-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--glass-shadow);
    animation: slideUp 0.8s ease-out;
}

.cta-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    25% { transform: translateY(-20px) rotate(90deg); opacity: 1; }
    50% { transform: translateY(-40px) rotate(180deg); opacity: 0.8; }
    75% { transform: translateY(-20px) rotate(270deg); opacity: 1; }
}

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

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

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 500;
    z-index: 9999;
    animation: slideInRight 0.3s ease;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.toast.success {
    background: linear-gradient(135deg, var(--success-color), #059669);
}

.toast.error {
    background: linear-gradient(135deg, var(--error-color), #dc2626);
}

.toast.info {
    background: linear-gradient(135deg, var(--info-color), #2563eb);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Demo Button */
.demo-btn {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    border: none;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

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

/* Responsive Design */
@media (max-width: 640px) {
    .auth-page {
        padding: 0.5rem;
    }
    
    .auth-card {
        max-width: 100%;
        margin: 0 0.5rem;
    }
    
    .auth-card-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .auth-card-body {
        padding: 1rem 1.5rem 2rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .social-buttons {
        gap: 0.5rem;
    }
    
    .btn-social {
        justify-content: center;
        padding-left: 1.5rem;
    }
    
    .shape {
        display: none;
    }
}

@media (max-width: 480px) {
    .back-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }
    
    .form-input {
        padding: 0.75rem 0.875rem;
        font-size: 0.875rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
    }
    
    .cta-card {
        padding: 1.25rem;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --text-muted: #9ca3af;
        
        --bg-primary: #1f2937;
        --bg-secondary: #111827;
        --bg-muted: #374151;
        
        --border-color: #374151;
    }
    
    .auth-card {
        background: rgba(31, 41, 55, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .form-input {
        background: rgba(31, 41, 55, 0.8);
        color: var(--text-primary);
    }
    
    .form-input:focus {
        background: rgba(31, 41, 55, 0.95);
    }
    
    .cta-card {
        background: rgba(31, 41, 55, 0.9);
    }
    
    .divider span {
        background: var(--bg-primary);
    }
}

/* ===== FORGOT PASSWORD PAGE SPECIFIC STYLES ===== */

/* Auth Icon */
.auth-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.auth-icon::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-primary);
    border-radius: 50%;
    z-index: 1;
}

.auth-icon svg {
    position: relative;
    z-index: 2;
    color: var(--primary-color);
    animation: iconPulse 2s ease-in-out infinite;
}

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

/* Alert Messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    animation: slideDown 0.4s ease-out;
}

.alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #b91c1c;
}

.alert-error::before {
    background: var(--error-color);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
}

.alert-success::before {
    background: var(--success-color);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #92400e;
}

.alert-warning::before {
    background: var(--warning-color);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #1e40af;
}

.alert-info::before {
    background: var(--info-color);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    animation: fadeInScale 0.6s ease-out;
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--success-color);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.success-icon svg {
    color: white;
    animation: checkmarkDraw 0.8s ease-out 0.2s both;
}

.success-message h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.success-note {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: left;
}

.success-note p {
    font-size: 0.875rem;
    color: #92400e;
    margin: 0;
}

.success-note strong {
    font-weight: 600;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.btn-primary:hover {
  background: var(--primary-color);
  color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.btn-text {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.btn-text:hover {
    color: var(--primary-light);
}

/* Enhanced Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes checkmarkDraw {
    0% {
        stroke-dasharray: 0 100;
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dasharray: 100 0;
        stroke-dashoffset: 0;
    }
}

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

/* Responsive Design for Forgot Password */
@media (max-width: 640px) {
    .auth-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1.25rem;
    }
    
    .auth-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .success-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1.25rem;
    }
    
    .success-icon svg {
        width: 48px;
        height: 48px;
    }
    
    .success-message {
        padding: 1.5rem 1rem;
    }
    
    .success-message h3 {
        font-size: 1.125rem;
    }
    
    .success-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .alert {
        padding: 0.875rem 1rem;
        font-size: 0.8125rem;
    }
    
    .success-note {
        padding: 0.875rem;
        margin: 1.25rem 0;
    }
}

@media (max-width: 480px) {
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-subtitle {
        font-size: 0.8125rem;
    }
    
    .success-message h3 {
        font-size: 1rem;
    }
    
    .success-message p {
        font-size: 0.875rem;
    }
    
    .success-note p {
        font-size: 0.8125rem;
    }
}

/* Dark Mode for Forgot Password */
@media (prefers-color-scheme: dark) {
    .auth-icon::before {
        background: var(--bg-primary);
    }
    
    .alert-error {
        background: rgba(239, 68, 68, 0.15);
        color: #fca5a5;
    }
    
    .alert-success {
        background: rgba(16, 185, 129, 0.15);
        color: #6ee7b7;
    }
    
    .alert-warning {
        background: rgba(245, 158, 11, 0.15);
        color: #fbbf24;
    }
    
    .alert-info {
        background: rgba(59, 130, 246, 0.15);
        color: #93c5fd;
    }
    
    .success-message {
        background: rgba(16, 185, 129, 0.1);
        border-color: rgba(16, 185, 129, 0.3);
    }
    
    .success-note {
        background: rgba(245, 158, 11, 0.15);
        border-color: rgba(245, 158, 11, 0.3);
    }
    
    .success-note p {
        color: #fbbf24;
    }
}

/* ===== REGISTER PAGE SPECIFIC STYLES ===== */

/* Account Type Selection */
.account-type-selection {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.type-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.type-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.type-header p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.type-options {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.type-option {
    cursor: pointer;
    display: block;
}

.type-option input[type="radio"] {
    display: none;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.type-option:hover .option-card {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.type-option:hover .option-card::before {
    left: 100%;
}

.type-option.selected .option-card,
.type-option input:checked + .option-card {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.option-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.option-content {
    flex: 1;
}

.option-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.option-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.option-check {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.option-check svg {
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-fast);
    color: white;
}

.type-option.selected .option-check,
.type-option input:checked + .option-card .option-check {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.type-option.selected .option-check svg,
.type-option input:checked + .option-card .option-check svg {
    opacity: 1;
    transform: scale(1);
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Phone Input with Country Code */
.input-container .country-code {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    padding: 0 0.5rem;
    border: none;
    background: rgba(248, 250, 252, 0.8);
    border-right: 1px solid var(--border-color);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-primary);
    outline: none;
    appearance: none;
    cursor: pointer;
}

.phone-input {
    padding-left: 90px !important;
}

/* Field Help Text */
.field-help {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.375rem;
    line-height: 1.4;
}

/* Email Check Icon */
.email-check {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--success-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    animation: checkAppear 0.3s ease;
}

@keyframes checkAppear {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.75rem;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.5);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.strength-bar {
    width: 100%;
    height: 0.375rem;
    background: var(--bg-muted);
    border-radius: 0.1875rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.strength-fill {
    height: 100%;
    background: var(--error-color);
    border-radius: 0.1875rem;
    transition: all var(--transition-normal);
    width: 0;
}

.strength-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.strength-requirements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    transition: color var(--transition-normal);
}

.requirement svg {
    color: var(--border-color);
    transition: color var(--transition-normal);
}

.requirement.met {
    color: var(--success-color);
}

.requirement.met svg {
    color: var(--success-color);
}

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-label.large {
    font-size: 0.9375rem;
    line-height: 1.5;
}

.checkbox-label.large .checkbox-text {
    max-width: calc(100% - 2rem);
}

.link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Login Prompt */
.login-prompt {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.login-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.login-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Benefits Section */
.benefits-section {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    animation: slideUp 1s ease-out;
}

.benefits-section h3 {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.benefit-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.3);
}

.benefit-item:hover::before {
    left: 100%;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Enhanced Animations for Register Page */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.form-section:nth-child(1) { animation-delay: 0.1s; }
.form-section:nth-child(2) { animation-delay: 0.2s; }
.form-section:nth-child(3) { animation-delay: 0.3s; }
.form-section:nth-child(4) { animation-delay: 0.4s; }

.benefit-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.benefit-item:nth-child(1) { animation-delay: 0.5s; }
.benefit-item:nth-child(2) { animation-delay: 0.6s; }
.benefit-item:nth-child(3) { animation-delay: 0.7s; }
.benefit-item:nth-child(4) { animation-delay: 0.8s; }

/* Responsive Design for Register Page */
@media (max-width: 768px) {
    .type-options {
        gap: 0.75rem;
    }
    
    .option-card {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .option-icon {
        font-size: 1.5rem;
    }
    
    .strength-requirements {
        grid-template-columns: 1fr;
        gap: 0.375rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefit-item {
        padding: 1.25rem 1rem;
    }
    
    .benefits-section {
        padding: 1.5rem;
    }
    
    .country-code {
        width: 70px !important;
    }
    
    .phone-input {
        padding-left: 80px !important;
    }
}

@media (max-width: 640px) {
    .account-type-selection {
        padding: 1rem;
    }
    
    .form-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .section-title {
        font-size: 0.9375rem;
        margin-bottom: 1rem;
    }
    
    .password-strength {
        padding: 0.75rem;
    }
    
    .checkbox-label.large {
        font-size: 0.875rem;
    }
    
    .benefits-section h3 {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }
    
    .benefit-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .option-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem 1rem;
    }
    
    .option-content h4 {
        font-size: 0.9375rem;
    }
    
    .option-content p {
        font-size: 0.8125rem;
    }
    
    .country-code {
        width: 60px !important;
        font-size: 0.8125rem;
    }
    
    .phone-input {
        padding-left: 70px !important;
    }
    
    .strength-requirements {
        gap: 0.25rem;
    }
    
    .requirement {
        font-size: 0.75rem;
    }
}

/* Dark Mode Enhancements for Register */
@media (prefers-color-scheme: dark) {
    .account-type-selection {
        background: linear-gradient(135deg, rgba(31, 41, 55, 0.3), rgba(31, 41, 55, 0.1));
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .option-card {
        background: rgba(31, 41, 55, 0.8);
    }
    
    .type-option.selected .option-card,
    .type-option input:checked + .option-card {
        background: rgba(99, 102, 241, 0.15);
    }
    
    .password-strength {
        background: rgba(31, 41, 55, 0.5);
        border-color: var(--border-color);
    }
    
    .benefits-section {
        background: rgba(31, 41, 55, 0.9);
    }
    
    .benefit-item {
        background: rgba(55, 65, 81, 0.6);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .country-code {
        background: rgba(31, 41, 55, 0.8);
        color: var(--text-primary);
    }
    
    .field-help {
        color: var(--text-muted);
    }
}

/* Print styles */
@media print {
    .auth-background,
    .floating-shapes,
    .business-cta,
    .benefits-section {
        display: none;
    }
    
    .auth-page {
        background: white;
    }
    
    .auth-card {
        background: white;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .account-type-selection,
    .password-strength {
        background: white;
        border: 1px solid #ccc;
    }
}