/*
 * SmartBtn — standalone auth pages
 * (/auth/password_reset, /auth/password_change, /lk/change_email)
 *
 * Centered brand card on the light site background, matching the
 * registration page and the v2 marketing design language.
 * Loaded ONLY by these three views.
 */

/* These pages render as a standalone centered card — hide the legacy site chrome */
.header,
.footer,
.smart_button_mobile {
    display: none;
}

body {
    background: #EAF2FF;
}

.auth-page {
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 48px 16px;
    background: #EAF2FF;
    font-family: 'Gilroy', 'Roboto', Arial, sans-serif;
}

.auth-page,
.auth-page * {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.auth-page__card {
    width: 100%;
    max-width: 464px;
    background: #FFFFFF;
    border-radius: 20px;
    -webkit-box-shadow: 0 20px 60px rgba(20, 102, 204, 0.12);
            box-shadow: 0 20px 60px rgba(20, 102, 204, 0.12);
    padding: 40px 40px 32px;
}

.auth-page__logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-bottom: 28px;
}

.auth-page__logo img {
    width: 132px;
    height: auto;
}

.auth-page__title {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 32px;
    font-weight: 800;
    color: #211D2E;
    text-align: center;
}

.auth-page__subtitle {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 22px;
    color: #6E7191;
    text-align: center;
}

.auth-page__form {
    margin-top: 20px;
}

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

.auth-page__label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    color: #4E4B66;
}

.auth-page__control {
    position: relative;
}

.auth-page__field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    pointer-events: none;
}

.auth-page__input {
    display: block;
    width: 100%;
    padding: 15px 16px 15px 52px;
    font-family: inherit;
    font-size: 15px;
    line-height: 20px;
    color: #211D2E;
    background: #F8FAFF;
    border: 1px solid #DDE3F0;
    border-radius: 14px;
    outline: none;
    -webkit-transition: border-color 0.2s, background 0.2s, -webkit-box-shadow 0.2s;
    -o-transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.auth-page__input::-webkit-input-placeholder { color: #A0A3BD; }
.auth-page__input::-moz-placeholder          { color: #A0A3BD; }
.auth-page__input:-ms-input-placeholder      { color: #A0A3BD; }
.auth-page__input::placeholder               { color: #A0A3BD; }

.auth-page__input:focus {
    background: #FFFFFF;
    border-color: #4A8CB5;
    -webkit-box-shadow: 0 0 0 3px rgba(70, 193, 246, 0.18);
            box-shadow: 0 0 0 3px rgba(70, 193, 246, 0.18);
}

/* Primary CTA — same blue gradient as the marketing site .smartbtn-button */
.auth-page__submit {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 16px 24px;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    text-align: center;
    color: #FFFFFF;
    background: linear-gradient(90.25deg, #4A8CB5 0.22%, #69BDEF 88.56%);
    border-radius: 15px;
    -webkit-box-shadow: 0 15px 30px rgba(70, 193, 246, 0.25);
            box-shadow: 0 15px 30px rgba(70, 193, 246, 0.25);
    -webkit-transition: -webkit-box-shadow 0.2s, -webkit-filter 0.2s;
    -o-transition: box-shadow 0.2s, filter 0.2s;
    transition: box-shadow 0.2s, filter 0.2s;
}

.auth-page__submit:hover {
    -webkit-filter: brightness(1.05);
            filter: brightness(1.05);
    -webkit-box-shadow: 0 10px 24px rgba(70, 193, 246, 0.35);
            box-shadow: 0 10px 24px rgba(70, 193, 246, 0.35);
}

.auth-page__submit:active {
    -webkit-transform: translateY(1px);
        -ms-transform: translateY(1px);
            transform: translateY(1px);
}

.auth-page__back {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    color: #4A8CB5;
    text-decoration: none;
}

.auth-page__back:hover {
    color: #2A8CB7;
    text-decoration: underline;
}

/* Server-side errors / notifications (common.errors / common.notifications includes) */
.auth-page .error-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.auth-page .error {
    font-size: 14px;
    line-height: 20px;
    color: #B42318;
    background-color: #FDECEC;
    border: 1px solid #F5C4C4;
    border-left: 4px solid #CF2E2E;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 0 0 12px;
}

.auth-page .success {
    display: block;
    font-size: 14px;
    line-height: 20px;
    color: #2E7D32;
    background-color: #EAF7E9;
    border: 1px solid #C7E6C0;
    border-left: 4px solid #4CAF50;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 0 0 12px;
}

@media (max-width: 520px) {
    .auth-page {
        padding: 24px 12px;
    }
    .auth-page__card {
        padding: 32px 20px 24px;
        border-radius: 16px;
    }
    .auth-page__title {
        font-size: 22px;
        line-height: 28px;
    }
    .auth-page__logo img {
        width: 110px;
    }
}
