/* ==========================================================
   AUTH LAYOUT
   ========================================================== */

.auth-page {
    padding:
        clamp(24px, 4vw, 42px)
        0
        42px;
}

.auth-shell {
    width: min(100%, 720px);
    margin: 0 auto;
}


/* ==========================================================
   AUTH HEADER
   ========================================================== */

.auth-header {
    margin-bottom: 22px;
    text-align: center;
}

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-bottom: 10px;

    color: #0756bd;

    font-size: 0.82rem;
    font-weight: 900;

    text-transform: uppercase;
}

.auth-title {
    margin-bottom: 10px;

    color: #092a55;

    font-size:
        clamp(
            1.8rem,
            4vw,
            2.4rem
        );

    line-height: 1.15;
}

.auth-description {
    max-width: 560px;

    margin:
        0
        auto;

    color: #5c6d82;

    line-height: 1.6;
}


/* ==========================================================
   AUTH CARD
   ========================================================== */

.auth-card {
    overflow: hidden;
}

.auth-card-header {
    padding:
        22px
        clamp(20px, 4vw, 34px);

    border-bottom:
        1px solid
        #e4e9ef;

    background:
        linear-gradient(
            180deg,
            #fbfdff 0%,
            #f7faff 100%
        );
}

.auth-card-header h2 {
    margin:
        0
        0
        4px;

    color: #102b50;

    font-size: 1.12rem;
}

.auth-card-header p {
    margin: 0;

    color: #748397;

    font-size: 0.86rem;

    line-height: 1.5;
}


/* ==========================================================
   AUTH FORM
   ========================================================== */

.auth-form {
    margin: 0;
}

.auth-form-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap:
        0
        18px;
}

.auth-form .form-group:last-child {
    margin-bottom: 0;
}

.auth-required-note {
    margin-bottom: 20px;

    color: #748397;

    font-size: 0.82rem;
}


/* ==========================================================
   PASSWORD HELP
   ========================================================== */

.auth-password-help {
    margin-top: 7px;

    color: #68798e;

    font-size: 0.82rem;

    line-height: 1.45;
}


/* ==========================================================
   AUTH ACTIONS
   ========================================================== */

.auth-actions {
    margin-top: 6px;
}

.auth-actions .btn {
    width: 100%;
}


/* ==========================================================
   AUTH SECONDARY AREA
   ========================================================== */

.auth-secondary {
    margin-top: 22px;

    padding-top: 20px;

    border-top:
        1px solid
        #e4e9ef;

    text-align: center;
}

.auth-secondary p {
    margin:
        0
        0
        10px;

    color: #68798e;

    font-size: 0.9rem;
}

.auth-secondary a {
    color: #0d63df;

    font-weight: 800;
}

.auth-secondary a:hover {
    text-decoration: underline;
}


/* ==========================================================
   AUTH INFO BOX
   ========================================================== */

.auth-info-box {
    margin-bottom: 22px;

    padding: 16px;

    border-radius:
        var(--radius-md);

    background: #f3f8ff;

    color: #29415e;

    font-size: 0.9rem;

    line-height: 1.55;
}

.auth-info-box strong {
    color: #102b50;
}


/* ==========================================================
   AUTH SUCCESS / VERIFY PAGES
   ========================================================== */

.auth-message {
    text-align: center;
}

.auth-message-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin:
        0
        auto
        18px;

    border-radius: 50%;

    background: #edf5ff;

    font-size: 1.8rem;
}

.auth-message h2 {
    margin-bottom: 10px;

    color: #102b50;
}

.auth-message p {
    max-width: 520px;

    margin:
        0
        auto;

    color: #617189;

    line-height: 1.6;
}


/* ==========================================================
   AUTH FOOTER LINKS
   ========================================================== */

.auth-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap:
        8px
        14px;

    margin-top: 20px;
}

.auth-links a {
    color: #0d63df;

    font-size: 0.88rem;
    font-weight: 700;
}

.auth-links a:hover {
    text-decoration: underline;
}


/* ==========================================================
   RESPONSIVE AUTH
   ========================================================== */

@media (max-width: 650px) {

    .auth-page {
        padding-top: 18px;
    }

    .auth-shell {
        width: 100%;
    }

    .auth-form-grid {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .auth-card-header {
        padding:
            18px
            20px;
    }

    .auth-header {
        margin-bottom: 18px;
    }

    .auth-description {
        font-size: 0.95rem;
    }
}


@media (max-width: 420px) {

    .auth-title {
        font-size: 1.75rem;
    }

    .auth-eyebrow {
        font-size: 0.75rem;
    }

    .auth-info-box {
        padding: 14px;
    }
}

/* ==========================================================
   FORGOT PASSWORD
   ========================================================== */

.auth-forgot-password {
    display: flex;
    justify-content: flex-end;

    margin-top: -8px;
    margin-bottom: 20px;
}

.auth-forgot-password a {
    color: var(--color-primary);

    font-size: 0.92rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        opacity var(--transition);
}

.auth-forgot-password a:hover {
    text-decoration: underline;
}

.auth-forgot-password a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 3px;
}


@media (max-width: 575px) {

    .auth-forgot-password {
        margin-top: -6px;
        margin-bottom: 18px;
    }
}