@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap");

:root {
    --reset-cream: #f1e8d8;
    --reset-gold: #b48a2b;
    --reset-gold-dark: #8d6a22;
    --reset-light-gold: #ddcba9;
    --reset-white: #fffdf8;
    --reset-text: #20201e;
    --reset-muted: #675f53;
    --reset-black: #0c0c0b;
    --reset-error: #812f24;
    --reset-error-bg: #f1dcd6;
    --reset-success: #405d36;
    --reset-success-bg: #e1ead8;
    --reset-max-width: 1180px;
}

.password-reset-page {
    width: 100%;
    min-height: 720px;
    padding: 90px 0 110px;
    display: flex;
    align-items: center;
    background: var(--reset-cream);
    color: var(--reset-text);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.5;
}

.password-reset-page *,
.password-reset-page *::before,
.password-reset-page *::after {
    box-sizing: border-box;
}

.password-reset-page h1,
.password-reset-page h2,
.password-reset-page p {
    margin-top: 0;
}

.password-reset-page h1,
.password-reset-page h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
}

.password-reset-page a {
    color: inherit;
    text-decoration: none;
}

.password-reset-layout {
    width: min(
        calc(100% - 12vw),
        var(--reset-max-width)
    );
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    box-shadow: 0 28px 70px rgba(30, 26, 19, 0.14);
}

.password-reset-introduction {
    min-height: 570px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--reset-black);
    color: var(--reset-white);
}

.password-reset-eyebrow {
    margin: 0 0 13px;
    color: var(--reset-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.password-reset-introduction h1 {
    margin: 0;
    font-size: clamp(56px, 5.5vw, 78px);
    line-height: 0.88;
    letter-spacing: -3px;
}

.password-reset-introduction > p:last-child {
    max-width: 410px;
    margin: 26px 0 0;
    color: rgba(255, 253, 248, 0.88);
    font-size: 15px;
    line-height: 1.65;
}

.password-reset-panel {
    min-height: 570px;
    padding: 60px 66px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--reset-white);
}

.password-reset-panel h2 {
    margin: 0;
    font-size: clamp(40px, 4vw, 54px);
    line-height: 0.95;
    letter-spacing: -2px;
}

.password-reset-errors,
.password-reset-success {
    margin: 25px 0 0;
    padding: 17px 19px;
    border-left: 3px solid;
    font-size: 14px;
}

.password-reset-errors {
    border-color: var(--reset-error);
    background: var(--reset-error-bg);
    color: var(--reset-error);
}

.password-reset-success {
    border-color: var(--reset-success);
    background: var(--reset-success-bg);
    color: var(--reset-success);
}

.password-reset-errors ul {
    margin: 0;
    padding-left: 20px;
}

.password-reset-form {
    margin-top: 30px;
}

.password-reset-field {
    margin-bottom: 22px;
}

.password-reset-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.password-reset-field input {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid var(--reset-light-gold);
    border-radius: 0;
    outline: 0;
    background: var(--reset-cream);
    color: var(--reset-text);
    font: inherit;
}

.password-reset-field input:hover,
.password-reset-field input:focus {
    border-color: var(--reset-gold);
}

.password-reset-field input:focus {
    background: var(--reset-white);
    box-shadow: 0 0 0 3px rgba(180, 138, 43, 0.18);
}

.password-reset-button,
.password-reset-button:link,
.password-reset-button:visited {
    min-height: 50px;
    margin-top: 26px;
    padding: 15px 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--reset-gold);
    background: var(--reset-gold);
    color: var(--reset-white);
    cursor: pointer;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.password-reset-button:hover,
.password-reset-button:focus-visible,
.password-reset-button:active {
    color: var(--reset-black);
}

.password-reset-button:focus-visible {
    outline: 3px solid rgba(180, 138, 43, 0.4);
    outline-offset: 3px;
}

.password-reset-back {
    margin: 24px 0 0;
}

.password-reset-back a {
    color: var(--reset-gold-dark);
    font-size: 12px;
    font-weight: 700;
}

.password-reset-back a:hover,
.password-reset-back a:focus-visible {
    color: var(--reset-black);
}

@media (max-width: 800px) {
    .password-reset-page {
        min-height: auto;
        padding: 65px 0 85px;
    }

    .password-reset-layout {
        width: calc(100% - 14vw);
        grid-template-columns: 1fr;
    }

    .password-reset-introduction,
    .password-reset-panel {
        min-height: auto;
        padding: 48px 42px;
    }
}

@media (max-width: 520px) {
    .password-reset-page {
        padding: 45px 0 60px;
    }

    .password-reset-layout {
        width: calc(100% - 12vw);
    }

    .password-reset-introduction,
    .password-reset-panel {
        padding: 36px 25px;
    }

    .password-reset-introduction h1 {
        font-size: 50px;
        letter-spacing: -2px;
    }

    .password-reset-panel h2 {
        font-size: 40px;
    }

    .password-reset-button {
        width: 100%;
    }
}
