/* =========================================================
   LUACHEIA
   CHANGE PASSWORD PAGE
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.change-password-page {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 18% 15%,
            rgba(226, 184, 75, 0.10),
            transparent 32%
        ),
        radial-gradient(
            circle at 82% 30%,
            rgba(105, 58, 145, 0.08),
            transparent 34%
        ),
        #fbf8f1;
    color: #2d1748;
}


/* =========================================================
   HERO
========================================================= */

.change-password-hero {
    padding: 150px 24px 58px;
}

.change-password-container {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.change-password-intro {
    max-width: 720px;
}

.change-password-intro .section-eyebrow {
    margin: 0 0 14px;
    color: #9a6b00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.change-password-intro h1 {
    margin: 0;
    color: #35105c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.04;
    font-weight: 400;
}

.change-password-intro > p:last-child {
    max-width: 620px;
    margin: 22px 0 0;
    color: #715f78;
    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   CONTENT
========================================================= */

.change-password-content {
    padding: 0 24px 110px;
}

.change-password-content-container {
    width: min(1120px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(300px, 0.65fr);

    gap: 28px;
    align-items: start;
}


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

.change-password-card {
    padding: 42px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.98),
            rgba(255,252,246,0.96)
        );

    border: 1px solid rgba(98, 51, 135, 0.12);
    border-radius: 26px;

    box-shadow:
        0 20px 50px rgba(53, 16, 92, 0.08);
}


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

.change-password-heading {
    padding-bottom: 30px;
    margin-bottom: 30px;

    border-bottom:
        1px solid rgba(98, 51, 135, 0.10);
}

.change-password-heading .section-eyebrow {
    margin: 0 0 10px;

    color: #9a6b00;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.change-password-heading h2 {
    margin: 0;

    color: #35105c;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 400;
}

.change-password-heading > p:last-child {
    margin: 14px 0 0;

    max-width: 600px;

    color: #77677d;

    font-size: 15px;
    line-height: 1.7;
}


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

.change-password-form {
    display: grid;
    gap: 24px;
}

.change-password-field {
    display: grid;
    gap: 9px;
}

.change-password-field label {
    color: #35105c;

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

.change-password-field input {
    width: 100%;
    min-height: 54px;

    box-sizing: border-box;

    padding: 0 17px;

    color: #2d1748;
    background: #fffdf9;

    border:
        1px solid rgba(98, 51, 135, 0.18);

    border-radius: 14px;

    outline: none;

    font-family: inherit;
    font-size: 16px;

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

.change-password-field input:hover {
    border-color:
        rgba(98, 51, 135, 0.30);
}

.change-password-field input:focus {
    background: #ffffff;

    border-color: #6b3995;

    box-shadow:
        0 0 0 4px rgba(107, 57, 149, 0.09);
}

.change-password-help {
    margin: 0;

    color: #8a7a8f;

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


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

.change-password-message {
    display: none;

    padding: 13px 15px;

    border-radius: 12px;

    font-size: 14px;
    line-height: 1.5;
}

.change-password-message:not(:empty) {
    display: block;
}

.change-password-message[data-type="error"] {
    display: block;
    color: #8f1f2f;
    background: #fff1f3;
    border: 1px solid rgba(143, 31, 47, 0.22);
}

.change-password-message[data-type="success"] {
    display: block;
    color: #27623d;
    background: #eef8f1;
    border: 1px solid rgba(39, 98, 61, 0.22);
}

/* =========================================================
   ACTIONS
========================================================= */

.change-password-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 14px;

    margin-top: 8px;
}

.change-password-submit {
    min-height: 50px;

    padding: 0 26px;

    border: 0;
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #5d2e87,
            #7943a5
        );

    color: #ffffff;

    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;

    cursor: pointer;

    box-shadow:
        0 10px 24px rgba(93, 46, 135, 0.18);

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

.change-password-submit:hover {
    transform: translateY(-1px);

    box-shadow:
        0 14px 28px rgba(93, 46, 135, 0.24);
}

.change-password-submit:disabled {
    cursor: default;
    opacity: 0.65;
    transform: none;
}

.change-password-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    border:
        1px solid rgba(98, 51, 135, 0.20);

    border-radius: 999px;

    color: #623387;

    background: rgba(255,255,255,0.65);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-decoration: none;

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

.change-password-back:hover {
    background: #ffffff;

    border-color:
        rgba(98, 51, 135, 0.38);
}


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

.change-password-security {
    padding: 34px;

    display: flex;
    align-items: flex-start;

    gap: 18px;

    background:
        linear-gradient(
            145deg,
            #fffaf0,
            #fffdf8
        );

    border:
        1px solid rgba(202, 155, 42, 0.24);

    border-radius: 26px;

    box-shadow:
        0 18px 45px rgba(53, 16, 92, 0.06);
}

.change-password-security-symbol {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

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

    border:
        1px solid rgba(202, 155, 42, 0.34);

    border-radius: 50%;

    background: #fffaf0;

    color: #a87500;

    font-size: 19px;
}

.change-password-security .section-eyebrow {
    margin: 2px 0 9px;

    color: #9a6b00;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.change-password-security h2 {
    margin: 0 0 14px;

    color: #35105c;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.15;
    font-weight: 400;
}

.change-password-security p {
    margin: 0 0 14px;

    color: #77677d;

    font-size: 14px;
    line-height: 1.7;
}

.change-password-security p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FOOTER LOGOUT BUTTON
========================================================= */

.footer-account-logout {
    padding: 0;

    border: 0;
    background: transparent;

    color: inherit;

    font: inherit;
    text-align: left;

    cursor: pointer;
}

.footer-account-logout:hover {
    text-decoration: underline;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

    .change-password-hero {
        padding-top: 125px;
    }

    .change-password-content-container {
        grid-template-columns: 1fr;
    }

    .change-password-security {
        max-width: none;
    }

}


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

@media (max-width: 700px) {

    .change-password-page {
        overflow-x: hidden;
    }


    /* HERO */

    .change-password-hero {
        padding:
            104px 20px 34px;
    }

    .change-password-intro .section-eyebrow {
        margin-bottom: 10px;

        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .change-password-intro h1 {
        font-size: 38px;
        line-height: 1.06;
    }

    .change-password-intro > p:last-child {
        margin-top: 16px;

        font-size: 14px;
        line-height: 1.65;
    }


    /* CONTENT */

    .change-password-content {
        padding:
            0 20px 72px;
    }

    .change-password-content-container {
        display: block;
    }


    /* FORM CARD */

    .change-password-card {
        padding: 26px 20px;

        border-radius: 22px;
    }

    .change-password-heading {
        padding-bottom: 22px;
        margin-bottom: 24px;
    }

    .change-password-heading .section-eyebrow {
        font-size: 10px;
    }

    .change-password-heading h2 {
        font-size: 29px;
    }

    .change-password-heading > p:last-child {
        margin-top: 12px;

        font-size: 14px;
        line-height: 1.6;
    }


    /* FORM */

    .change-password-form {
        gap: 21px;
    }

    .change-password-field label {
        font-size: 13px;
    }

    .change-password-field input {
        min-height: 52px;

        padding:
            0 15px;

        border-radius: 13px;

        font-size: 16px;
    }

    .change-password-help {
        font-size: 12px;
    }


    /* ACTIONS */

    .change-password-actions {
        display: grid;

        grid-template-columns: 1fr;

        gap: 11px;

        margin-top: 5px;
    }

    .change-password-submit,
    .change-password-back {
        width: 100%;

        box-sizing: border-box;
    }

    .change-password-submit {
        min-height: 51px;
    }

    .change-password-back {
        min-height: 49px;
    }


    /* SECURITY */

    .change-password-security {
        margin-top: 20px;

        padding: 25px 20px;

        gap: 14px;

        border-radius: 22px;
    }

    .change-password-security-symbol {
        flex-basis: 40px;

        width: 40px;
        height: 40px;

        font-size: 16px;
    }

    .change-password-security h2 {
        font-size: 25px;
    }

    .change-password-security p {
        font-size: 13px;
        line-height: 1.65;
    }


    /* AUTHENTICATED HEADER */

    .change-password-logout-header {
        display: none;
    }

}