/* Match the shop's account forms without their legacy column layout. */
.password-reset-body {
    margin: 0;
}

.password-reset-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 56px 20px 64px;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    color: #333333;
}

.password-reset-card {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(17, 50, 86, 0.06);
}

.password-reset-card .mainloginmiddle {
    display: block;
    padding: 36px;
}

.password-reset-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #edf5f2;
    color: #206a5d;
}

.password-reset-card .loginheader {
    margin: 0;
    font-size: 24px;
    line-height: 1.35;
    text-align: center;
}

.password-reset-intro {
    margin: 14px 0 26px;
    font-size: 14px;
    line-height: 1.75;
    color: #5b5b5b;
    text-align: center;
}

.password-reset-form .inputfieldcontainer {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
}

.password-reset-form .inputfieldcontainer label {
    margin-bottom: 7px;
    font-size: 13px;
}

.password-reset-form .inputfieldcontainer input {
    height: 48px;
    font-size: 16px;
    color: #333333;
    background: #ffffff;
}

.password-reset-form input:focus {
    border-color: #206a5d;
    outline: 2px solid #206a5d;
    outline-offset: 2px;
}

.password-reset-actions {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 8px;
    text-align: center;
}

.password-reset-actions .appbtn {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 13px 20px;
    font-size: 14px;
    line-height: 1.5;
    background: #206a5d;
    box-shadow: 0 2px 0 #164b42;
}

.password-reset-actions .appbtn:hover {
    background: #164b42;
}

.password-reset-back {
    color: #206a5d;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.password-reset-actions .appbtn:focus-visible,
.password-reset-back:focus-visible {
    outline: 2px solid #206a5d;
    outline-offset: 4px;
}

.password-reset-messages {
    margin-bottom: 22px;
    padding: 12px 14px;
    border: 1px solid #ecd2d2;
    border-radius: 7px;
    background: #fff6f6;
}

.password-reset-messages table {
    width: 100%;
    border: 0;
    background: transparent;
}

.password-reset-messages td {
    padding: 0;
    font-size: 13px;
    line-height: 1.6;
}

@media only screen and (max-width: 600px) {
    .password-reset-page {
        min-height: 0;
        padding: 28px 16px 40px;
    }

    .password-reset-card .mainloginmiddle {
        padding: 28px 22px;
    }

    .password-reset-card .loginheader {
        font-size: 22px;
    }
}
