body {
    margin: 0;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(37,99,235,0.22), transparent 35%),
        radial-gradient(circle at top right, rgba(34,197,94,0.14), transparent 30%),
        #0b1020;
    color: #e5e7eb;
}

.recovery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 34px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-small {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    margin-right: 14px;
    object-fit: cover;
}

.brand-block {
    display: flex;
    flex-direction: column;
}

.brand-text {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.brand-subtext {
    color: #9ca3af;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

.header-link {
    color: #d1d5db;
    text-decoration: none;
    background: rgba(17,24,39,0.88);
    border: 1px solid #1f2937;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
}

.header-link:hover {
    color: #ffffff;
    background: #1f2937;
}

.recovery-shell {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.recovery-card {
    max-width: 760px;
    width: 100%;
    background: linear-gradient(135deg, rgba(17,24,39,0.97), rgba(2,6,23,0.97));
    border: 1px solid #1f2937;
    border-radius: 28px;
    padding: 46px;
    box-shadow: 0 26px 52px rgba(0,0,0,0.40);
}

.eyebrow {
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    margin: 0 0 12px 0;
    font-weight: 700;
}

h1 {
    color: #ffffff;
    font-size: 42px;
    line-height: 1.08;
    margin: 0 0 18px 0;
}

.hero-copy {
    color: #cbd5e1;
    line-height: 1.75;
    font-size: 16px;
    margin: 0 0 26px 0;
    max-width: 620px;
}

.form-card {
    background: #020617;
    border: 1px solid #1f2937;
    border-radius: 20px;
    padding: 26px;
    margin-bottom: 24px;
}

.form-card form {
    display: grid;
    gap: 16px;
}

.form-card table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 14px;
}

.form-card td,
.form-card th {
    color: #e5e7eb;
    padding: 8px 10px;
    vertical-align: middle;
}

input,
select,
textarea {
    background: #020617;
    color: #ffffff;
    border: 1px solid #374151;
    border-radius: 11px;
    padding: 11px 12px;
    box-sizing: border-box;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    max-width: 420px;
}

button,
.button,
input[type="submit"] {
    background: linear-gradient(135deg, #2563eb, #22c55e);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 11px 18px;
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
}

input[type="submit"]:disabled {
    opacity: 0.7;
    cursor: wait;
}

.spinner-row {
    margin-top: 20px;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
}

.spinner {
    width: 28px;
    height: 28px;
    border: 4px solid #1f2937;
    border-top: 4px solid #22c55e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.next-box {
    background: #020617;
    border: 1px solid #1f2937;
    border-radius: 18px;
    padding: 20px;
}

.next-box strong {
    display: block;
    color: #93c5fd;
    margin-bottom: 8px;
}

.next-box span {
    color: #9ca3af;
    line-height: 1.6;
}

a {
    color: #93c5fd;
}

@media (max-width: 700px) {
    .recovery-card {
        padding: 34px 24px;
    }

    h1 {
        font-size: 34px;
    }

    .recovery-header {
        align-items: flex-start;
        gap: 18px;
        flex-direction: column;
    }
}
