/* ==========================================================================
   Reset Password Page
   ========================================================================== */

.reset-password-section {
    padding: 40px 0 64px;
}

.reset-password-container {
    margin: 0 auto;
    max-width: 520px;
}

.reset-password-card {
    padding: 32px;
}

.reset-password-card h2 {
    font-size: 1.75rem;
    line-height: 1.25;
    margin-bottom: 12px;
}

.reset-password-intro {
    margin-bottom: 24px;
}

.reset-password-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reset-password-form label {
    font-weight: 600;
}

.reset-password-form input[type="password"],
.reset-password-form input[type="text"] {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #1f2937;
    font: inherit;
    padding: 12px 14px;
    width: 100%;
}

.reset-password-form input:focus-visible {
    border-color: #2563eb;
    outline: 2px solid #93c5fd;
    outline-offset: 1px;
}

.reset-password-requirements {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 4px 0;
}

.reset-password-visibility {
    align-items: center;
    display: flex;
    gap: 10px;
    margin: 4px 0 8px;
}

.reset-password-visibility input {
    cursor: pointer;
    height: 18px;
    width: 18px;
}

.reset-password-visibility label {
    cursor: pointer;
    font-weight: 400;
}

.reset-password-submit {
    margin-top: 8px;
    width: 100%;
}

.reset-password-submit:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.reset-password-message {
    line-height: 1.6;
    margin-top: 20px;
    overflow-wrap: anywhere;
}

.reset-password-message:empty {
    display: none;
}

.reset-password-message[data-status="success"] {
    color: #166534;
}

.reset-password-message[data-status="error"] {
    color: #b91c1c;
}

@media (max-width: 600px) {
    .reset-password-section {
        padding: 24px 0 40px;
    }

    .reset-password-card {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   Reset Password States
   ========================================================================== */

.reset-password-card h2 {
    font-size: 1.75rem;
    line-height: 1.25;
    margin-bottom: 12px;
}

.reset-password-card [hidden] {
    display: none !important;
}

.reset-password-form input[type="email"] {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #1f2937;
    font: inherit;
    padding: 12px 14px;
    width: 100%;
}

.reset-password-form input[type="email"]:focus-visible {
    border-color: #2563eb;
    outline: 2px solid #93c5fd;
    outline-offset: 1px;
}

/* ==========================================================================
   Password Reset Success
   ========================================================================== */

.reset-password-success {
    text-align: center;
}

.reset-password-success-icon {
    align-items: center;
    background: #dcfce7;
    border-radius: 50%;
    color: #166534;
    display: flex;
    font-size: 2rem;
    font-weight: 700;
    height: 64px;
    justify-content: center;
    margin: 0 auto 24px;
    width: 64px;
}

.reset-password-success h2 {
    margin-bottom: 16px;
}

.reset-password-success p {
    line-height: 1.7;
    margin-bottom: 16px;
}

.reset-password-success .button {
    display: inline-flex;
    justify-content: center;
    margin-top: 16px;
    text-decoration: none;
}