:root {
    color-scheme: light;
    --primary: #0077BB;
    --blue-75: #6898CE;
    --blue-50: #9AB8DF;
    --blue-25: #CFDDF1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #24394e;
    background: #f3f7fc;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: radial-gradient(ellipse at top left, var(--blue-25), transparent 65%);
}
.recovery-card {
    width: 100%;
    max-width: 480px;
    padding: 32px 40px;
    border: 1px solid #e3ebf5;
    border-top: 4px solid var(--primary);
    border-radius: 20px;
    background: white;
    box-shadow: 0 16px 48px #234f7a18, 0 3px 8px #234f7a0a;
}
a { color: var(--primary); text-underline-offset: 3px; }
.back-link { display: inline-block; font-size: 14px; margin-bottom: 28px; }
.brand { display: block; max-width: 75%; height: auto; margin: 0 auto 28px; }
.lock-icon { width: 56px; height: 56px; padding: 14px; margin-bottom: 22px; border-radius: 16px; background: #eef4fc; color: var(--primary); }
.lock-icon svg { width: 100%; height: 100%; }
.eyebrow { color: #436b95; letter-spacing: 1.5px; font-size: 11px; font-weight: 700; }
h1 { margin: 10px 0 14px; font-size: clamp(25px, 5vw, 30px); letter-spacing: -0.8px; line-height: 1.2; }
.intro { margin: 0 0 30px; line-height: 1.65; color: #52677c; font-size: 15px; }
.input-field { position: relative; }
input[type="email"] { width: 100%; min-height: 58px; padding: 18px 14px 12px; font: inherit; border: 1px solid var(--blue-75); border-radius: 8px; background: white; color: #24394e; }
label { position: absolute; left: 12px; top: 19px; padding: 0 4px; color: #52677c; background: white; pointer-events: none; transition: top 150ms, font-size 150ms; }
input:focus + label, input:not(:placeholder-shown) + label { top: -8px; font-size: 12px; color: var(--primary); }
input:focus { outline: 2px solid var(--primary); outline-offset: -1px; }
.helper { font-size: 12px; line-height: 1.5; color: #52677c; margin: 10px 0 24px; }
button { width: 100%; min-height: 50px; border: 0; border-radius: 8px; padding: 12px 16px; background: var(--primary); color: white; font: inherit; font-weight: 600; box-shadow: 0 4px 10px #0077bb30; cursor: pointer; }
button:hover { background: #00659e; }
button:disabled { background: #526f8f; cursor: wait; box-shadow: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue-50); outline-offset: 4px; }
#recovery-result { padding: 14px; margin: 20px 0 0; border-radius: 8px; background: #edf7f2; color: #216344; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
#recovery-result.error { background: #fff0ef; color: #9a3028; }
.security-note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--blue-25); color: #52677c; font-size: 12px; line-height: 1.6; text-align: center; }
footer { margin-top: 24px; font-size: 12px; text-align: center; line-height: 1.8; color: #52677c; }
@media (max-width: 480px) { body { padding: 20px 16px; } .recovery-card { padding: 26px 24px; } }
@media (prefers-reduced-motion: reduce) { label { transition: none; } }
