.admin-recovery { display: grid; gap: 12px; }
.admin-recovery p { color: var(--text-muted); line-height: 1.8; margin: 0; }
.admin-recovery form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 10px; align-items: end; }
.admin-recovery form label { grid-row: 1; font-weight: 700; font-size: 13px; }
.admin-recovery form input, .admin-recovery form button { grid-row: 2; min-height: 46px; }
.admin-recovery form button { white-space: nowrap; }
.admin-recovery-result { display: grid; gap: 9px; padding: 16px; border: 1px solid var(--border-color); border-radius: 16px; background: var(--bg-surface); }
.admin-recovery-result textarea { width: 100%; padding: 12px; resize: none; border-radius: 10px; border: 1px solid var(--border-color); background: var(--bg-card); color: var(--text-primary); direction: ltr; text-align: left; overflow-wrap: anywhere; }
.admin-recovery-result button { justify-self: start; min-height: 44px; }
.admin-recovery-result small { color: var(--text-muted); }
.admin-recovery-error { color: #ef6666 !important; }
@media (max-width: 760px) { .admin-recovery form { grid-template-columns: 1fr; } .admin-recovery form label, .admin-recovery form input, .admin-recovery form button { grid-row: auto; } }

.reset-page { min-height: 100vh; min-height: 100dvh; margin: 0; padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); display: grid; place-items: center; box-sizing: border-box; background: radial-gradient(circle at 20% 0%, #472477, transparent 48%), #170d28; color: #f7f3ff; font-family: Kalameh, Tahoma, sans-serif; }
.reset-page *, .reset-page *::before, .reset-page *::after { box-sizing: border-box; }
.reset-card { width: min(100%, 480px); padding: clamp(22px, 5vw, 38px); border: 1px solid #6a4b89; border-radius: 26px; background: #241338; box-shadow: 0 24px 80px #08020f88; }
.reset-card img { display: block; margin-bottom: 18px; border-radius: 18px; }
.reset-eyebrow { color: #cdb8ef; font-size: 13px; }
.reset-card h1 { margin: 8px 0; font-size: clamp(24px, 5vw, 34px); line-height: 1.35; }
.reset-card p { color: #d4cae1; line-height: 1.8; }
.reset-card form { display: grid; gap: 10px; margin: 22px 0; }
.reset-card form[hidden] { display: none; }
.reset-card label { margin-top: 8px; font-weight: 700; }
.reset-card input { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #765991; border-radius: 12px; background: #180c2a; color: #fff; font: inherit; }
.reset-card input:focus-visible, .reset-card button:focus-visible, .reset-card a:focus-visible, .admin-recovery :focus-visible { outline: 2px solid #d4aef4; outline-offset: 3px; }
.reset-card button { min-height: 50px; margin-top: 10px; border: 0; border-radius: 12px; background: #b98de8; color: #180c2a; font: inherit; font-weight: 800; cursor: pointer; }
.reset-card button:disabled { opacity: .65; cursor: wait; }
.reset-account { padding: 10px 12px; border-radius: 10px; background: #38204e; }
.reset-message { min-height: 24px; }
.reset-message[data-kind="error"] { color: #ffb8b8; }
.reset-message[data-kind="success"] { color: #aee8c3; }
.reset-card a { color: #d7b3ff; }
