/* =====================================================
   AUTH PAGE
===================================================== */

.auth-page {

    min-height:
        100vh;

    margin:
        0;

    background:
        #f8fafc;

}


/* =====================================================
   AUTH LAYOUT
===================================================== */

.auth-layout {

    min-height:
        100vh;

    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, 520px);

}


/* =====================================================
   BRAND SIDE
===================================================== */

.auth-brand {

    position:
        relative;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        space-between;

    padding:
        45px 7vw;

    overflow:
        hidden;

    background:
        radial-gradient(
            circle at top left,
            rgba(96, 165, 250, .25),
            transparent 34%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(37, 99, 235, .18),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #eff6ff 100%
        );

}


/* =====================================================
   BRAND DECORATION
===================================================== */

.auth-brand::before {

    content:
        "";

    position:
        absolute;

    width:
        420px;

    height:
        420px;

    top:
        -220px;

    right:
        -180px;

    border:
        1px solid
        rgba(37, 99, 235, .12);

    border-radius:
        50%;

    pointer-events:
        none;

}


.auth-brand::after {

    content:
        "";

    position:
        absolute;

    width:
        280px;

    height:
        280px;

    bottom:
        -170px;

    left:
        -120px;

    border:
        1px solid
        rgba(37, 99, 235, .10);

    border-radius:
        50%;

    pointer-events:
        none;

}


/* =====================================================
   BRAND LOGO
===================================================== */

.auth-brand-logo {

    position:
        relative;

    z-index:
        2;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        11px;

    width:
        fit-content;

    color:
        #172033;

    text-decoration:
        none;

}


.auth-brand-logo img {

    width:
        44px;

    height:
        44px;

    display:
        block;

    object-fit:
        cover;

    border-radius:
        50%;

}


.auth-brand-logo span {

    font-size:
        18px;

    font-weight:
        800;

    letter-spacing:
        -.025em;

}


/* =====================================================
   BRAND CONTENT
===================================================== */

.auth-brand-content {

    position:
        relative;

    z-index:
        2;

    max-width:
        570px;

}


.auth-brand-eyebrow {

    display:
        block;

    margin-bottom:
        18px;

    color:
        #2563eb;

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        .22em;

}


.auth-brand-content h1 {

    max-width:
        570px;

    margin:
        0;

    color:
        #172033;

    font-family:
        Georgia,
        'Times New Roman',
        serif;

    font-size:
        clamp(38px, 4.2vw, 62px);

    font-weight:
        400;

    line-height:
        1.08;

    letter-spacing:
        -.035em;

}


.auth-brand-content p {

    max-width:
        500px;

    margin:
        24px 0 0;

    color:
        #64748b;

    font-size:
        14px;

    line-height:
        1.85;

}


/* =====================================================
   BRAND FOOTER
===================================================== */

.auth-brand-footer {

    position:
        relative;

    z-index:
        2;

    color:
        #94a3b8;

    font-size:
        10px;

}


/* =====================================================
   FORM SIDE
===================================================== */

.auth-form-side {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        45px;

    background:
        #ffffff;

    border-left:
        1px solid
        #e2e8f0;

}


/* =====================================================
   FORM WRAPPER
===================================================== */

.auth-form-wrapper {

    width:
        100%;

    max-width:
        370px;

}


/* =====================================================
   FORM HEADER
===================================================== */

.auth-form-header {

    margin-bottom:
        30px;

}


.auth-form-eyebrow {

    display:
        block;

    margin-bottom:
        10px;

    color:
        #2563eb;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .18em;

}


.auth-form-header h2 {

    margin:
        0;

    color:
        #172033;

    font-size:
        30px;

    font-weight:
        800;

    letter-spacing:
        -.035em;

}


.auth-form-header p {

    margin:
        10px 0 0;

    color:
        #64748b;

    font-size:
        13px;

    line-height:
        1.7;

}


/* =====================================================
   ALERT
===================================================== */

.auth-alert {

    margin-bottom:
        20px;

    padding:
        12px 14px;

    border:
        1px solid;

    border-radius:
        9px;

    font-size:
        12px;

    line-height:
        1.5;

}


.auth-alert-error {

    border-color:
        #fecaca;

    background:
        #fef2f2;

    color:
        #b91c1c;

}


/* =====================================================
   FORM
===================================================== */

.auth-form {

    display:
        flex;

    flex-direction:
        column;

    gap:
        19px;

}


/* =====================================================
   FIELD
===================================================== */

.auth-field {

    display:
        flex;

    flex-direction:
        column;

    gap:
        8px;

}


.auth-field label {

    color:
        #334155;

    font-size:
        12px;

    font-weight:
        700;

}


.auth-field input {

    width:
        100%;

    min-height:
        48px;

    box-sizing:
        border-box;

    padding:
        0 14px;

    border:
        1px solid
        #dbe3ef;

    border-radius:
        9px;

    outline:
        none;

    background:
        #ffffff;

    color:
        #172033;

    font-family:
        inherit;

    font-size:
        13px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;

}


.auth-field input::placeholder {

    color:
        #94a3b8;

}


.auth-field input:focus {

    border-color:
        #2563eb;

    background:
        #ffffff;

    box-shadow:
        0 0 0 3px
        rgba(37, 99, 235, .10);

}


/* =====================================================
   PASSWORD
===================================================== */

.auth-password {

    position:
        relative;

}


.auth-password input {

    padding-right:
        88px;

}


.auth-password-toggle {

    position:
        absolute;

    top:
        50%;

    right:
        12px;

    transform:
        translateY(-50%);

    padding:
        4px;

    border:
        0;

    background:
        transparent;

    color:
        #2563eb;

    cursor:
        pointer;

    font-family:
        inherit;

    font-size:
        10px;

    font-weight:
        700;

}


/* =====================================================
   SUBMIT
===================================================== */

.auth-submit {

    width:
        100%;

    min-height:
        48px;

    margin-top:
        3px;

    padding:
        0 20px;

    border:
        1px solid
        #2563eb;

    border-radius:
        9px;

    background:
        #2563eb;

    color:
        #ffffff;

    cursor:
        pointer;

    font-family:
        inherit;

    font-size:
        12px;

    font-weight:
        800;

    box-shadow:
        0 10px 24px
        rgba(37, 99, 235, .18);

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;

}


.auth-submit:hover {

    background:
        #1d4ed8;

    transform:
        translateY(-1px);

    box-shadow:
        0 14px 28px
        rgba(37, 99, 235, .22);

}


.auth-submit:active {

    transform:
        translateY(0);

}


/* =====================================================
   FORM NOTE
===================================================== */

.auth-form-note {

    margin-top:
        22px;

    padding-top:
        18px;

    border-top:
        1px solid
        #eef2f7;

    color:
        #94a3b8;

    font-size:
        10px;

    line-height:
        1.6;

    text-align:
        center;

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .auth-layout {

        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, 430px);

    }


    .auth-brand {

        padding:
            35px 45px;

    }


    .auth-form-side {

        padding:
            35px;

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .auth-layout {

        display:
            block;

        min-height:
            100vh;

    }


    .auth-brand {

        min-height:
            auto;

        padding:
            25px 22px 35px;

    }


    .auth-brand-content {

        margin-top:
            70px;

    }


    .auth-brand-content h1 {

        font-size:
            34px;

    }


    .auth-brand-content p {

        margin-top:
            16px;

        font-size:
            12px;

    }


    .auth-brand-footer {

        display:
            none;

    }


    .auth-form-side {

        padding:
            40px 22px 45px;

        border-top:
            1px solid
            #e2e8f0;

        border-left:
            0;

    }


    .auth-form-wrapper {

        max-width:
            100%;

    }

}


/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

    .auth-brand {

        padding:
            22px 18px 30px;

    }


    .auth-brand-content {

        margin-top:
            55px;

    }


    .auth-brand-content h1 {

        font-size:
            30px;

    }


    .auth-form-side {

        padding:
            35px 18px 40px;

    }


    .auth-form-header h2 {

        font-size:
            27px;

    }

}