/* auth.css */
.auth-split-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    min-height: 100vh;
    background: linear-gradient(rgba(17, 24, 39, 0.5), rgba(17, 24, 39, 0.5)), 
                url('../img/auth_bg.png') center/cover no-repeat fixed;
}

.auth-sidebar {
    background: #1E293B;
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-sidebar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-sidebar-brand span { color: var(--color-primary); }

.auth-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 60px;
}

.auth-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    opacity: 0.5;
    transition: 0.3s;
}

.auth-step.active {
    opacity: 1;
}

.auth-step.completed {
    opacity: 0.8;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.active .step-circle {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.completed .step-circle {
    background: #10B981;
    border-color: #10B981;
}

.step-label h4 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 2px; }
.step-label p { font-size: 0.75rem; opacity: 0.7; }

.auth-main {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 650px;
    background: #0F172A; /* Deep Navy professional card */
    margin: 40px auto;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.auth-form-title { font-size: 2.25rem; font-weight: 800; margin-bottom: 12px; color: #FFFFFF; }
.auth-form-subtitle { font-size: 1rem; color: #94A3B8; margin-bottom: 40px; }

.auth-footer-note { font-size: 0.875rem; color: #94A3B8; }

@media (max-width: 900px) {
    .auth-split-layout { grid-template-columns: 1fr; }
    .auth-sidebar { 
        padding: 4vh 5vw; 
        background: white; /* Changed from transparent to stand out */
        color: #111827;
        flex-direction: column;
        border-bottom: 2px solid rgba(0,0,0,0.05); /* Added stroke at the bottom */
        border-radius: 0 0 24px 24px; /* Top corners square, bottom corners rounded */
        overflow: visible;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 24px; /* Added separation from content */
        box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    }
    .auth-sidebar > div { display: flex; width: 100%; justify-content: center; }
    .auth-sidebar-brand { display: none; }
    .auth-footer-note { display: none; }
    .auth-steps { 
        margin-top: 0; 
        flex-direction: row; 
        justify-content: space-between;
        width: 100%;
        gap: 0;
        position: relative;
    }
    .auth-step { 
        flex-direction: column; 
        align-items: center; 
        text-align: center;
        flex: 1;
        position: relative;
        gap: 8px;
        opacity: 1;
    }
    .step-circle { 
        border-color: rgba(0,0,0,0.2); 
        color: #111827; 
        width: 28px; 
        height: 28px; 
        font-size: 0.75rem; 
        z-index: 2; 
        position: relative;
        background: white; 
    }
    .auth-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 14px;
        left: 50%;
        width: 100%;
        height: 2px;
        background: #E2E8F0;
        z-index: 1;
    }
    .auth-step.completed:not(:last-child)::after {
        background: #10B981;
    }
    .step-label { display: block; }
    .step-label p { display: none; }
    .step-label h4 { font-size: 0.7rem; font-weight: 700; margin: 0; color: #64748B; }
    .active .step-label h4, .completed .step-label h4 { color: #111827; }
    .active .step-circle { color: white; background: var(--color-primary); border-color: var(--color-primary); }
    .completed .step-circle { color: transparent; background: #10B981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/14px no-repeat; border-color: #10B981; }
    .auth-main { 
        padding: 40px 32px; /* Standardize padding */
        box-sizing: border-box; 
        width: 90%; 
        max-width: 440px; /* Constrain width to keep it "special" and centered */
        margin: 0 auto 40px; /* Vertical spacing and centered horizontally */
        overflow: hidden; 
        background: #FFFFFF; /* Mobile form stays white for readability */
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.04);
    }
    .auth-main .auth-form-title { color: #111827; } /* Keep titles dark on white mobile form */
    .auth-main .auth-form-subtitle { color: #6B7280; }
}
