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

:root {
    --auth-primary: #5BBB7B;
    --auth-secondary: #1F4B3F;
    --auth-text: #222222;
    --auth-text-muted: #6b7280;
    --auth-bg: #f8fafc;
    --auth-white: #ffffff;
    --auth-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

body {
    font-family: 'Outfit', sans-serif !important;
    background: var(--auth-bg);
    color: var(--auth-text);
    margin: 0;
    padding: 0;
}

.auth-split-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Left Section: Hero Visual */
.auth-hero-section {
    flex: 1.2;
    background: linear-gradient(rgba(31, 75, 63, 0.4), rgba(31, 75, 63, 0.8)), 
                url('../auth/images/premium-auth-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: white;
}

@media (max-width: 991px) {
    .auth-hero-section {
        display: none;
    }
}

.auth-hero-content {
    max-width: 500px;
    background: rgba(31, 75, 63, 0.4);
    backdrop-filter: blur(4px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--auth-primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: white;
    box-shadow: 0 4px 15px rgba(91, 187, 123, 0.3);
}

#authloader .card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: white !important;
}

#authloader .word {
    color: var(--auth-primary) !important;
    font-weight: 700 !important;
}

/* Right Section: Form */
.auth-form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--auth-white);
    padding: 40px;
}

.auth-form-container {
    width: 100%;
    max-width: 420px;
}

.auth-logo {
    display: block;
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--auth-secondary);
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--auth-text-muted);
    font-size: 16px;
    margin-bottom: 32px;
}

/* Form Elements */
.auth-form-group {
    margin-bottom: 20px;
}

.auth-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--auth-secondary);
}

.auth-input {
    width: 100%;
    padding: 14px 20px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fdfdfd;
}

.auth-input:focus {
    outline: none;
    border-color: var(--auth-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(91, 187, 123, 0.1);
}

.auth-btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--auth-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-btn-primary:hover {
    background: #4da66a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(91, 187, 123, 0.2);
}

.auth-social-btn {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-weight: 600;
    color: var(--auth-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.auth-social-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: var(--auth-text-muted);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.auth-divider:not(:empty)::before {
    margin-right: .75em;
}

.auth-divider:not(:empty)::after {
    margin-left: .75em;
}

.auth-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 15px;
    color: var(--auth-text-muted);
}

.auth-link {
    color: var(--auth-primary);
    font-weight: 700;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

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

.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
