/**
 * Register / apply page — extends auth-login.css; uses main site layout (no auth-topbar).
 */
.auth-register-page .auth-card {
    max-width: 640px;
}

/* Split layout only from 1100px (override auth-login’s 992px split). */
@media (min-width: 992px) {
    .auth-register-page .auth-form-side {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .auth-register-page .auth-visual-side {
        display: none;
    }
}

@media (min-width: 1100px) {
    .auth-register-page .auth-form-side {
        flex: 0 0 62%;
        max-width: 62%;
        padding: 3rem 5rem 3rem 6rem;
    }
    .auth-register-page .auth-visual-side {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1.75rem;
        flex: 0 0 38%;
        align-self: flex-start;
        position: sticky;
        top: 0;
        margin-top: 0;
        min-height: 100vh;
        max-height: 100vh;
        overflow-x: hidden;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding: 2.5rem 2.5rem 2rem;
        background: var(--earth-600);
    }
    .auth-register-page .auth-visual-side .auth-quote {
        margin-top: 0;
    }
}

.auth-register-page .auth-visual-side {
    background: var(--earth-600);
}

.auth-register-page .auth-visual-side::before {
    top: -100px;
    right: -100px;
    left: auto;
    width: 400px;
    height: 400px;
}

.auth-register-page .auth-visual-side::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    right: auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 65%);
    border-radius: 50%;
}

.input-icon-wrap .form-select {
    padding-left: 2.6rem;
}

/* Password strength */
.pw-strength {
    height: 3px;
    border-radius: 2px;
    background: var(--border-light);
    margin-top: 6px;
    overflow: hidden;
}
.pw-strength-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s, background 0.3s;
    width: 0;
}
.pw-strength-label {
    font-size: 0.72rem;
    margin-top: 3px;
}

/* Step indicator */
.reg-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 2rem;
}
.reg-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-400);
}
.reg-step.active { color: var(--brand); }
.reg-step.done   { color: var(--green-600); }
.reg-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    background: transparent;
    flex-shrink: 0;
}
.reg-step.active .reg-step-num { background: var(--brand); color: white; border-color: var(--brand); }
.reg-step.done   .reg-step-num { background: var(--green-600); color: white; border-color: var(--green-600); }
.reg-step-line {
    flex: 1;
    height: 1px;
    background: var(--border-light);
    margin: 0 0.5rem;
}

.field-section {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}
.field-section:first-of-type { margin-top: 0; }

.auth-register-page .auth-form-side .form-control.is-invalid,
.auth-register-page .auth-form-side .form-select.is-invalid {
    border-color: #ef4444;
}
.auth-register-page .auth-form-side .form-control.is-invalid:focus,
.auth-register-page .auth-form-side .form-select.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}

/* Quote panel (register uses .auth-quote) */
.auth-quote {
    position: relative;
    z-index: 1;
}
.auth-quote .arabic {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: rgba(255,255,255,.9);
    line-height: 1.5;
    margin-bottom: 0.6rem;
}
.auth-quote .translation {
    font-size: 0.855rem;
    color: rgba(255,255,255,.65);
    line-height: 1.65;
    margin-bottom: 0.35rem;
}
.auth-quote .reference {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--earth-200, #e8ccaa);
}

/* Process steps */
.auth-process {
    position: relative;
    z-index: 1;
}
.auth-process-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,.45);
    margin-bottom: 0.9rem;
}
.auth-process-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}
.auth-process-step .step-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,.7);
    flex-shrink: 0;
    margin-top: 1px;
}
.auth-process-step span {
    font-size: 0.82rem;
    color: rgba(255,255,255,.65);
    line-height: 1.45;
}
