body.sa-auth-active { margin:0 !important; background:#f1f5f9 !important; }
body.sa-auth-active header, body.sa-auth-active .site-header, body.sa-auth-active #masthead, body.sa-auth-active footer, body.sa-auth-active .site-footer, body.sa-auth-active #colophon, body.sa-auth-active .entry-header, body.sa-auth-active .entry-title, body.sa-auth-active .page-title, body.sa-auth-active .woocommerce-breadcrumb { display:none !important; }
body.sa-auth-active .site-content, body.sa-auth-active .content-area, body.sa-auth-active #content, body.sa-auth-active main, body.sa-auth-active .entry-content, body.sa-auth-active #primary, body.sa-auth-active #main { margin:0!important;padding:0!important;max-width:none!important;width:100%!important;background:transparent!important; }
.sa-auth-wrap,.sa-auth-wrap * { box-sizing:border-box; font-family:Vazirmatn,Tahoma,Arial,sans-serif; }
.sa-auth-wrap { min-height:100vh; width:100%; display:flex; align-items:center; justify-content:center; padding:24px 14px; direction:rtl; background:radial-gradient(ellipse at top right,#e2e8f0 0,#f8fafc 50%,#e9eff7 100%); }
.sa-auth-card { width:min(100%,430px); background:#fff; border:1px solid #e2e8f0; border-radius:22px; box-shadow:0 22px 70px rgba(15,23,42,.12); padding:30px; color:#0f172a; }
.sa-auth-brand { display:flex; align-items:center; justify-content:center; gap:10px; font-weight:800; color:#173b61; margin-bottom:20px; }
.sa-auth-logo { display:inline-flex; align-items:center; justify-content:center; width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#173b61,#1596c5);color:#fff;font-weight:900;letter-spacing:-1px; }
.sa-auth-title { margin:0 0 8px; font-size:24px; font-weight:850; text-align:center; color:#0f172a; }
.sa-auth-subtitle { text-align:center; margin:0 0 22px; color:#64748b; font-size:13px; line-height:1.8; }
.sa-tabs { display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;background:#f1f5f9;border-radius:12px;margin-bottom:22px; }
.sa-tabs button { border:0;border-radius:9px;background:transparent;color:#64748b;padding:11px 5px;font-size:12px;font-weight:700;cursor:pointer; }
.sa-tabs button.is-active { background:#fff;color:#173b61;box-shadow:0 2px 8px #0f172a12; }
.sa-step[hidden] { display:none!important; }
.sa-label { display:block;font-size:13px;font-weight:700;color:#334155;margin:14px 0 7px; }
.sa-phone-row { display:grid;grid-template-columns:140px minmax(0,1fr);gap:8px;margin-bottom:14px;direction:ltr; }
.sa-phone-row select { direction:ltr;text-align:left; }
.sa-phone-row #sa-phone { direction:ltr;text-align:left; }
.sa-auth-card input,.sa-auth-card select { width:100%;min-width:0;min-height:46px;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;background:#fff;color:#0f172a;font-size:14px;box-shadow:none;outline:none; }
.sa-auth-card input:focus,.sa-auth-card select:focus { border-color:#1685b7;box-shadow:0 0 0 3px #0ea5e91c; }
#sa-phone,#sa-otp-code { direction:ltr;text-align:left; }
.sa-btn { display:flex;align-items:center;justify-content:center;width:100%;min-height:47px;margin-top:15px;padding:12px 16px;border:0;border-radius:11px;background:#173b61;color:#fff!important;font-size:14px;font-weight:800;cursor:pointer;transition:background .15s,transform .15s; }
.sa-btn:hover { background:#0e2b49;transform:translateY(-1px); }
.sa-btn:disabled { opacity:.65;cursor:wait;transform:none; }
.sa-hint { margin:0 0 14px;color:#64748b;font-size:13px;line-height:1.8; }
.sa-inline-actions { display:flex;justify-content:space-between;gap:10px;margin-top:12px; }
.sa-link,.sa-lost-password { display:inline-block;border:0;background:transparent;color:#176b9c;text-decoration:none;font-size:12px;cursor:pointer;padding:5px 0; }
.sa-lost-password { margin-top:13px; }
.sa-message { display:none;margin-top:12px;padding:10px 12px;border-radius:9px;background:#fef2f2;color:#991b1b;font-size:12px;line-height:1.8;overflow-wrap:anywhere; }
.sa-message.is-visible { display:block; }
.sa-message.is-success { background:#ecfdf5;color:#065f46; }
.sa-auth-footnote { margin:22px 0 0;text-align:center;color:#94a3b8;font-size:11px;line-height:1.8; }
.sa-auth-already { direction:rtl;text-align:center;padding:24px;border:1px solid #e2e8f0;border-radius:12px;background:#fff; }
.sa-social-divider{display:flex;align-items:center;gap:12px;margin:20px 0 12px;color:#94a3b8;font-size:12px}.sa-social-divider:before,.sa-social-divider:after{content:"";height:1px;background:#e2e8f0;flex:1}.sa-social-buttons{display:flex;flex-direction:column;align-items:stretch;gap:10px}.sa-social-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;border:1px solid #cbd5e1;border-radius:10px;color:#334155!important;text-decoration:none;font-size:13px;font-weight:700;background:#fff}.sa-social-button:hover{background:#f8fafc;border-color:#94a3b8}.sa-google-mark{font-family:Arial,sans-serif;font-weight:900;font-size:18px;color:#4285f4}.sa-telegram-login{display:flex;justify-content:center;min-height:40px}
@media(max-width:420px) { .sa-auth-card{padding:23px 18px;border-radius:17px}.sa-auth-title{font-size:21px}.sa-phone-row{grid-template-columns:112px minmax(0,1fr)} }
