.site-auth-dialog{width:min(100% - 32px,460px);max-width:460px;max-height:min(90dvh,780px);margin:auto;padding:0;border:0;border-radius:20px;color:#23254e;background:#fff;box-shadow:0 24px 80px #131b3a40;font-family:Vazirmatn,system-ui,sans-serif;overflow:auto;overscroll-behavior:contain}.site-auth-dialog::backdrop{background:#0f172a9e;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.site-auth-dialog [hidden]{display:none!important}.site-auth-dialog__content{padding:clamp(20px,5vw,32px)}.site-auth-dialog__close{display:grid;place-items:center;width:40px;height:40px;margin-inline-start:auto;border:0;border-radius:12px;background:#f2f4f7;color:#475569;font-size:1.7rem;line-height:1;cursor:pointer}.site-auth-dialog__close:hover{background:#e9edf3;color:#1e293b}.site-auth-dialog__header{margin:4px 0 20px}.site-auth-dialog__eyebrow{color:#ef394e;font-size:.82rem;font-weight:700}.site-auth-dialog__header h2{margin:6px 0 8px;font-size:clamp(1.35rem,4vw,1.65rem);font-weight:800}.site-auth-dialog__header p{margin:0;color:#64748b;font-size:.92rem;line-height:1.7}.site-auth-dialog__modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;margin-bottom:18px;border-radius:12px;background:#f2f4f7}.site-auth-dialog__modes button{min-height:44px;padding:8px 4px;border:0;border-radius:9px;background:transparent;color:#475569;font:inherit;font-size:.86rem;font-weight:600;cursor:pointer}.site-auth-dialog__modes button[aria-pressed=true]{background:#fff;color:#b42337;box-shadow:0 1px 5px #0f172a1a}.site-auth-dialog form{display:grid;gap:9px;margin:0}.site-auth-dialog label{margin-top:7px;color:#334155;font-size:.9rem;font-weight:700}.site-auth-dialog input{width:100%;min-height:46px;padding:10px 13px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#172033;font:inherit;font-size:1rem}.site-auth-dialog input:focus-visible,.site-auth-dialog button:focus-visible,.site-auth-dialog a:focus-visible{outline:3px solid rgba(239,57,78,.35);outline-offset:2px}.site-auth-dialog input[dir=ltr]{text-align:center;letter-spacing:.25em}.site-auth-dialog__submit{min-height:48px;margin-top:10px;padding:11px 16px;border:0;border-radius:10px;background:#ef394e;color:#fff;font:inherit;font-weight:700;cursor:pointer}.site-auth-dialog__submit:hover{background:#d62f42}.site-auth-dialog__submit:disabled{opacity:.6;cursor:wait}.site-auth-dialog__hint{margin:13px 0 3px;color:#64748b;font-size:.82rem;line-height:1.7}.site-auth-dialog__feedback{padding:11px 13px;margin:0 0 14px;border-radius:10px;font-size:.88rem;line-height:1.6}.site-auth-dialog__feedback[data-kind=error]{background:#fff1f2;color:#9f1239}.site-auth-dialog__feedback[data-kind=success]{background:#ecfdf5;color:#065f46}.site-auth-dialog__secondary-actions{display:flex;justify-content:space-between;gap:10px;margin-top:14px}.site-auth-dialog__secondary-actions button,.site-auth-dialog__text-action{min-height:40px;border:0;background:transparent;color:#b42337;font:inherit;font-size:.86rem;font-weight:600;cursor:pointer}.site-auth-dialog__secondary-actions button:disabled{color:#94a3b8;cursor:default}.site-auth-dialog__legal{margin:20px 0 0;color:#64748b;font-size:.78rem;line-height:1.7;text-align:center}.site-auth-dialog__legal a{color:#b42337}@media (max-width: 560px){.site-auth-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:16px}.site-auth-dialog__content{padding:18px}}@media (prefers-reduced-motion: no-preference){.site-auth-dialog[open]{animation:auth-dialog-enter .18s ease-out}@keyframes auth-dialog-enter{0%{transform:translateY(8px)}to{transform:translateY(0)}}}
