@import url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css");
:root{--cma-primary:#5143d9;--cma-primary-rgb:81,67,217;--cma-card:#fff;--cma-ink:#0f172a;--cma-muted:#64748b;--cma-line:#e5e7eb;--cma-danger:#be123c;--cma-success:#047857}
html{-webkit-text-size-adjust:100%;min-height:100%}body.cm-auth{margin:0!important;min-height:100svh!important;background:radial-gradient(circle at 10% 10%,rgba(var(--cma-primary-rgb),.10),transparent 28rem),linear-gradient(180deg,#f8fafc,#f4f6fb)!important;color:var(--cma-ink)!important;font-family:'DM Sans','Inter','Vazirmatn',system-ui,-apple-system,'Segoe UI',sans-serif!important}.cm-auth *{box-sizing:border-box}.cma-page{min-height:100svh;display:grid;place-items:center;padding:28px}.cma-shell{width:min(1030px,100%);display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);background:var(--cma-card);border:1px solid rgba(148,163,184,.20);border-radius:30px;overflow:hidden;box-shadow:0 30px 80px rgba(15,23,42,.10)}.cma-side{position:relative;padding:36px;display:flex;flex-direction:column;justify-content:space-between;min-height:650px;background:linear-gradient(155deg,#5143d9,#252055 72%);color:#fff;overflow:hidden}.cma-side:before,.cma-side:after{content:'';position:absolute;border-radius:50%;background:rgba(255,255,255,.08)}.cma-side:before{width:330px;height:330px;top:-150px;right:-120px}.cma-side:after{width:280px;height:280px;bottom:-130px;left:-120px}.cma-side>*{position:relative;z-index:1}.cma-brand{display:flex;align-items:center;gap:10px}.cma-brand-mark{width:44px;height:44px;border-radius:14px;background:#fff;display:grid;place-items:center;color:var(--cma-primary);font-size:20px}.cma-brand strong{display:block;font-size:19px;font-weight:900;line-height:1}.cma-brand small{display:block;color:rgba(255,255,255,.66);font-size:10px;font-weight:800;margin-top:5px}.cma-side-copy h2{margin:0 0 12px;font-size:clamp(34px,4vw,50px);line-height:1.02;letter-spacing:-.055em;font-weight:950;color:#fff}.cma-side-copy p{margin:0;max-width:390px;color:rgba(255,255,255,.74);font-size:14px;line-height:1.7}.cma-side-meta{display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.72);font-size:11px;font-weight:800}.cma-panel{position:relative;padding:40px 44px;display:flex;flex-direction:column;justify-content:center;min-width:0}.cma-top{position:absolute;top:18px;inset-inline-end:18px}.cma-theme{width:40px;height:40px;border-radius:13px;border:1px solid var(--cma-line);background:#fff;color:#475569;display:grid;place-items:center;cursor:pointer}.cma-mobile-brand{display:none;align-items:center;gap:9px;margin-bottom:22px}.cma-kicker{display:inline-flex;align-items:center;gap:7px;width:max-content;padding:6px 10px;border-radius:999px;background:rgba(var(--cma-primary-rgb),.09);color:var(--cma-primary);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.cma-panel h1{margin:10px 0 7px!important;color:var(--cma-ink)!important;font-size:clamp(30px,4vw,42px)!important;line-height:1.05!important;letter-spacing:-.045em!important;font-weight:950!important}.cma-sub{margin:0 0 22px;color:var(--cma-muted);font-size:13px;line-height:1.65}.cma-sub a,.cma-link{color:var(--cma-primary)!important;font-weight:900!important;text-decoration:none!important}.cma-alert{display:none;border-radius:14px;padding:11px 12px;margin-bottom:14px;font-size:12px;font-weight:800;line-height:1.5}.cma-alert.show{display:block}.cma-alert-danger{background:#fff1f2;color:var(--cma-danger);border:1px solid #fecdd3}.cma-alert-success{background:#ecfdf5;color:var(--cma-success);border:1px solid #bbf7d0}.cma-field{margin-bottom:13px}.cma-field label{display:block;margin:0 0 6px;color:#64748b;font-size:11px;font-weight:900}.cma-input-wrap{position:relative}.cma-input-wrap>i{position:absolute;top:50%;transform:translateY(-50%);inset-inline-start:14px;color:var(--cma-primary);z-index:2}.cma-input,.cma-select{width:100%!important;height:48px!important;border:1px solid var(--cma-line)!important;border-radius:14px!important;background:#fff!important;color:#111827!important;padding:0 14px!important;padding-inline-start:42px!important;font-size:14px!important;font-weight:700!important;outline:none!important;box-shadow:none!important}.cma-select{appearance:auto!important}.cma-input:focus,.cma-select:focus{border-color:rgba(var(--cma-primary-rgb),.55)!important;box-shadow:0 0 0 4px rgba(var(--cma-primary-rgb),.08)!important}.cma-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 14px}.cma-check{display:flex!important;align-items:center!important;gap:7px!important;margin:0!important;color:#64748b!important;font-size:12px!important;font-weight:800!important}.cma-check input{width:17px;height:17px;margin:0;accent-color:var(--cma-primary)}.cma-btn{width:100%;min-height:48px;border:0;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:950;cursor:pointer;transition:.16s ease}.cma-btn-primary{background:var(--cma-primary);color:#fff;box-shadow:0 12px 24px rgba(var(--cma-primary-rgb),.20)}.cma-btn:hover{transform:translateY(-1px)}.cma-btn .cma-spinner{display:none}.cma-btn.is-loading .cma-btn-text{display:none}.cma-btn.is-loading .cma-spinner{display:inline}.cma-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cma-foot{margin-top:18px;text-align:center;color:#94a3b8;font-size:10px;font-weight:700}.cma-terms{margin:13px 0 0;text-align:center;color:#94a3b8;font-size:10px;line-height:1.5}
[data-bs-theme=dark]{--cma-card:#111827;--cma-ink:#f8fafc;--cma-muted:#94a3b8;--cma-line:#334155}[data-bs-theme=dark] body.cm-auth{background:radial-gradient(circle at 10% 10%,rgba(var(--cma-primary-rgb),.18),transparent 28rem),#0b1220!important}[data-bs-theme=dark] .cma-shell{background:#111827;border-color:#263244;box-shadow:none}[data-bs-theme=dark] .cma-panel h1{color:#f8fafc!important}[data-bs-theme=dark] .cma-theme,[data-bs-theme=dark] .cma-input,[data-bs-theme=dark] .cma-select{background:#0f172a!important;color:#f8fafc!important;border-color:#334155!important}[data-bs-theme=dark] .cma-field label,[data-bs-theme=dark] .cma-check{color:#cbd5e1!important}
html[dir=rtl] .cma-side,html[dir=rtl] .cma-panel{text-align:right}
@media(max-width:850px){.cma-page{padding:18px}.cma-shell{grid-template-columns:1fr;max-width:620px}.cma-side{display:none}.cma-panel{padding:78px 28px 28px;min-height:100svh}.cma-mobile-brand{display:flex}}
@media(max-width:575.98px){.cma-page{padding:0}.cma-shell{border:0;border-radius:0;min-height:100svh}.cma-panel{padding:72px 18px 24px}.cma-grid-2{grid-template-columns:1fr;gap:0}.cma-panel h1{font-size:30px!important}}

/* Clubium Menu 3.87 — Persian auth typography */
html[dir="rtl"] body.cm-auth, html[lang^="fa"] body.cm-auth,
html[dir="rtl"] .cm-auth input, html[dir="rtl"] .cm-auth select, html[dir="rtl"] .cm-auth button,
html[lang^="fa"] .cm-auth input, html[lang^="fa"] .cm-auth select, html[lang^="fa"] .cm-auth button {
  font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;
}

/* v3.89: authentication Persian/Arabic font guarantee */
body.cm-auth, body.cm-auth input, body.cm-auth select, body.cm-auth button, body.cm-auth label, body.cm-auth p, body.cm-auth h1, body.cm-auth h2, body.cm-auth span {font-family:"Vazirmatn","DM Sans",Tahoma,Arial,sans-serif!important;}
body.cm-auth .bi{font-family:bootstrap-icons!important;}
