/* =========================================================
   LOGIN / REGISTER PAGE
   ========================================================= */

.auth-page {
    padding: 0 0 70px;
}

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

.auth-card {
    height: 100%;

    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: var(--white);

    box-shadow:
        0 10px 32px rgba(45, 49, 53, 0.06);
}

.auth-card--login {
    position: sticky;
    top: 25px;

    height: auto;

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(245, 130, 32, 0.08),
            transparent 34%
        ),
        var(--white);
}

/* =========================================================
   ICON
   ========================================================= */

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

    width: 58px;
    height: 58px;

    margin-bottom: 23px;

    font-size: 20px;

    color: var(--white);

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            var(--orange),
            #ff9c48
        );

    box-shadow:
        0 8px 22px rgba(245, 130, 32, 0.22);
}

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

.auth-card__eyebrow {
    display: block;

    margin-bottom: 6px;

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

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: var(--orange);
}

.auth-card__heading h2,
.register-header h2 {
    margin: 0 0 9px;

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

    letter-spacing: -0.025em;

    color: var(--text);
}

.auth-card__heading p,
.register-header p {
    margin: 0 0 25px;

    font-size: 13px;
    line-height: 1.7;

    color: #74797e;
}

/* =========================================================
   REGISTER HEADER
   ========================================================= */

.register-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 25px;
    padding-bottom: 23px;

    border-bottom: 1px solid #eee9e4;
}

.register-header p {
    margin-bottom: 0;
}

.register-header__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    flex: 0 0 54px;

    font-size: 18px;

    color: var(--orange);

    border-radius: 14px;

    background: var(--orange-light);
}

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

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

.auth-field label {
    display: block;

    margin-bottom: 7px;

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

    color: #4d5155;
}

.auth-control {
    position: relative;

    display: flex;
    align-items: center;
}

.auth-control > i {
    position: absolute;

    left: 14px;

    z-index: 2;

    font-size: 13px;

    color: #aaa39c;

    pointer-events: none;
}

.auth-control input {
    width: 100%;
    min-height: 47px;

    padding: 9px 14px;

    font-size: 13px;

    color: var(--text);

    outline: none;

    border: 1px solid #e4e1dd;
    border-radius: 10px;

    background: var(--white);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.auth-control i + input {
    padding-left: 41px;
}

.auth-control input:hover {
    border-color: #d7d1cb;
}

.auth-control input:focus {
    border-color: #f2ae73;

    background: #fffdfb;

    box-shadow:
        0 0 0 4px rgba(245, 130, 32, 0.08);
}

/* =========================================================
   AUTH BUTTON
   ========================================================= */

.auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 47px;

    padding: 10px 19px;

    border: 0;
    border-radius: 10px;

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

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-button--orange {
    color: var(--white);

    background: var(--orange);

    box-shadow:
        0 6px 18px rgba(245, 130, 32, 0.19);
}

.auth-button--orange:hover {
    color: var(--white);

    background: var(--orange-dark);

    transform: translateY(-1px);

    box-shadow:
        0 9px 23px rgba(245, 130, 32, 0.23);
}

.auth-card--login .auth-button {
    width: 100%;
}

/* =========================================================
   LOGIN FOOTER
   ========================================================= */

.auth-card__footer {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin-top: 24px;
    padding: 13px;

    font-size: 11px;
    line-height: 1.55;

    color: #76716c;

    border-radius: 9px;

    background: #faf8f5;
}

.auth-card__footer i {
    margin-top: 2px;

    color: var(--orange);
}

/* =========================================================
   REGISTER SECTION
   ========================================================= */

.register-section {
    padding: 23px 0;

    border-bottom: 1px solid #f0ede9;
}

.register-section:first-of-type {
    padding-top: 5px;
}

.register-section__title {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 20px;
}

.register-section__title > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

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

    color: var(--orange);

    border-radius: 9px;

    background: var(--orange-light);
}

.register-section__title strong {
    display: block;

    margin-bottom: 2px;

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

    color: #373b3f;
}

.register-section__title small {
    display: block;

    font-size: 10px;

    color: #9a9c9e;
}

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

.register-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;
}

.register-submit__note {
    display: flex;
    align-items: center;

    gap: 9px;

    max-width: 400px;

    font-size: 11px;
    line-height: 1.5;

    color: #85817d;
}

.register-submit__note i {
    color: var(--orange);
}

/* =========================================================
   ALERTS
   ========================================================= */

.auth-alert {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 22px;
    padding: 14px 15px;

    border-radius: 11px;
}

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

    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    border-radius: 8px;
}

.auth-alert strong {
    display: block;

    margin-bottom: 2px;

    font-size: 12px;
    font-weight: 700;
}

.auth-alert p {
    margin: 0;

    font-size: 11px;
    line-height: 1.55;
}

.auth-alert--error {
    color: #9d3b2a;

    border: 1px solid #f3d0c9;

    background: #fff5f2;
}

.auth-alert--error .auth-alert__icon {
    color: #d6523c;

    background: #ffe5df;
}

.auth-alert--success {
    color: #3d7552;

    border: 1px solid #cae4d3;

    background: #f3fbf6;
}

.auth-alert--success .auth-alert__icon {
    color: #4f9869;

    background: #dff2e6;
}

/* =========================================================
   LOGIN SUCCESS
   ========================================================= */

.login-success {
    max-width: 650px;

    margin: 0 auto;
    padding: 55px 35px;

    text-align: center;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: var(--white);

    box-shadow:
        0 10px 32px rgba(45, 49, 53, 0.06);
}

.login-success__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    margin: 0 auto 20px;

    font-size: 22px;

    color: var(--white);

    border-radius: 50%;

    background: #65a677;
}

.login-success h2 {
    margin: 0 0 8px;

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

    color: var(--text);
}

.login-success p {
    margin: 0 auto 23px;

    max-width: 420px;

    font-size: 13px;
    line-height: 1.7;

    color: #777c80;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .auth-card--login {
        position: static;
    }

}

@media (max-width: 767.98px) {

    .auth-page {
        padding-bottom: 45px;
    }

    .auth-card {
        padding: 22px;
    }

    .register-header {
        gap: 15px;
    }

    .register-header__icon {
        width: 46px;
        height: 46px;

        flex-basis: 46px;
    }

    .register-submit {
        align-items: stretch;
        flex-direction: column;
    }

    .register-submit .auth-button {
        width: 100%;
    }

}
