:root {
    --blizz-green: #159b78;
    --blizz-green-dark: #087b60;
    --blizz-green-light: #eaf7f2;
    --blizz-yellow: #e9c75b;
    --blizz-text: #252c29;
    --blizz-muted: #7b8580;
    --blizz-border: #e5eae7;
    --blizz-background: #ffffff;
}

.auth-page {
    min-height: 100vh;
    background: #fff;
    color: var(--blizz-text);
    font-family: 'Open Sans', Arial, sans-serif;
}

.auth-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Branding */

.auth-brand {
    background: linear-gradient(145deg, #f3faf6, #ffffff 75%);
    padding: 55px 9%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.auth-brand::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border: 1px solid rgba(21, 155, 120, .09);
    border-radius: 50%;
    right: -220px;
    bottom: -170px;
    box-shadow: 0 0 0 45px rgba(21, 155, 120, .025),
        0 0 0 90px rgba(21, 155, 120, .02);
    pointer-events: none;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    color: var(--blizz-text);
    font-size: 23px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.auth-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-content {
    max-width: 540px;
    margin: 50px auto;
    position: relative;
    z-index: 1;
}

.brand-symbol {
    width: 58px;
    height: 58px;
    background: var(--blizz-green-light);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blizz-green);
    font-size: 30px;
    margin-bottom: 30px;
}

.brand-content h1 {
    font-size: clamp(30px, 3vw, 43px);
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -1.3px;
    margin: 0 0 22px;
    color: #26332d;
}

.brand-content>p {
    color: #718079;
    font-size: 16px;
    line-height: 1.9;
    max-width: 460px;
}

.brand-features {
    margin-top: 38px;
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.brand-features>div {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: #53645b;
}

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: white;
    color: var(--blizz-green);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.brand-footer {
    color: #89958e;
    font-size: 12px;
    line-height: 1.7;
    max-width: 390px;
    position: relative;
    z-index: 1;
}

/* Login area */

.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 30px;
}

.auth-card {
    width: 100%;
    max-width: 430px;
}

.mobile-logo {
    display: none;
}

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

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--blizz-green);
}

.auth-heading h2 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.8px;
    margin: 12px 0;
    color: #252c29;
}

.auth-heading p {
    color: var(--blizz-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Form fields */

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

.auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #39463f;
    margin-bottom: 9px;
}

.auth-input {
    width: 100%;
    height: 52px;
    box-sizing: border-box;
    padding: 0 15px;
    border: 1px solid var(--blizz-border);
    border-radius: 10px;
    outline: none;
    background: #fff;
    font-size: 14px;
    color: var(--blizz-text);
    transition: .2s ease;
}

.auth-input::placeholder {
    color: #aab2ad;
}

.auth-input:focus {
    border-color: var(--blizz-green);
    box-shadow: 0 0 0 3px rgba(21, 155, 120, .10);
}

.field-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.field-label-row a {
    font-size: 12px;
    font-weight: 600;
    color: var(--blizz-green);
    text-decoration: none;
}

.field-label-row a:hover {
    color: var(--blizz-green-dark);
    text-decoration: underline;
}

.password-wrapper {
    position: relative;
}

.password-wrapper .auth-input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #8b9790;
    cursor: pointer;
    padding: 5px;
}

.password-toggle:hover {
    color: var(--blizz-green);
}

/* Submit */

.auth-submit-wrapper {
    margin-top: 29px;
}

.auth-submit {
    width: 100%;
    height: 53px;
    border: none;
    border-radius: 10px;
    background: var(--blizz-green);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
    box-shadow: 0 5px 14px rgba(21, 155, 120, .16);
}

.auth-submit:hover {
    background: var(--blizz-green-dark);
    transform: translateY(-1px);
}

/* Error */

.auth-error {
    display: flex;
    gap: 12px;
    padding: 14px;
    margin-bottom: 23px;
    border: 1px solid #f0d4d0;
    border-radius: 10px;
    background: #fff8f7;
    color: #a53e35;
}

.error-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fbe5e2;
    border-radius: 50%;
    font-weight: 700;
}

.auth-error strong {
    font-size: 13px;
}

.auth-error p {
    font-size: 12px;
    line-height: 1.6;
    margin: 4px 0 0;
}

/* Google login */

.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 28px 0;
    color: #a0aaa4;
    font-size: 11px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--blizz-border);
}

.google-login-button {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--blizz-border);
    border-radius: 10px;
    background: white;
    color: #46534c;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    opacity: .75;
    cursor: not-allowed;
}

.google-login-button small {
    position: absolute;
    right: 12px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    color: #9b8b50;
    background: #fff9e7;
    padding: 4px 6px;
    border-radius: 5px;
}

.auth-bottom {
    text-align: center;
    margin-top: 30px;
}

.auth-bottom p {
    font-size: 13px;
    color: var(--blizz-muted);
}

.auth-bottom a {
    color: var(--blizz-green);
    font-weight: 700;
    text-decoration: none;
}

.auth-bottom a:hover {
    text-decoration: underline;
}

.auth-security {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #f0f2f0;
    text-align: center;
    color: #9ba59f;
    font-size: 11px;
}

/* Mobile */

@media (max-width: 850px) {

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

    .auth-brand {
        display: none;
    }

    .auth-main {
        min-height: 100vh;
        padding: 35px 24px;
    }

    .auth-card {
        max-width: 440px;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 55px;
        font-size: 21px;
        font-weight: 700;
    }

    .mobile-logo img {
        width: 44px;
        height: 44px;
        object-fit: contain;
    }

    .auth-heading h2 {
        font-size: 27px;
    }

}

@media (max-width: 480px) {

    .auth-main {
        padding: 25px 20px;
    }

    .mobile-logo {
        margin-bottom: 42px;
    }

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

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

    .google-login-button small {
        font-size: 8px;
    }

}

:root {
    --reset-green: #159b78;
    --reset-green-dark: #087b60;
    --reset-green-light: #eaf7f2;
    --reset-text: #26332d;
    --reset-muted: #7d8982;
    --reset-border: #e6ebe8;
}

.password-reset-page {
    min-height: 100vh;
    padding: 45px 20px;
    box-sizing: border-box;
    background: #f8faf9;
    font-family: 'Open Sans', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.password-reset-container {
    width: 100%;
    max-width: 465px;
}

/* Brand */

.reset-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-bottom: 28px;
    color: var(--reset-text);
    font-size: 21px;
    font-weight: 700;
}

.reset-brand img {
    width: 47px;
    height: 47px;
    object-fit: contain;
}

/* Card */

.reset-card {
    background: #fff;
    border: 1px solid var(--reset-border);
    border-radius: 18px;
    padding: 38px;
    box-shadow: 0 12px 40px rgba(31, 60, 45, .055);
}

.reset-icon {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    background: var(--reset-green-light);
    color: var(--reset-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.reset-heading {
    margin-bottom: 27px;
}

.reset-eyebrow {
    color: var(--reset-green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.reset-heading h1 {
    font-size: 27px;
    line-height: 1.3;
    letter-spacing: -.7px;
    color: var(--reset-text);
    margin: 10px 0;
    font-weight: 700;
}

.reset-heading p {
    color: var(--reset-muted);
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

.reset-heading strong {
    color: var(--reset-text);
}

/* OTP information */

.otp-information {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px;
    background: #f5faf7;
    border: 1px solid #e4f1e9;
    border-radius: 12px;
    margin-bottom: 28px;
}

.otp-information-icon {
    flex-shrink: 0;
    color: var(--reset-green);
    margin-top: 2px;
}

.otp-information strong {
    font-size: 13px;
    color: #33443a;
}

.otp-information p {
    font-size: 12px;
    line-height: 1.65;
    color: var(--reset-muted);
    margin: 5px 0 8px;
}

.masked-mobile {
    display: inline-block;
    color: var(--reset-green-dark);
    background: #e7f4ed;
    border-radius: 5px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
}

/* Form */

.reset-form .form-group {
    margin-bottom: 20px;
}

.reset-form label {
    display: block;
    color: #39463f;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 9px;
}

.reset-form input:not([type="hidden"]) {
    width: 100%;
    height: 49px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid var(--reset-border);
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: var(--reset-text);
    font-size: 14px;
    transition: .2s ease;
}

.reset-form input:focus {
    border-color: var(--reset-green);
    box-shadow: 0 0 0 3px rgba(21, 155, 120, .10);
}

.reset-form input::placeholder {
    color: #aab3ad;
}

/* Submit */

.reset-submit {
    margin-top: 26px;
}

.reset-submit button,
.reset-submit input[type="submit"] {
    width: 100%;
    height: 52px;
    background: var(--reset-green);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
    box-shadow: 0 5px 14px rgba(21, 155, 120, .15);
}

.reset-submit button:hover,
.reset-submit input[type="submit"]:hover {
    background: var(--reset-green-dark);
    transform: translateY(-1px);
}

/* Divider */

.reset-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 28px 0;
    color: #a0aaa4;
    font-size: 10px;
    font-weight: 600;
}

.reset-divider::before,
.reset-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--reset-border);
}

/* Email reset */

.email-reset-link {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px solid var(--reset-border);
    border-radius: 11px;
    text-decoration: none;
    transition: .2s ease;
}

.email-reset-link:hover {
    background: #f8fcfa;
    border-color: #b7ddce;
}

.email-reset-icon {
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--reset-green-light);
    color: var(--reset-green);
}

.email-reset-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.email-reset-text strong {
    color: var(--reset-text);
    font-size: 12px;
}

.email-reset-text small {
    color: var(--reset-muted);
    font-size: 10px;
    line-height: 1.5;
}

.email-reset-arrow {
    color: var(--reset-green);
    font-size: 20px;
}

.reset-footer {
    text-align: center;
    margin-top: 25px;
    color: #9aa49e;
    font-size: 11px;
}

.reset-footer span {
    margin-right: 5px;
}

/* Responsive */

@media(max-width: 520px) {

    .password-reset-page {
        padding: 25px 15px;
        align-items: flex-start;
    }

    .password-reset-container {
        margin: auto 0;
    }

    .reset-card {
        padding: 27px 21px;
        border-radius: 15px;
    }

    .reset-heading h1 {
        font-size: 24px;
    }

    .reset-brand {
        margin-bottom: 22px;
    }

           .google-login-wrapper {
               width: 100%;
               display: flex;
               justify-content: center;
               align-items: center;
               margin: 20px 0;
           }
    
           #google-signin-button {
               width: 100%;
               display: flex;
               justify-content: center;
               align-items: center;
           }
    
           /* Google creates an iframe inside this container */
           #google-signin-button iframe {
               margin-left: auto !important;
               margin-right: auto !important;
           }

}