/* =========================================================================================
 * Project: HurkTech.io
 * File: account-recovery.css
 * Component: Account Recovery
 *
 * Purpose:
 * Defines the shared presentation for account-recovery pages.
 *
 * Responsibilities:
 * - Styles recovery forms, notices, actions, and branding
 * - Provides responsive layouts for smaller screens
 * - Maintains accessible focus, contrast, and interaction states
 *
 * Created: Not documented
 * Last Updated: Not documented
 * ========================================================================================= */

:root {
    color-scheme:dark;
    --page:#0b1424;
    --panel:#1c2a3d;
    --deep:#101a2a;
    --line:#34465d;
    --text:#f8fafc;
    --muted:#aebdd0;
    --teal:#2dd4bf;
    --teal-soft:#99f6e4
}

* {
    box-sizing:border-box
}

html,body {
    margin:0;
    min-height:100%
}

body.recovery-page {
    min-height:100vh!important;
    display:grid!important;
    place-items:center!important;
    padding:32px 20px!important;
    background:radial-gradient(circle at 50% -12%,rgba(45,212,191,.15),transparent 34rem),linear-gradient(180deg,#0d1728,var(--page))!important;
    color:var(--text)!important;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important
}

.recovery-shell {
    width:min(100%,500px)
}

.recovery-brand {
    display:flex;
    justify-content:center;
    margin-bottom:25px
}

.recovery-brand img {
    display:block;
    width:min(310px,74vw);
    height:auto
}

.recovery-card {
    position:relative;
    width:100%;
    padding:36px;
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:18px;
    background:linear-gradient(145deg,rgba(30,45,65,.98),rgba(22,34,51,.98));
    box-shadow:0 28px 70px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.04)
}

.recovery-card::before {
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:linear-gradient(180deg,var(--teal),#0f766e)
}

.recovery-icon {
    display:grid;
    width:44px;
    height:44px;
    place-items:center;
    margin-bottom:18px;
    border:1px solid rgba(45,212,191,.35);
    border-radius:12px;
    background:rgba(20,184,166,.09);
    color:var(--teal-soft);
    font-size:21px;
    font-weight:800
}

.recovery-eyebrow {
    margin:0 0 8px;
    color:var(--teal-soft);
    font-size:11px;
    font-weight:800;
    letter-spacing:1.35px;
    text-transform:uppercase
}

.recovery-card h1 {
    margin:0;
    color:var(--text);
    font-size:30px;
    line-height:1.15;
    letter-spacing:-.6px
}

.recovery-intro {
    margin:11px 0 25px;
    color:var(--muted);
    font-size:14px;
    line-height:1.65
}

.recovery-card label {
    display:block;
    margin:0 0 7px;
    color:#d7e2ed;
    font-size:12px;
    font-weight:700
}

.recovery-card input {
    display:block!important;
    width:100%!important;
    height:50px!important;
    margin:0!important;
    padding:0 14px!important;
    border:1px solid #43556c!important;
    border-radius:9px!important;
    background:var(--deep)!important;
    color:var(--text)!important;
    font:inherit!important;
    outline:none!important;
    transition:border-color .18s,box-shadow .18s!important
}

.recovery-card input::placeholder {
    color:#71839a
}

.recovery-card input:focus {
    border-color:var(--teal)!important;
    box-shadow:0 0 0 3px rgba(45,212,191,.13)!important
}

.submit-button {
    display:flex!important;
    width:100%!important;
    min-height:50px!important;
    align-items:center!important;
    justify-content:center!important;
    margin-top:20px!important;
    padding:0 18px!important;
    border:1px solid #14b8a6!important;
    border-radius:9px!important;
    background:linear-gradient(135deg,rgba(20,184,166,.2),rgba(13,148,136,.12))!important;
    color:var(--teal-soft)!important;
    font-size:14px!important;
    font-weight:800!important;
    cursor:pointer!important;
    transition:transform .18s,background .18s,box-shadow .18s!important
}

.submit-button:hover {
    transform:translateY(-1px);
    background:linear-gradient(135deg,rgba(20,184,166,.3),rgba(13,148,136,.2))!important;
    box-shadow:0 10px 24px rgba(20,184,166,.13)!important
}

.submit-button:focus-visible {
    outline:2px solid var(--teal-soft);
    outline-offset:3px
}

.submit-button:disabled {
    opacity:.65;
    cursor:wait
}

.recovery-note {
    display:flex;
    gap:9px;
    margin:20px 0 0;
    padding:12px 13px;
    border:1px solid rgba(148,163,184,.18);
    border-radius:9px;
    background:rgba(15,23,42,.35);
    color:#94a6ba;
    font-size:11px;
    line-height:1.55
}

.recovery-note strong {
    color:#cbd8e5
}

.recovery-footer {
    display:flex;
    justify-content:center;
    gap:9px;
    margin-top:19px;
    color:#71839a;
    font-size:11px
}

.recovery-footer a {
    color:#9db0c5;
    font-weight:650;
    text-decoration:none
}

.recovery-footer a:hover {
    color:var(--teal-soft)
}

.recovery-actions {
    display:flex;
    gap:10px;
    margin-top:23px
}

.recovery-action {
    display:flex;
    min-height:46px;
    flex:1;
    align-items:center;
    justify-content:center;
    padding:0 16px;
    border:1px solid #43556c;
    border-radius:9px;
    background:rgba(148,163,184,.06);
    color:#dbe6f2;
    font-size:13px;
    font-weight:800;
    text-decoration:none;
    transition:transform .18s,border-color .18s,background .18s
}

.recovery-action:hover {
    transform:translateY(-1px);
    border-color:#5c718c;
    background:rgba(148,163,184,.11)
}

.recovery-action.primary {
    border-color:#14b8a6;
    background:linear-gradient(135deg,rgba(20,184,166,.2),rgba(13,148,136,.12));
    color:var(--teal-soft)
}

.recovery-action.primary:hover {
    background:linear-gradient(135deg,rgba(20,184,166,.3),rgba(13,148,136,.2))
}

.recovery-status-icon {
    display:grid;
    width:52px;
    height:52px;
    place-items:center;
    margin-bottom:18px;
    border:1px solid rgba(45,212,191,.42);
    border-radius:50%;
    background:rgba(20,184,166,.1);
    color:var(--teal-soft);
    font-size:24px;
    font-weight:800
}

@media(max-width:540px) {
    body.recovery-page {
        padding:22px 14px!important
    }

    .recovery-brand {
        margin-bottom:19px
    }

    .recovery-card {
        padding:29px 24px
    }

    .recovery-card h1 {
        font-size:27px
    }

    .recovery-actions {
        flex-direction:column
    }

}
