.recovery-shell {
    align-items: center;
}

.recovery-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at top left,
            rgba(52, 211, 153, 0.22),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(20, 184, 166, 0.18),
            transparent 30%
        ),
        linear-gradient(135deg, #ecfeff 0%, #f8fafc 45%, #f0fdf4 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.recovery-left h1 {
    margin: 0 0 14px;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.05;
    font-weight: 800;
    color: #0f172a;
    max-width: 12ch;
}

.recovery-left .subtitle {
    margin: 0;
    max-width: 560px;
    font-size: 1.08rem;
    line-height: 1.65;
    color: #64748b;
}

.recovery-card {
    max-width: 460px;
    width: 100%;
}

.recovery-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 34px;
}

.step-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 20px 20px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.step-item::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #34d399, #14b8a6);
}

.step-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
}

.step-number {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #34d399, #14b8a6);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(20, 184, 166, 0.28);
}

.step-item strong {
    display: block;
    margin-bottom: 6px;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
}

.step-item p {
    margin: 0;
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.6;
}

.recovery-note {
    text-align: center;
    margin-top: 8px;
    color: #64748b;
}

@media (max-width: 900px) {
    .recovery-left {
        display: none;
    }

    .recovery-card {
        max-width: 100%;
    }
}

.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    background: #0f172a;
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: linear-gradient(135deg, #34d399, #10b981);
}

.toast.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.auth-form input[type='password'] {
    width: 100%;
}

.recovery-card .btn {
    margin-top: 6px;
}

.recovery-card .secondary {
    margin-top: 10px;
}

.feedback {
    font-size: 13px;
    margin-top: 6px;
    transition: all 0.2s ease;
}

.feedback.error {
    color: #ef4444;
}

.feedback.success {
    color: #10b981;
}

.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 14px 18px;
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
    opacity: 0;
    transform: translateY(-16px);
    transition: all 0.28s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: linear-gradient(135deg, #34d399, #10b981);
}

.toast.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}
