/* =========================================================
   ROZTRP AUTH / WELCOME
   ========================================================= */

.auth-page-body {
    margin: 0;

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 30% 40%,
            #0c141b 0,
            #050709 42%,
            #000000 78%
        );

    color: #f3f0e8;
}


.auth-page {
    min-height: 100vh;

    padding:
        30px
        24px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.auth-shell {
    width: 100%;
    max-width: 980px;

    display: grid;

    grid-template-columns:
        minmax(300px, 420px)
        minmax(320px, 420px);

    align-items: center;
    justify-content: center;

    gap: 70px;
}


/* =========================================================
   IDENTITY
   ========================================================= */

.auth-identity {
    display: flex;
    align-items: center;
    justify-content: center;
}


.auth-logo {
    display: block;

    width: 100%;
    max-width: 390px;
    height: auto;
}


/* =========================================================
   HEADING
   ========================================================= */

.auth-heading {
    margin-bottom: 23px;
}


.auth-heading h1 {
    margin: 0;

    color: #f4f0e7;

    font-size: 30px;
    font-weight: 780;

    line-height: 1.14;

    letter-spacing: -0.035em;
}


.auth-heading p {
    margin:
        9px
        0
        0;

    color: #8e8d88;

    font-size: 14px;

    line-height: 1.45;
}


/* =========================================================
   CARD
   ========================================================= */

.auth-card {
    padding: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(18, 22, 25, 0.96),
            rgba(9, 12, 14, 0.96)
        );

    border:
        1px solid
        #292d30;

    border-radius: 12px;

    box-shadow:
        0 18px 50px
        rgba(0, 0, 0, 0.34);
}


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

.auth-form {
    margin: 0;
}


.auth-field {
    margin-bottom: 15px;
}


.auth-field label {
    display: block;

    margin-bottom: 6px;

    color: #aaa8a2;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.065em;
    text-transform: uppercase;
}


.auth-input,
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    min-height: 47px;

    padding:
        9px
        12px;

    border:
        1px solid
        #393d40;

    border-radius: 7px;

    background: #080b0d;
    color: #f3f0e8;

    outline: none;
}


.auth-input:focus,
.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
    border-color: #c85b22;

    box-shadow:
        0 0 0 3px
        rgba(200, 91, 34, 0.12);
}


/* =========================================================
   REMEMBER
   ========================================================= */

.auth-remember {
    margin:
        3px
        0
        19px;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: #aaa8a2;

    font-size: 12px;

    cursor: pointer;
}


.auth-checkbox {
    width: 17px;
    height: 17px;

    margin: 0;

    accent-color: #c85b22;
}


/* =========================================================
   PRIMARY ACTION
   ========================================================= */

.auth-primary-button {
    width: 100%;
    min-height: 47px;

    border:
        1px solid
        #c85b22;

    border-radius: 7px;

    background: #c85b22;
    color: #ffffff;

    font: inherit;
    font-weight: 750;

    cursor: pointer;

    box-shadow:
        0 5px 16px
        rgba(200, 91, 34, 0.18);

    transition:
        background 0.12s ease,
        border-color 0.12s ease,
        transform 0.08s ease;
}


.auth-primary-button:hover {
    background: #df6a2d;
    border-color: #df6a2d;
}


.auth-primary-button:active {
    transform: translateY(1px);
}


/* =========================================================
   LINKS
   ========================================================= */

.auth-links {
    margin-top: 18px;

    display: grid;
    grid-template-columns:
        1fr 1fr;

    gap: 10px;
}


.auth-links a {
    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    color: #aaa8a2;

    font-size: 12px;
    font-weight: 650;

    text-decoration: none;
}


.auth-create-link {
    border:
        1px solid
        #393d40;
}


.auth-create-link:hover {
    border-color: #5b5e60;

    color: #f1ede4;
}


.auth-forgot-link:hover,
.auth-links-single a:hover {
    color: #d66c34;
}


.auth-links-single {
    grid-template-columns: 1fr;
}


/* =========================================================
   ERRORS
   ========================================================= */

.auth-error {
    margin-bottom: 16px;

    padding:
        10px
        12px;

    border:
        1px solid
        #57302d;

    border-radius: 7px;

    background: #261616;
    color: #df9993;

    font-size: 12px;
    line-height: 1.4;
}


.auth-field-error {
    margin-top: 5px;

    color: #df9993;

    font-size: 11px;
}


/* Password validator help text */

.auth-field .helptext,
.auth-field .helptext ul {
    color: #777873;

    font-size: 10px;
    line-height: 1.4;
}


.auth-field .helptext ul {
    padding-left: 18px;
}


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

@media (max-width: 760px) {

    .auth-page {
        padding:
            24px
            16px
            36px;

        align-items: flex-start;
    }


    .auth-shell {
        grid-template-columns: 1fr;

        gap: 8px;

        max-width: 430px;
    }


    .auth-logo {
        max-width: 210px;
    }


    .auth-heading {
        margin:
            4px
            0
            18px;

        text-align: center;
    }


    .auth-heading h1 {
        font-size: 25px;
    }


    .auth-card {
        padding:
            21px
            18px;
    }

}

/* =========================================================
   LOGIN WELCOME HEADING
   ========================================================= */

.auth-welcome {
    grid-column: 1 / -1;

    margin-bottom: 12px;

    text-align: center;
}


.auth-welcome-small {
    margin-bottom: 5px;

    color: #c85b22;

    font-size: 16px;
    font-weight: 750;

    letter-spacing: 0.02em;
}


.auth-welcome h1 {
    margin: 0;

    color: #f4f0e7;

    font-size: 30px;
    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -0.035em;
}


/* Slightly tighten login composition */

.auth-welcome + .auth-identity {
    align-self: center;
}


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

@media (max-width: 760px) {

    .auth-welcome {
        grid-column: 1;

        margin-bottom: 14px;
    }


    .auth-welcome-small {
        font-size: 14px;
    }


    .auth-welcome h1 {
        font-size: 24px;
    }

}