.rv-recovery-modal { align-items:center;justify-content:center;padding:20px; }
.rv-recovery-modal [hidden] { display:none!important; }
.rv-recovery-modal .rv-recovery-card { position:relative;width:100%;max-width:420px;max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;zoom:1; }
.rv-recovery-modal .rv-recovery-header { padding:28px 28px 22px;text-align:center; }
.rv-recovery-header .auth-logo { width:46px;height:46px;margin:0 auto 14px; }
.rv-recovery-header .logo-ring { width:48px;height:48px;margin:0 auto 14px; }
.rv-recovery-header h1,.rv-recovery-header h2 { margin:0;color:#fff0eb;font-family:var(--font-serif,Georgia,serif);font-size:25px;font-weight:600;line-height:1.25; }
.rv-recovery-header [data-recovery-subtitle] { margin:10px 0 0;color:#d6c0c0;font-size:13px;line-height:1.6; }
.rv-recovery-destination { margin-top:14px; }
.rv-recovery-header [data-recovery-destination] { display:block;margin:0;color:#fff0eb;font-size:13px;font-weight:600;line-height:1.6;overflow-wrap:anywhere; }
.rv-recovery-modal .rv-recovery-link { display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 10px;border:0;border-radius:6px;background:none;color:#edbca7;font-family:inherit;font-size:12px;font-weight:600;line-height:1.5;text-decoration:none;cursor:pointer; }
.rv-recovery-modal .rv-recovery-link:hover:not(:disabled) { color:#fff0eb;text-decoration:underline; }
.rv-recovery-modal .rv-recovery-link:disabled { color:#bcaaaa;cursor:default;text-decoration:none; }
.rv-recovery-modal button:focus-visible,.rv-recovery-modal input:focus-visible { outline:2px solid #edbca7;outline-offset:3px; }
.rv-recovery-modal .rv-recovery-body { padding:24px 28px; }
.rv-recovery-body .form-group,.rv-recovery-body .fg { margin-bottom:18px; }
.rv-recovery-body label,.rv-recovery-body .rv-recovery-code-label { display:block;margin-bottom:9px;color:#e0cbcb;font-size:12px;font-weight:600;line-height:1.5;text-transform:none;letter-spacing:0;text-align:left; }
.rv-recovery-modal input[type="email"],.rv-recovery-modal .forgot-password-field input { width:100%;min-height:44px;padding:12px 14px;border:1.5px solid #735655;border-radius:9px;background:rgba(255,255,255,.075);color:#fff;font:inherit;font-size:14px; }
.rv-recovery-modal .forgot-password-field input { padding-right:48px; }
.rv-recovery-modal input::placeholder { color:#bcaaaa; }
.rv-recovery-modal .rv-recovery-code-fields { display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0; }
.rv-recovery-modal .rv-recovery-code-fields input { width:100%;min-width:0;max-width:none;height:48px;margin:0;padding:0;border:1.5px solid #735655;border-radius:9px;background:rgba(255,255,255,.075);color:#fff;font-size:20px;font-weight:700;text-align:center;caret-color:#edbca7; }
.rv-recovery-modal .rv-recovery-code-fields input:focus { border-color:#edbca7;box-shadow:0 0 0 3px #edbca71c;transform:none; }
.rv-recovery-modal .rv-recovery-code-fields input[aria-invalid="true"] { border-color:#ffb5bd; }
.rv-recovery-modal .rv-recovery-code-fields input:disabled { opacity:.65; }
.rv-recovery-modal .rv-recovery-otp-error { margin:9px 0 0;color:#ffb5bd;font-size:12px;line-height:1.5;text-align:left; }
.rv-recovery-modal .rv-recovery-primary { display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px; }
.rv-recovery-modal .rv-recovery-primary:disabled { opacity:.65;cursor:wait;transform:none; }
.rv-recovery-resend { display:grid;justify-items:center;gap:2px;margin-top:16px;text-align:center; }
.rv-recovery-modal .rv-recovery-hint { margin:0;color:#d0bebe;font-size:12px;line-height:1.6; }
.rv-recovery-footer { margin-top:20px;padding-top:12px;border-top:1px solid rgba(255,255,255,.1);text-align:center; }
.rv-recovery-modal .rv-recovery-message:not(:empty) { display:block;padding:11px 13px;margin-bottom:18px;border:1px solid #ffb5bd55;border-radius:8px;background:#b423351c;color:#ffb5bd;font-size:12px;line-height:1.6;text-align:left; }
.rv-recovery-modal .rv-recovery-message:empty { display:none; }
.rv-recovery-modal .rv-recovery-message[data-kind="success"] { border-color:#a5d6a755;background:#2e7d3229;color:#b9e9bd; }
@media(max-width:480px) {
  .rv-recovery-modal { padding:16px; }
  .rv-recovery-modal .rv-recovery-card { max-height:calc(100dvh - 32px); }
  .rv-recovery-modal .rv-recovery-header { padding:26px 22px 20px; }
  .rv-recovery-modal .rv-recovery-body { padding:22px; }
  .rv-recovery-header h1,.rv-recovery-header h2 { font-size:24px; }
  .rv-recovery-modal .rv-recovery-code-fields { gap:6px; }
  .rv-recovery-modal .rv-recovery-code-fields input { height:46px; }
}
