/* ============================================================
   گفتار | auth.css — بازطراحی صفحات ورود/ثبت‌نام (v3)
   فقط لایه‌ی ظاهری؛ همه‌ی قواعد زیر body.auth-body اسکوپ شده‌اند
   تا با app.css (داشبورد) هیچ تداخلی پیش نیاید.
   ============================================================ */

/* ---------- ۱) توکن‌ها ---------- */
:root{
  --au-brand:#0B8A7C;
  --au-brand-2:#12A98D;
  --au-brand-deep:#0A6E5F;
  --au-mint:#35D6AE;
  --au-ink:#0E2A23;
  --au-ink-2:#12332B;
  --au-text:#3E554D;
  --au-muted:#5C6F68;
  --au-paper:#F5F9F7;
  --au-line:rgba(14,42,35,.1);
  --au-font:'Vazirmatn','IRANSansX','IRANSans','Shabnam',Tahoma,'Segoe UI',sans-serif;
  --au-ease-out:cubic-bezier(.22,.8,.32,1);
  --au-ease-spring:cubic-bezier(.34,1.4,.44,1);
}

/* ---------- ۲) پایه ---------- */
body.auth-body{
  margin:0;
  font-family:var(--au-font);
  font-size:15px;line-height:1.9;color:var(--au-text);
  background:var(--au-paper);
  -webkit-font-smoothing:antialiased;
}
body.auth-body ::selection{background:var(--au-brand);color:#fff}
body.auth-body a{text-decoration:none}
body.auth-body a:focus-visible,
body.auth-body button:focus-visible,
body.auth-body input:focus-visible{outline:2px solid var(--au-mint);outline-offset:2px;border-radius:6px}
body.auth-body input,body.auth-body button{font-family:inherit}

/* لینک پرش به محتوا */
.auth-body .auth-body__skip{
  position:fixed;top:-64px;left:50%;transform:translateX(-50%);z-index:999;
  background:var(--au-brand);color:#fff;padding:10px 22px;border-radius:0 0 12px 12px;
  font-size:13px;font-weight:700;transition:top .3s;
}
.auth-body .auth-body__skip:focus{top:0}

/* ---------- ۳) چیدمان دوستونه ---------- */
.auth-body .auth-wrap{
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(420px,560px) minmax(0,1fr);
}

/* ستون فرم (راست) */
.auth-body .auth-main{
  display:flex;flex-direction:column;align-items:center;
  padding:48px 32px;
  background:radial-gradient(70% 45% at 50% 0%,rgba(11,138,124,.06),transparent 70%);
}
.auth-body .auth-card{
  position:relative;overflow:hidden;
  width:100%;margin-block:auto;
  background:#fff;border:1px solid var(--au-line);border-radius:24px;
  padding:34px 34px 30px;
  box-shadow:0 30px 70px -30px rgba(8,60,48,.18);
  animation:auRise .8s .15s var(--au-ease-out) both;
}
.auth-body .auth-card::before{ /* خط گرادیانی بالای کارت */
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,transparent,#12A98D,#35D6AE,transparent);
}

/* برند داخل کارت */
.auth-body .auth-card__brand{display:flex;justify-content:center}
.auth-body .brand{display:inline-flex;align-items:center;gap:10px}
.auth-body .brand__logo{
  width:46px;height:46px;border-radius:14px;flex:none;
  display:grid;place-items:center;font-size:18px;color:#fff;
  background:linear-gradient(135deg,#12A98D,#0A6E5F);
  box-shadow:0 10px 22px -8px rgba(11,138,124,.55);
  transition:transform .5s var(--au-ease-spring);
}
.auth-body .brand:hover .brand__logo{transform:rotate(-10deg) scale(1.06)}
.auth-body .brand__name{font-size:16px;font-weight:800;color:var(--au-ink)}

/* سربرگ کارت */
.auth-body .auth-card__head{text-align:center;margin:18px 0 22px}
.auth-body .auth-card__head h1{margin:0 0 8px;font-size:21px;font-weight:800;color:var(--au-ink);line-height:1.6}
.auth-body .auth-card__head p{margin:0;font-size:13.5px;color:var(--au-muted);line-height:1.9}

/* ---------- ۴) پیام‌های فلش (توست) ---------- */
.auth-body .toast{
        position: static;
  display:flex;gap:12px;
  margin:0 0 20px;padding:13px 16px;
  border-radius:14px;border:1px solid transparent;
  font-size:13.5px;line-height:1.9;background:#F0F5F3;border-color:var(--au-line);color:var(--au-text);
}
.auth-body .toast--error,.auth-body .toast.error{background:#FDF0EE;border-color:rgba(224,82,70,.28);color:#7A2A22}
.auth-body .toast--success,.auth-body .toast.success{background:#EAF7F0;border-color:rgba(11,138,124,.28);color:#0A5245}
.auth-body .toast--warning{background:#FDF6E7;border-color:rgba(214,158,46,.3);color:#7A5A18}
.auth-body .toast--info{background:#EAF3F6;border-color:rgba(70,130,180,.25);color:#2A5570}
.auth-body .toast [data-toast-close]{
  flex:none;margin-inline-start:auto;cursor:pointer;
  background:transparent;border:none;padding:4px;border-radius:8px;
  color:inherit;opacity:.55;font-size:12px;transition:opacity .25s;
}
.auth-body .toast [data-toast-close]:hover{opacity:1}

/* ---------- ۵) فرم ---------- */
.auth-body .field{margin-bottom:18px}
.auth-body .field label{
  display:flex;align-items:center;gap:5px;margin-bottom:8px;
  font-size:13.5px;font-weight:700;color:var(--au-ink-2);
}
.auth-body .req{color:#E5484D;font-weight:900}

.auth-body .input{
  width:100%;padding:12px 14px;
  font-family:inherit;font-size:14px;color:var(--au-ink);
  background:#FBFDFC;border:1.5px solid rgba(14,42,35,.14);border-radius:12px;
  outline:none;
  transition:border-color .3s,box-shadow .3s,background .3s;
}
.auth-body .input:hover{border-color:rgba(14,42,35,.3)}
.auth-body .input:focus{border-color:#12A98D;background:#fff;box-shadow:0 0 0 4px rgba(11,138,124,.13)}
.auth-body .input::placeholder{color:#9AA8A2}
.auth-body .input--ltr{text-align:right}

.auth-body .form-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}
.auth-body .field-hint{
  display:flex;align-items:center;gap:6px;margin-top:16px;
  font-size:11.5px;color:var(--au-muted);
}
.auth-body .field-hint i{font-size:10px;color:var(--au-brand)}

/* جداکننده‌های بخش‌های فرم */
.auth-body .form-sec{display:flex;align-items:center;gap:12px;margin:4px 0 18px}
.auth-body .form-sec::before,.auth-body .form-sec::after{
  content:'';flex:1;height:1px;
  background:linear-gradient(90deg,transparent,rgba(14,42,35,.16),transparent);
}
.auth-body .form-sec span{
  display:inline-flex;align-items:center;gap:7px;white-space:nowrap;
  font-size:11.5px;font-weight:800;color:var(--au-brand-deep);
}
.auth-body .form-sec span i{font-size:10px;color:var(--au-brand)}

/* نمایش/مخفی رمز */
.auth-body .pw-wrap{position:relative}
.auth-body .pw-wrap .input{padding-inline-end:48px}
.auth-body .pw-toggle{
  position:absolute;inset-inline-end:8px;top:50%;transform:translateY(-50%);
  width:34px;height:34px;border-radius:10px;border:none;cursor:pointer;
  background:transparent;color:#8AA096;font-size:13px;
  display:grid;place-items:center;transition:background .3s,color .3s;
}
.auth-body .pw-toggle:hover{background:rgba(11,138,124,.1);color:var(--au-brand-deep)}

/* جعبه‌ی سؤال امنیتی */
.auth-body .secq-box{
  position:relative;overflow:hidden;
  margin:4px 0 20px;padding:20px 18px;border-radius:18px;
  background:linear-gradient(135deg,rgba(11,138,124,.07),rgba(53,214,174,.03));
  border:1px solid rgba(11,138,124,.22);
}
.auth-body .secq-box::after{ /* واترمارک سپر */
  content:'\f3ed';font-family:'Font Awesome 6 Free';font-weight:900;
  position:absolute;inset-inline-end:-14px;top:-18px;
  font-size:110px;line-height:1;color:rgba(11,138,124,.06);pointer-events:none;
}
.auth-body .secq-box__title{
  display:flex;align-items:center;gap:10px;margin-bottom:6px;
  font-size:14px;font-weight:800;color:var(--au-ink-2);
}
.auth-body .secq-box__title i{
  width:34px;height:34px;flex:none;border-radius:10px;
  display:grid;place-items:center;font-size:13px;color:#fff;
  background:linear-gradient(135deg,#12A98D,#0A6E5F);
  box-shadow:0 8px 16px -6px rgba(11,138,124,.5);
}
.auth-body .secq-box__hint{margin:0 0 16px;font-size:12.5px;line-height:2;color:var(--au-muted)}
.auth-body .secq-box .field:last-child{margin-bottom:0}

/* چک‌باکس قوانین */
.auth-body .check{
  display:flex;align-items:flex-start;gap:10px;cursor:pointer;
  font-size:13px;line-height:1.9;color:var(--au-text);
}
.auth-body .check input{width:17px;height:17px;flex:none;margin-top:5px;accent-color:#0B8A7C;cursor:pointer}
.auth-body .check a{color:var(--au-brand-deep);font-weight:700}
.auth-body .check a:hover{text-decoration:underline}

/* دکمه‌ها */
.auth-body .btn{
  position:relative;overflow:hidden;
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  border:1px solid transparent;border-radius:14px;padding:11px 22px;
  font-size:14px;font-weight:700;cursor:pointer;
  transition:transform .35s var(--au-ease-spring),box-shadow .3s,background .3s;
  -webkit-tap-highlight-color:transparent;
}
.auth-body .btn i{transition:transform .3s}
.auth-body .btn:hover{transform:translateY(-3px)}
.auth-body .btn:hover i{transform:translateY(-2px)}
.auth-body .btn:active{transform:translateY(0) scale(.98)}
.auth-body .btn--primary{
  background:linear-gradient(135deg,#12A98D,#0B8A7C 55%,#08705F);color:#fff;
  box-shadow:0 12px 28px -10px rgba(11,138,124,.5);
}
.auth-body .btn--primary::after{ /* برق عبوری روی هاور */
  content:'';position:absolute;top:0;bottom:0;left:-70%;width:45%;
  background:linear-gradient(105deg,transparent,rgba(255,255,255,.35),transparent);
  transform:skewX(-18deg);transition:left .65s ease;
}
.auth-body .btn--primary:hover{box-shadow:0 18px 36px -12px rgba(11,138,124,.6)}
.auth-body .btn--primary:hover::after{left:135%}
.auth-body .btn--lg{padding:15px 26px;font-size:15px;border-radius:16px}
.auth-body .btn--block{width:100%}
.auth-body form .btn--block{margin-top:6px}

/* لینک پایین فرم */
.auth-body .auth-alts{
  margin-top:22px;padding-top:18px;
  border-top:1px dashed rgba(14,42,35,.14);
  text-align:center;font-size:13.5px;color:var(--au-muted);
}
.auth-body .auth-alts a{color:var(--au-brand-deep);font-weight:800;transition:color .3s}
.auth-body .auth-alts a:hover{color:var(--au-brand)}

/* ---------- ۶) فوتر صفحه ---------- */
.auth-body .auth-foot{
  display:flex;flex-direction:column;align-items:center;gap:4px;
  margin-top:22px;text-align:center;
  font-size:12.5px;color:#7A8C85;
}
.auth-body .auth-foot a{color:var(--au-brand-deep);font-weight:600;transition:color .3s}
.auth-body .auth-foot a:hover{color:var(--au-brand)}
.auth-body .auth-foot strong{color:#3E554D}
.auth-body .auth-foot__back{display:inline-flex;align-items:center;gap:7px}
.auth-body .auth-foot__back i{font-size:11px;transition:transform .3s}
.auth-body .auth-foot__back:hover i{transform:translateX(4px)}

/* ---------- ۷) پنل تزئینی (چپ، فقط دسکتاپ) ---------- */
.auth-body .auth-side{
  position:sticky;top:0;align-self:start;height:100vh;overflow:hidden;
  background:radial-gradient(120% 100% at 70% 0%,#0A241D 0%,#06110D 55%);
  color:#fff;
}
.auth-body .auth-side__bg{position:absolute;inset:0;pointer-events:none}
.auth-body .auth-blob{position:absolute;border-radius:50%}
.auth-body .auth-blob--1{
  width:620px;height:620px;top:-190px;inset-inline-start:-170px;
  background:radial-gradient(circle at 35% 35%,rgba(18,169,141,.38),rgba(18,169,141,0) 70%);
  animation:auBlob 16s ease-in-out infinite alternate;
}
.auth-body .auth-blob--2{
  width:500px;height:500px;bottom:-160px;inset-inline-end:-130px;
  background:radial-gradient(circle at 60% 40%,rgba(53,214,174,.24),rgba(53,214,174,0) 70%);
  animation:auBlob 22s ease-in-out infinite alternate-reverse;
}
.auth-body .auth-side__pattern{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size:52px 52px;
  -webkit-mask-image:radial-gradient(ellipse 90% 70% at 50% 0%,#000 25%,transparent 75%);
  mask-image:radial-gradient(ellipse 90% 70% at 50% 0%,#000 25%,transparent 75%);
}
.auth-body .auth-side__noise{
  position:absolute;inset:0;opacity:.05;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

.auth-body .auth-side__in{
  position:relative;z-index:2;height:100%;
  display:flex;flex-direction:column;padding:44px 48px;
}
.auth-body .auth-side__brand{display:flex;align-items:center;gap:14px;animation:auRise .8s .1s var(--au-ease-out) both}
.auth-body .auth-side__brand .brand__logo{
  width:52px;height:52px;border-radius:15px;font-size:20px;
}
.auth-body .auth-side__brandtxt b{display:block;font-size:18px;font-weight:800;color:#fff;line-height:1.5}
.auth-body .auth-side__brandtxt small{font-size:12px;color:rgba(255,255,255,.55)}

.auth-body .auth-side__mid{margin-block:auto;display:flex;flex-direction:column;gap:36px;padding-block:36px}
.auth-body .auth-side__hero{animation:auRise .8s .22s var(--au-ease-out) both}
.auth-body .auth-side__hero h2{margin:0 0 14px;font-size:clamp(1.35rem,2vw,1.7rem);font-weight:800;color:#fff;line-height:1.75}
.auth-body .auth-side__hero h2 em{
  font-style:normal;
  background:linear-gradient(180deg,#C8F7E4 20%,#4ED8B2 85%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.auth-body .auth-side__hero p{margin:0;max-width:420px;font-size:14px;line-height:2.1;color:rgba(230,245,240,.65)}

.auth-body .auth-side__list{
  list-style:none;margin:0;padding:0;
  display:flex;flex-direction:column;gap:14px;
  animation:auRise .8s .5s var(--au-ease-out) both;
}
.auth-body .auth-side__list li{display:flex;align-items:center;gap:12px;font-size:13.5px;font-weight:600;color:rgba(255,255,255,.82)}
.auth-body .auth-side__list li i{
  width:36px;height:36px;flex:none;border-radius:11px;
  display:grid;place-items:center;font-size:13px;color:#7CE8C9;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);
}

/* ---------- ۸) ماکاپ چت شیشه‌ای ---------- */
.auth-body .mini-chat{
  position:relative;width:100%;max-width:380px;
  border-radius:20px;overflow:visible;
  background:linear-gradient(165deg,rgba(20,40,34,.9),rgba(10,22,18,.92));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 30px 70px -25px rgba(0,0,0,.6);
  animation:auRise .9s .35s var(--au-ease-out) both;
}
.auth-body .mini-chat__head{
  display:flex;align-items:center;gap:11px;padding:13px 16px;
  border-bottom:1px solid rgba(255,255,255,.09);
}
.auth-body .mini-chat__ava{
  width:38px;height:38px;flex:none;border-radius:12px;
  display:grid;place-items:center;font-size:15px;color:#fff;
  background:linear-gradient(135deg,#12A98D,#0A6E5F);
}
.auth-body .mini-chat__meta b{display:block;font-size:13px;color:#fff;line-height:1.6}
.auth-body .mini-chat__meta small{display:flex;align-items:center;gap:6px;font-size:11px;color:rgba(255,255,255,.55)}
.auth-body .mini-chat__dot{width:6px;height:6px;border-radius:50%;background:#4ade80;animation:auDotPulse 1.8s infinite}

.auth-body .mini-chat__body{display:flex;flex-direction:column;gap:9px;padding:16px}
.auth-body .mini-chat__msg{
  max-width:85%;padding:9px 13px;border-radius:14px;
  font-size:12.5px;line-height:1.9;
  animation:auMsg .5s both;
}
.auth-body .mini-chat__body .mini-chat__msg:nth-child(1){animation-delay:1s}
.auth-body .mini-chat__body .mini-chat__msg:nth-child(2){animation-delay:1.5s}
.auth-body .mini-chat__body .mini-chat__msg:nth-child(3){animation-delay:2s}
.auth-body .mini-chat__msg--in{
  align-self:flex-start;color:#E8F4EF;
  background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.07);
  border-start-start-radius:4px;
}
.auth-body .mini-chat__msg--out{
  align-self:flex-end;color:#fff;
  background:linear-gradient(135deg,#12A98D,#0B8A7C);
  border-end-end-radius:4px;
  box-shadow:0 8px 18px -8px rgba(11,138,124,.5);
}
.auth-body .mini-chat__typing{
  align-self:flex-start;display:flex;gap:5px;
  padding:11px 14px;border-radius:14px;
  background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.07);
  animation:auRise .5s 2.5s both;
}
.auth-body .mini-chat__typing span{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.55);animation:auTyping 1s ease-in-out infinite}
.auth-body .mini-chat__typing span:nth-child(2){animation-delay:.15s}
.auth-body .mini-chat__typing span:nth-child(3){animation-delay:.3s}

/* چیپ شناور روی چت */
.auth-body .auth-chip{
  position:absolute;top:-16px;inset-inline-start:-14px;z-index:3;
  display:inline-flex;align-items:center;gap:8px;white-space:nowrap;
  padding:8px 13px;border-radius:999px;
  background:rgba(10,26,21,.82);border:1px solid rgba(255,255,255,.15);color:#EAF6F1;
  font-size:11.5px;font-weight:600;
  box-shadow:0 12px 28px -10px rgba(0,0,0,.5);
  animation:auFade .6s 2.9s both,auBob 6s 3.5s ease-in-out infinite alternate;
}
.auth-body .auth-chip i{
  width:22px;height:22px;flex:none;border-radius:50%;
  display:grid;place-items:center;font-size:9px;color:#fff;
  background:linear-gradient(135deg,#12A98D,#2EC4A0);
}

/* ---------- ۹) کی‌فریم‌ها ---------- */
@keyframes auRise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@keyframes auFade{from{opacity:0}to{opacity:1}}
@keyframes auMsg{from{opacity:0;transform:translateY(10px) scale(.95)}to{opacity:1;transform:none}}
@keyframes auBlob{
  0%{transform:translate(0,0) scale(1)}
  50%{transform:translate(-40px,30px) scale(1.08)}
  100%{transform:translate(30px,-40px) scale(.96)}
}
@keyframes auBob{from{transform:translateY(0)}to{transform:translateY(-9px)}}
@keyframes auTyping{0%,100%{transform:translateY(0);opacity:.5}40%{transform:translateY(-5px);opacity:1}}
@keyframes auDotPulse{
  0%{box-shadow:0 0 0 0 rgba(74,222,128,.55)}
  70%{box-shadow:0 0 0 7px rgba(74,222,128,0)}
  100%{box-shadow:0 0 0 0 rgba(74,222,128,0)}
}

/* ---------- ۱۰) ریسپانسیو ---------- */
@media (max-width:1020px){
  .auth-body .auth-wrap{grid-template-columns:1fr}
  .auth-body .auth-side{display:none}
  .auth-body .auth-main{padding:36px 20px}
}
@media (max-width:620px){
  .auth-body .auth-card{padding:26px 20px 22px;border-radius:20px}
  .auth-body .auth-card__head h1{font-size:19px}
  .auth-body .form-grid{grid-template-columns:1fr}
  .auth-body .auth-main{padding:24px 14px}
  .auth-body .btn--lg{padding:14px 20px}
}

/* ---------- ۱۱) کاهش حرکت ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}

/* ============================================================
   الحاقیه‌ی auth.css — صفحات terms / login / forgot / reset
   (این بخش را انتهای همان فایل اضافه کنید؛ از توکن‌ها و
   کی‌فریم‌های تعریف‌شده در بالای فایل استفاده می‌کند.)
   ============================================================ */

/* ---------- ۱۲) کلاس‌های کمکی ---------- */
.auth-body .text-center{text-align:center}
.auth-body .muted{font-size:13px;color:var(--au-muted);margin:0}
.auth-body .mt-1{margin-top:8px}
.auth-body .flex-between{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.auth-body .flex-between .check{font-size:12.5px}
.auth-body .flex-between__link{font-size:12.5px;font-weight:700;color:var(--au-brand-deep);transition:color .3s}
.auth-body .flex-between__link:hover{color:var(--au-brand)}
.auth-body .auth-card h3{margin:0 0 6px;font-size:15px;font-weight:800;color:var(--au-ink-2);line-height:1.7}

/* ---------- ۱۳) بلوک‌های وضعیت (auth-ok) ---------- */
.auth-body .auth-ok{
  padding:26px 22px;margin-bottom:18px;border-radius:18px;text-align:center;
  background:linear-gradient(135deg,rgba(11,138,124,.06),rgba(53,214,174,.03));
  border:1px solid rgba(11,138,124,.2);
  animation:auRise .7s var(--au-ease-out) both;
}
.auth-body .auth-ok--danger{
  background:linear-gradient(135deg,rgba(224,82,70,.07),rgba(224,82,70,.02));
  border-color:rgba(224,82,70,.25);
}
.auth-body .empty__icon{
  display:grid;place-items:center;
  width:64px;height:64px;margin:0 auto 14px;border-radius:20px;
  font-size:26px;color:var(--au-brand);
  background:rgba(11,138,124,.1);border:1px solid rgba(11,138,124,.18);
}
.auth-body .auth-ok__icon{
  background:linear-gradient(135deg,#12A98D,#0A6E5F);color:#fff;border:none;
  box-shadow:0 14px 30px -10px rgba(11,138,124,.55);
}
.auth-body .auth-ok__icon--red{
  background:rgba(224,82,70,.12);color:#D5484F;border-color:rgba(224,82,70,.22);
}

/* ---------- ۱۴) هشدارها (alert) ---------- */
.auth-body .alert{
  display:flex;align-items:flex-start;gap:12px;
  margin:0 0 16px;padding:13px 16px;border-radius:14px;
  font-size:12.5px;line-height:2;text-align:start;
  background:#F0F5F3;border:1px solid var(--au-line);color:var(--au-text);
}
.auth-body .alert i{flex:none;margin-top:4px;font-size:13px}
.auth-body .alert--warning{background:#FDF6E7;border-color:rgba(214,158,46,.35);color:#7A5A18}
.auth-body .alert--warning i{color:#D69E2E}
.auth-body .alert--info{background:#EAF4F1;border-color:rgba(11,138,124,.25);color:#0A5245}
.auth-body .alert--info i{color:var(--au-brand)}
.auth-body .alert a{color:inherit;font-weight:800}
.auth-body .alert a:hover{text-decoration:underline}

/* ---------- ۱۵) نمایش رمز تولیدشده ---------- */
.auth-body .auth-pass-reveal{
  display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;
  margin:0 0 16px;padding:18px 16px;border-radius:16px;
  background:#0B1F1A;border:1px solid rgba(124,232,201,.22);
  animation:auRise .7s .15s var(--au-ease-out) both;
}
.auth-body .auth-pass-reveal__label{font-size:12px;font-weight:700;color:#7CE8C9}
.auth-body .auth-pass-reveal code{
  direction:ltr;font-size:19px;font-weight:700;line-height:1;color:#B8F5DF;
  font-family:ui-monospace,'Cascadia Code',Consolas,monospace;letter-spacing:.1em;
}
.auth-body .auth-pass-reveal .btn{flex:none}

/* ---------- ۱۶) دکمه‌های تکمیلی ---------- */
.auth-body .btn--outline{background:transparent;border:1.5px solid rgba(11,138,124,.4);color:var(--au-brand-deep)}
.auth-body .btn--outline:hover{background:rgba(11,138,124,.07);border-color:rgba(11,138,124,.75);color:var(--au-brand-deep)}
.auth-body .btn--sm{padding:8px 14px;font-size:12.5px;border-radius:10px;gap:7px}
.auth-body .auth-pass-reveal .btn--outline{border-color:rgba(124,232,201,.4);color:#7CE8C9}
.auth-body .auth-pass-reveal .btn--outline:hover{background:rgba(124,232,201,.12);border-color:rgba(124,232,201,.7);color:#9CEFD8}

/* ---------- ۱۷) auth-alts با دکمه ---------- */
.auth-body .auth-alts--stack{display:flex;flex-direction:column;align-items:center;gap:10px}
.auth-body .auth-alts__sep{color:#B7C4BE}
.auth-body .auth-alts a i{font-size:10px}

/* ---------- ۱۸) نشانگر مراحل بازیابی ---------- */
.auth-body .auth-steps{display:flex;align-items:center;gap:8px;margin-bottom:22px}
.auth-body .auth-steps__item{
  display:inline-flex;align-items:center;gap:6px;white-space:nowrap;
  font-size:11px;font-weight:700;color:#9AA8A2;
  padding:5px 10px;border-radius:999px;transition:all .35s;
}
.auth-body .auth-steps__item i{font-size:10px}
.auth-body .auth-steps__item.is-active{
  color:var(--au-brand-deep);
  background:rgba(11,138,124,.1);
  box-shadow:inset 0 0 0 1px rgba(11,138,124,.25);
}
.auth-body .auth-steps__item.is-done{color:var(--au-brand)}
.auth-body .auth-steps__sep{flex:1;min-width:10px;height:1px;background:rgba(14,42,35,.14)}

/* ---------- ۱۹) صفحه‌ی قوانین ---------- */
.auth-body .terms-text{font-size:13px;color:var(--au-text);line-height:2.1}
.auth-body .terms-text>p{margin:0 0 16px}
.auth-body .terms-text a{color:var(--au-brand-deep);font-weight:700;transition:color .3s}
.auth-body .terms-text a:hover{color:var(--au-brand);text-decoration:underline}
.auth-body .terms-list{
  list-style:none;margin:0 0 18px;padding:0;counter-reset:auTerms;
  display:flex;flex-direction:column;gap:13px;
}
.auth-body .terms-list li{
  position:relative;padding-inline-start:46px;
  font-size:13px;line-height:2.05;color:var(--au-text);
}
.auth-body .terms-list li::before{
  content:counter(auTerms,persian);
  position:absolute;inset-inline-start:0;top:4px;
  width:30px;height:30px;border-radius:10px;
  display:grid;place-items:center;
  font-size:12.5px;font-weight:800;color:#fff;
  background:linear-gradient(135deg,#12A98D,#0A6E5F);
  box-shadow:0 6px 14px -6px rgba(11,138,124,.5);
  transition:transform .3s var(--au-ease-spring);
}
.auth-body .terms-list li:hover::before{transform:scale(1.1) rotate(-4deg)}

/* ---------- ۲۰) جزئیات کوچک ---------- */
.auth-body .field-hint b{font-weight:800;color:var(--au-ink-2)}

@media (max-width:520px){
  .auth-body .auth-steps{flex-wrap:wrap;justify-content:center}
  .auth-body .auth-pass-reveal code{font-size:16px}
}

/* ---------- ۱۹) صفحه‌ی قوانین (نسخه‌ی اصلاح‌شده) ---------- */
/* خنثی‌کردن قواعد نسخه‌ی قبلی (شمارنده‌ی معیوب) — اگر بلاک قبلی را پاک کرده‌اید این خط بی‌اثر است */
.auth-body .terms-list li::before{content:none}

.auth-body .terms-text{font-size:13px;color:var(--au-text);line-height:2.1}
.auth-body .terms-text>p{margin:0 0 16px}
.auth-body .terms-text a{color:var(--au-brand-deep);font-weight:700;transition:color .3s}
.auth-body .terms-text a:hover{color:var(--au-brand);text-decoration:underline}

/* پاراگراف مقدماتی */
.auth-body .terms-text__intro{
  border-inline-start:3px solid rgba(11,138,124,.4);
  background:rgba(11,138,124,.05);
  border-radius:12px;padding:12px 16px;
}

/* بخش‌های موضوعی */
.auth-body .terms-sec{margin:0 0 26px}
.auth-body .terms-sec>h3{
  display:flex;align-items:center;gap:10px;
  margin:0 0 14px;padding:0;
  font-size:14px;font-weight:800;color:var(--au-ink-2);
}
.auth-body .terms-sec>h3 i{
  width:32px;height:32px;flex:none;border-radius:10px;
  display:grid;place-items:center;font-size:12px;color:var(--au-brand);
  background:rgba(11,138,124,.1);border:1px solid rgba(11,138,124,.18);
}

/* لیست بندها — شماره‌ها مستقیم در HTML هستند */
.auth-body .terms-list{
  list-style:none;margin:0;padding:0;
  display:flex;flex-direction:column;gap:13px;
}
.auth-body .terms-list li{
  position:static;padding:0;
  display:flex;align-items:flex-start;gap:14px;
  font-size:13px;line-height:2.05;color:var(--au-text);
}
.auth-body .terms-list__no{
  flex:none;width:30px;height:30px;margin-top:4px;border-radius:10px;
  display:grid;place-items:center;
  font-size:12.5px;font-weight:800;color:#fff;
  background:linear-gradient(135deg,#12A98D,#0A6E5F);
  box-shadow:0 6px 14px -6px rgba(11,138,124,.5);
  transition:transform .3s var(--au-ease-spring);
}
.auth-body .terms-list li:hover .terms-list__no{transform:scale(1.1) rotate(-4deg)}