.password-reset-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #17467a;
    font-weight: 600;
}

.password-reset-progress[hidden],
[data-reset-message][hidden],
[data-reset-email-retry][hidden] {
    display: none;
}

.password-reset-spinner {
    display: inline-block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    border: 3px solid #dae4ef;
    border-top-color: #17467a;
    border-radius: 50%;
    animation: password-reset-spin 0.8s linear infinite;
}

@keyframes password-reset-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .password-reset-spinner { animation-duration: 2s; }
}

.password-reset-modal-open {
    overflow: hidden;
}

.password-reset-email-modal {
    width: min(480px, calc(100vw - 32px));
    box-sizing: border-box;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 28px;
    border: 1px solid #dae4ef;
    border-radius: 16px;
    background: #fff;
    color: #243449;
    box-shadow: 0 24px 72px rgba(20, 41, 66, 0.25);
}

.password-reset-email-modal::backdrop {
    background: rgba(20, 41, 66, 0.55);
}

.password-reset-email-modal h2 {
    margin: 0 0 16px;
    color: #142942;
    font-size: 24px;
}

.password-reset-email-modal p {
    line-height: 1.6;
}

.password-reset-email-modal [data-reset-email-address] {
    overflow-wrap: anywhere;
}

.password-reset-email-modal .form-actions {
    justify-content: flex-end;
    margin-top: 24px;
}
