/* =========================================================
   FORGOT PASSWORD PAGE
========================================================= */

* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    padding: 0;
}


body.forgot-password-page {
    min-height: 100vh;

    background: #ffffff;

    font-family:
        "Segoe UI Historic",
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    color: #282E3B;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.forgot-password-layout {
    width: 100%;
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(480px, 0.95fr);
}


/* =========================================================
   LEFT PANEL
========================================================= */

.forgot-password-left-panel {
    position: relative;

    min-height: 100vh;

    padding:
        40px
        56px
        0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #f4f5f7 0%,
            #e9ebef 50%,
            #dfe2e7 100%
        );

    color: #282E3B;
}


/* Background decoration */

.forgot-password-left-panel::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    left: -200px;
    bottom: -220px;

    border-radius: 50%;

    background:
        rgba(
            40,
            46,
            59,
            0.025
        );

    pointer-events: none;
}


.forgot-password-left-panel::after {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    right: -160px;
    top: -150px;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.35
        );

    pointer-events: none;
}


/* =========================================================
   LOGO
========================================================= */

.forgot-password-brand {
    position: relative;
    z-index: 5;
}


.forgot-password-brand a {
    display: inline-flex;
}


.forgot-password-logo {
    display: block;

    width: auto;
    max-width: 190px;
    height: auto;
}


/* =========================================================
   LEFT CENTER CONTENT
========================================================= */

.forgot-password-left-content {
    position: relative;
    z-index: 2;

    flex: 1;

    width: 100%;
    max-width: 680px;

    margin: 0 auto;

    padding:
        40px
        20px
        0;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;
}


.forgot-password-left-text {
    max-width: 570px;
}


.forgot-password-eyebrow {
    display: inline-flex;

    margin-bottom: 18px;

    padding:
        8px
        15px;

    border:
        1px solid
        rgba(
            40,
            46,
            59,
            0.08
        );

    border-radius: 30px;

    background:
        rgba(
            40,
            46,
            59,
            0.06
        );

    color: #4f5868;

    font-size: 13px;
    font-weight: 700;
}


.forgot-password-left-text h1 {
    margin: 0;

    color: #282E3B;

    font-size:
        clamp(
            38px,
            4vw,
            60px
        );

    line-height: 1.05;

    font-weight: 700;

    letter-spacing: -1.5px;
}


.forgot-password-left-text p {
    max-width: 520px;

    margin:
        22px
        auto
        0;

    color: #697180;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   LEFT IMAGE
========================================================= */

.forgot-password-visual {
    width: 100%;

    display: flex;

    justify-content: center;
    align-items: flex-end;

    margin-top: 20px;
}


.forgot-password-visual img {
    display: block;

    width: auto;

    max-width: 300px;
    max-height: 280px;

    object-fit: contain;
}


/* =========================================================
   RIGHT PANEL
========================================================= */

.forgot-password-right-panel {
    min-height: 100vh;

    display: flex;

    justify-content: center;
    align-items: center;

    padding:
        60px
        70px;

    background: #ffffff;
}


/* =========================================================
   FORM WRAPPER
========================================================= */

.forgot-password-form-wrapper {
    width: 100%;
    max-width: 440px;
}


/* =========================================================
   HEADER
========================================================= */

.forgot-password-form-header {
    margin-bottom: 34px;
}


.forgot-password-form-header h2 {
    margin:
        0
        0
        10px;

    color: #282E3B;

    font-size: 34px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: -0.5px;
}


.forgot-password-form-header p {
    margin: 0;

    color: #737b8c;

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================================
   FIELD
========================================================= */

.forgot-password-field {
    width: 100%;
}


.forgot-password-field label {
    display: block;

    margin-bottom: 8px;

    color: #303647;

    font-size: 14px;

    font-weight: 650;
}


.forgot-password-field input {
    width: 100%;

    height: 52px;

    margin: 0;

    padding:
        0
        16px;

    border:
        1px solid
        #d9dde7;

    border-radius: 10px;

    outline: none;

    background: #ffffff;

    color: #1f2937;

    font-family:
        "Segoe UI Historic",
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    font-size: 15px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.forgot-password-field input::placeholder {
    color: #a4aab6;
}


.forgot-password-field input:focus {
    border-color: #087a31;

    box-shadow:
        0
        0
        0
        3px
        rgba(
            8,
            122,
            49,
            0.10
        );
}


/* =========================================================
   MESSAGE
========================================================= */

.forgot-password-message {
    margin:
        0
        0
        22px;

    padding:
        13px
        15px;

    border-radius: 9px;

    font-size: 14px;

    line-height: 1.5;
}


.forgot-password-message.success {
    background: #eaf7ee;

    border:
        1px solid
        #b9e2c4;

    color: #216e39;
}


.forgot-password-message.error {
    background: #fff0f0;

    border:
        1px solid
        #efb5b5;

    color: #b42318;
}


/* =========================================================
   SEND RESET LINK BUTTON
========================================================= */

#forgotPasswordButton {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;

    min-height: 54px;

    margin:
        22px
        0
        0;

    padding:
        14px
        20px;

    border: 0;

    border-radius: 9px;

    background:
        linear-gradient(
            90deg,
            #087a31,
            #078937
        );

    color: #ffffff;

    font-family:
        "Segoe UI Historic",
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0
        7px
        18px
        rgba(
            8,
            122,
            49,
            0.20
        );

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.15s ease;
}


/* Arrow */

#forgotPasswordButton::after {
    content: "";

    width: 7px;
    height: 7px;

    border-top:
        2px solid
        #ffffff;

    border-right:
        2px solid
        #ffffff;

    margin-left: 2px;

    transform:
        rotate(
            45deg
        );

    transition:
        transform
        0.15s ease;
}


/* Hover */

#forgotPasswordButton:hover:not(:disabled) {
    transform:
        translateY(
            -1px
        );

    filter:
        brightness(
            1.05
        );

    box-shadow:
        0
        9px
        22px
        rgba(
            8,
            122,
            49,
            0.28
        );
}


#forgotPasswordButton:hover:not(:disabled)::after {
    transform:
        translateX(
            3px
        )
        rotate(
            45deg
        );
}


/* Disabled */

#forgotPasswordButton:disabled {
    opacity: 0.6;

    cursor: not-allowed;

    transform: none;
}


/* =========================================================
   LOGIN / REGISTER LINKS
========================================================= */

.forgot-password-login,
.forgot-password-register {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 5px;

    text-align: center;

    font-size: 14px;
}


.forgot-password-login {
    margin-top: 26px;
}


.forgot-password-register {
    margin-top: 9px;
}


.forgot-password-login span,
.forgot-password-register span {
    color: #777f90;
}


.forgot-password-login a,
.forgot-password-register a {
    color: #087a31;

    font-weight: 700;

    text-decoration: none;
}


.forgot-password-login a:hover,
.forgot-password-register a:hover {
    text-decoration: underline;
}


/* =========================================================
   FOOTER
========================================================= */

.forgot-password-footer {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 42px;

    color: #b0b5bf;

    font-size: 12px;
}


.forgot-password-footer a {
    color: #9097a5;

    text-decoration: none;
}


.forgot-password-footer a:hover {
    color: #087a31;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .forgot-password-layout {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(420px, 1.1fr);
    }


    .forgot-password-left-panel {
        padding:
            32px
            35px
            0;
    }


    .forgot-password-right-panel {
        padding:
            50px
            45px;
    }


    .forgot-password-left-text h1 {
        font-size: 42px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    /*
     * Hide brand panel
     */

    .forgot-password-left-panel {
        display: none;
    }


    .forgot-password-layout {
        display: block;

        width: 100%;

        min-height: 100vh;
    }


    .forgot-password-right-panel {
        width: 100%;

        min-height: 100vh;

        padding:
            40px
            24px;
    }


    .forgot-password-form-wrapper {
        width: 100%;

        max-width: 440px;
    }


    .forgot-password-form-header h2 {
        font-size: 30px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .forgot-password-right-panel {
        padding:
            32px
            20px;
    }


    .forgot-password-form-header {
        margin-bottom: 28px;
    }


    .forgot-password-form-header h2 {
        font-size: 28px;
    }


    .forgot-password-field input,
    #forgotPasswordButton {
        min-height: 50px;
    }


    .forgot-password-footer {
        margin-top: 35px;
    }

}


/* =========================================================
   RESET PASSWORD PAGE
   Shared with forgot-password.css
========================================================= */


/* =========================================================
   SECOND PASSWORD FIELD
========================================================= */

.reset-password-confirm-field {
    margin-top: 18px;
}


/* =========================================================
   RESET PASSWORD MESSAGE
========================================================= */

.reset-password-message {
    margin:
        0
        0
        22px;

    padding:
        13px
        15px;

    border-radius: 9px;

    font-size: 14px;

    line-height: 1.5;
}


.reset-password-message.success {
    background: #eaf7ee;

    border:
        1px solid
        #b9e2c4;

    color: #216e39;
}


.reset-password-message.error {
    background: #fff0f0;

    border:
        1px solid
        #efb5b5;

    color: #b42318;
}


/* =========================================================
   PASSWORD REQUIREMENTS
========================================================= */

.password-requirements {
    margin:
        18px
        0
        0;

    padding:
        14px
        16px;

    border:
        1px solid
        #e0e3e8;

    border-radius: 10px;

    background: #f7f8fa;

    color: #5f6673;

    font-size: 13px;

    line-height: 1.5;
}


.password-requirements strong {
    display: block;

    margin-bottom: 6px;

    color: #303647;

    font-size: 13px;

    font-weight: 700;
}


.password-requirements ul {
    margin:
        0
        0
        0
        18px;

    padding: 0;
}


.password-requirements li {
    margin-bottom: 3px;
}


.password-requirements li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   RESET PASSWORD BUTTON
========================================================= */

#resetPasswordButton {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;

    min-height: 54px;

    margin:
        22px
        0
        0;

    padding:
        14px
        20px;

    border: 0;

    border-radius: 9px;

    background:
        linear-gradient(
            90deg,
            #087a31,
            #078937
        );

    color: #ffffff;

    font-family:
        "Segoe UI Historic",
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0
        7px
        18px
        rgba(
            8,
            122,
            49,
            0.20
        );

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.15s ease;
}


/* =========================================================
   RESET BUTTON ARROW
========================================================= */

#resetPasswordButton::after {
    content: "";

    width: 7px;
    height: 7px;

    border-top:
        2px solid
        #ffffff;

    border-right:
        2px solid
        #ffffff;

    margin-left: 2px;

    transform:
        rotate(
            45deg
        );

    transition:
        transform
        0.15s ease;
}


/* =========================================================
   RESET BUTTON HOVER
========================================================= */

#resetPasswordButton:hover:not(:disabled) {
    transform:
        translateY(
            -1px
        );

    filter:
        brightness(
            1.05
        );

    box-shadow:
        0
        9px
        22px
        rgba(
            8,
            122,
            49,
            0.28
        );
}


#resetPasswordButton:hover:not(:disabled)::after {
    transform:
        translateX(
            3px
        )
        rotate(
            45deg
        );
}


/* =========================================================
   RESET BUTTON ACTIVE
========================================================= */

#resetPasswordButton:active:not(:disabled) {
    transform:
        translateY(
            0
        );

    box-shadow:
        0
        4px
        10px
        rgba(
            8,
            122,
            49,
            0.18
        );
}


/* =========================================================
   RESET BUTTON DISABLED
========================================================= */

#resetPasswordButton:disabled {
    opacity: 0.6;

    cursor: not-allowed;

    transform: none;
}