/* =========================================================================
   Password Reset Page — matches the site's login page styling exactly
   Scoped via body.page-password-reset
   ========================================================================= */

/* ---- Page-level overrides ---- */

/* Hide duplicate page title & breadcrumbs — the form has its own heading */
.page-password-reset .page__title {
    display: none !important;
}

/* Match login page container padding */
.page-password-reset .page > .container {
    padding: 4.4444rem 8.3333rem !important;
    max-width: 900px;
    margin: 0 auto;
}

.page-password-reset .page {
    padding-top: 30px;
}

/* ---- Form container ---- */
.password-reset-form {
    max-width: 26rem;
    margin: 0 auto;
    text-align: center;
}

/* ---- Header ---- */
.password-reset-form__header {
    margin-bottom: 2.2222rem;
}

.password-reset-form__title {
    text-align: center !important;
    text-transform: uppercase !important;
    margin-bottom: 1.6667rem !important;
    font-size: 1.667rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #333;
}

.password-reset-form__desc {
    font-size: 0.889rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ---- Error / Success messages ---- */
.password-reset-form__error {
    background: #fff3f3;
    border: 1px solid #ff4d4d;
    color: #d32f2f;
    padding: 0.8rem 1.2rem;
    border-radius: 0.5rem;
    margin-bottom: 1.6667rem;
    font-size: 0.889rem;
    text-align: center;
}

.password-reset-form__success {
    background: #f0faf0;
    border: 1px solid #4CAF50;
    color: #2e7d32;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.6667rem;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
}

/* ---- Form ---- */
.password-reset-form__form {
    margin-bottom: 1.6667rem;
}

/* ---- Input fields — matches .login-form__input ---- */
.password-reset-form__field {
    margin-bottom: 1.1111rem;
}

.password-reset-form__field input[type="email"],
.password-reset-form__field input[type="password"] {
    width: 100%;
    padding: 0.889rem 1.1111rem;
    border: 1px solid #999;
    border-radius: 5px;
    font-size: 1rem;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.password-reset-form__field input:focus {
    border-color: #FFBA06;
    box-shadow: 0 0 0 2px rgba(255, 186, 6, 0.15);
}

.password-reset-form__field input::placeholder {
    color: #999;
}

/* ---- Hint ---- */
.password-reset-form__hint {
    margin-bottom: 1.1111rem;
    text-align: left;
}

.password-reset-form__hint p {
    font-size: 0.778rem;
    color: #999;
    margin: 0.3rem 0 0;
}

/* ---- Button — matches .login .btn ---- */
.password-reset-form__submit {
    margin-top: 1.6667rem;
    margin-bottom: 1.1111rem;
}

.password-reset-form__submit .btn {
    display: inline-block;
    padding: 1.182rem 1.5rem;
    border-radius: 3rem;
    background: #FFBA06;
    text-align: center;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 500;
    max-width: 16.6667rem;
    min-width: 16.6667rem;
    border: none;
    cursor: pointer;
    color: #333;
    line-height: 1.3889rem;
    font-family: Inter, Arial, Helvetica, sans-serif;
    transition: background 0.2s, box-shadow 0.2s;
}

.password-reset-form__submit .btn:hover {
    background: #e6a800;
    box-shadow: 0 3px 7px 0px rgba(0, 0, 0, 0.15);
}

/* ---- Links — matches .login__link ---- */
.password-reset-form__links {
    margin-top: 1.3333rem;
}

.password-reset-form__links p {
    margin: 0.6rem 0;
    font-size: 0.889rem;
    color: #333;
    text-align: center;
}

.password-reset-form__links a {
    color: #003D5B;
    text-decoration: underline;
}

.password-reset-form__links a:hover {
    color: #FFBA06;
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media only screen and (max-width: 800px) {
    .page-password-reset .page > .container {
        padding: 4.4444rem 2.7778rem !important;
    }
}

@media only screen and (max-width: 520px) {
    .page-password-reset .page > .container {
        padding: 2.7778rem 1.3889rem !important;
    }

    .password-reset-form {
        max-width: 100%;
    }

    .password-reset-form__title {
        font-size: 1.3rem;
    }

    .password-reset-form__submit .btn {
        min-width: 100%;
        max-width: 100%;
    }
}
