:root {
    color-scheme: dark;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: #fff;
    background: #191b1d;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    padding: 32px 16px;
    background-image: radial-gradient(circle, #3a3d40 1px, transparent 1px);
    background-size: 16px 16px;
}
a { color: inherit; }
button, input { font: inherit; }
.recovery-card {
    width: 100%;
    max-width: 480px;
    margin: auto;
    padding: 32px 38px 24px;
    border: 1px solid #2c4669;
    border-radius: 21px;
    background: #072149;
    text-align: center;
}
.recovery-brand { padding-bottom: 25px; border-bottom: 1px solid #2c4669; }
.recovery-brand a { display: inline-block; border-radius: 4px; }
.recovery-brand img { display: block; width: 126px; height: 68px; object-fit: contain; }
.recovery-icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.recovery-eyebrow { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 22px 0 0; color: #bdcce1; font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
h1 { margin: 28px 0 12px; font-size: 29px; font-weight: 600; line-height: 1.2; letter-spacing: -1px; }
.recovery-description { margin: 0; color: #dce7f7; font-size: 14px; line-height: 24px; }
form { margin-top: 28px; text-align: left; }
label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 600; }
.recovery-field { position: relative; }
.recovery-field > svg { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); color: #bdcce1; pointer-events: none; }
input { width: 100%; height: 50px; padding: 12px 14px 12px 44px; border: 1px solid #4a6385; border-radius: 9px; outline: none; background: #102e53; color: #fff; font-size: 16px; }
input::placeholder { color: #a5b6cd; opacity: 1; }
input:focus { border-color: #bdcce1; box-shadow: 0 0 0 3px #bdcce12b; }
input:read-only { opacity: 0.7; }
.recovery-hint { margin: 8px 0 0; color: #bdcce1; font-size: 12px; line-height: 18px; }
.recovery-primary { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; margin-top: 26px; padding: 12px 18px; border: 1px solid #fff; border-radius: 9px; background: #fff; color: #072149; font-size: 14px; font-weight: 600; line-height: 22px; text-decoration: none; cursor: pointer; }
.recovery-primary:hover { background: #e8eff9; }
.recovery-primary:disabled { cursor: wait; background: #dce7f7; border-color: #dce7f7; }
.recovery-back { display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; min-height: 44px; margin: 12px auto 0; padding: 8px 12px; border: 0; border-radius: 6px; background: none; color: #bdcce1; font-size: 13px; line-height: 20px; text-decoration: none; cursor: pointer; }
.recovery-back:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid #bdcce1; outline-offset: 4px; }
.recovery-footer { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #2c4669; color: #bdcce1; font-size: 11px; line-height: 18px; }
.recovery-footer svg { width: 16px; height: 16px; }
.recovery-error { margin: 18px 0 0; padding: 12px 14px; border: 1px solid #d69c89; border-radius: 8px; background: #3a2836; color: #ffe0d5; font-size: 13px; line-height: 21px; }
.recovery-success-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 28px auto 0; border: 1px solid #83cbb9; border-radius: 50%; background: #163f4b; color: #a3e5d5; }
.recovery-success-icon + h1 { margin-top: 18px; }
#recovery-sent-email { display: inline-block; max-width: 100%; overflow-wrap: anywhere; color: #fff; font-weight: 600; }
.recovery-tip { margin: 20px 0 0; color: #bdcce1; font-size: 13px; line-height: 21px; }
.recovery-spinner { display: none; width: 18px; height: 18px; border: 2px solid #07214940; border-top-color: #072149; border-radius: 50%; animation: recovery-spin 0.8s linear infinite; }
form[aria-busy="true"] .recovery-spinner { display: inline-block; }
form[aria-busy="true"] .recovery-submit-arrow { display: none; }
.recovery-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes recovery-spin { to { transform: rotate(360deg); } }
@media (max-width: 380px) { .recovery-card { padding: 28px 22px 22px; } h1 { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { .recovery-spinner { animation: none; } }
