/* auth.css — بوابةُ الدخول (gap666: إعادةُ تصميمٍ كاملة).
 * كلُّ قاعدةٍ مقصورةٌ على .t2-auth أو #boot فلا تمسُّ بقيةَ اللوحة.
 * الجوّالُ أولًا: بطاقةٌ واحدةٌ بعرضِ الشاشة، ثم لوحانِ متجاورانِ عندَ 60rem.
 */

.t2-auth {
  --au-brand: #0AA5AD;
  --au-brand-2: #067A82;
  --au-ink: #0A1F44;
  --au-ink-2: #132E5E;
  --au-muted: #566A88;
  --au-line: #D4DEEA;
  --au-line-2: #E7EEF6;
  --au-wash: #E2F4F5;
  --au-gold: #FFC861;
  --au-gold-ink: #3D2403;
  --au-ring: 0 0 0 3px rgba(10, 165, 173, .22);
  --au-r: 14px;
  --au-r-lg: 24px;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  place-items: center;
  padding: 12px;
  background: #F4F7FA;
  font-family: var(--t2-ff-text);
  color: #0B2349;
}

/* البطاقةُ الأصليةُ تتحوَّلُ إلى غلافٍ شفّافٍ يحملُ هيكلَ البوابة */
.t2-auth .t2-au-card.t2-auth-card {
  width: 100%;
  max-width: 30rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.t2-auth-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--au-line);
  border-radius: var(--au-r-lg);
  background: #fff;
  box-shadow: 0 10px 28px rgba(10, 31, 68, .08);
  overflow: hidden;
  animation: t2-auth-in .38s cubic-bezier(.2, .8, .2, 1) both;
}

/* ===== لوحُ الهوية (الشاشاتُ الواسعة) ===== */
.t2-auth-brand {
  display: none;
  position: relative;
  overflow: hidden;
  padding: 36px 32px;
  color: #EEF3FA;
  background: linear-gradient(165deg, #0A1F44, #132E5E 72%);
}
.t2-auth-brand::before,
.t2-auth-brand::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.t2-auth-brand::before {
  width: 22rem;
  height: 22rem;
  inset-inline-end: -9rem;
  top: -8rem;
  background: radial-gradient(circle, rgba(61, 219, 201, .22), transparent 68%);
}
.t2-auth-brand::after {
  width: 16rem;
  height: 16rem;
  inset-inline-start: -6rem;
  bottom: -7rem;
  border: 1px solid rgba(255, 255, 255, .10);
}
.t2-auth-brandtop { display: flex; align-items: center; gap: 12px; position: relative; }
.t2-auth-logo { width: 2.9rem; height: auto; filter: brightness(0) invert(1); opacity: .96; }
.t2-auth-brandt { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.t2-auth-kicker {
  position: relative;
  margin: 28px 0 0;
  color: #FFC861;
  font-family: var(--t2-ff-display);
  font-size: .92rem;
  font-weight: 700;
}
.t2-auth-hero {
  position: relative;
  margin-top: 10px;
  font-size: 1.7rem;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -.02em;
  max-width: 16ch;
}
.t2-auth-lead {
  position: relative;
  margin: 14px 0 0;
  max-width: 28ch;
  color: rgba(234, 250, 247, .88);
  line-height: 1.8;
  font-size: .95rem;
}
.t2-auth-list { position: relative; list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.t2-auth-li { display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 600; color: rgba(234, 250, 247, .92); }
.t2-auth-liic {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  flex: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
}

/* ===== لوحُ النموذج ===== */
.t2-auth-panel {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 18px 18px 20px;
}
.t2-auth-panel.is-busy .t2-auth-body { pointer-events: none; opacity: .72; transition: opacity .15s ease; }
.t2-auth-body { display: grid; gap: 14px; min-width: 0; }

/* شريطُ الهويةِ والرجوع */
.t2-auth-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.t2-auth-topb { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.t2-auth-topb img { width: 34px; height: 34px; object-fit: contain; }
.t2-auth-topn { font-size: .95rem; font-weight: 700; color: var(--au-ink); white-space: nowrap; }
.t2-auth-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--au-line);
  color: var(--au-ink-2);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.t2-auth-home:hover { border-color: var(--au-brand); color: var(--au-brand-2); background: var(--au-wash); }
.t2-auth-home:focus-visible { outline: none; box-shadow: var(--au-ring); }

/* ===== مؤشِّرُ المراحل: نقاطٌ وخطٌّ واصل — بلا أرقامٍ وبلا علامةِ تعجُّب ===== */
.t2-auth-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.t2-auth-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: .72rem;
  line-height: 1.35;
  color: var(--au-muted);
}
.t2-auth-step::before {
  content: '';
  position: absolute;
  top: calc(.65rem - 1px);
  inset-inline-start: calc(-50% + .85rem);
  inset-inline-end: calc(50% + .85rem);
  height: 2px;
  border-radius: 2px;
  background: var(--au-line);
}
.t2-auth-step:first-child::before { display: none; }
.t2-auth-step.is-done::before,
.t2-auth-step.is-now::before { background: var(--au-brand); }
.t2-auth-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  border: 2px solid var(--au-line);
  background: #fff;
  color: #fff;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.t2-auth-step.is-done .t2-auth-dot { background: var(--au-brand); border-color: var(--au-brand); }
.t2-auth-step.is-now .t2-auth-dot { border-color: var(--au-brand); box-shadow: var(--au-ring); }
.t2-auth-step.is-now .t2-auth-dot::after {
  content: '';
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--au-brand);
}
.t2-auth-step.is-now { color: var(--au-ink); font-weight: 700; }
.t2-auth-step.is-done { color: var(--au-ink-2); }
.t2-auth-step-l { max-width: 100%; overflow-wrap: anywhere; }

/* ===== الرأس ===== */
.t2-auth-head { display: flex; align-items: center; gap: 12px; }
.t2-auth-mark {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 63px;
  border-radius: 0;
  background: none;
}
.t2-auth-mark .t2-au-tile { width: 56px; height: 63px; display: block; }
.t2-auth-htxt { flex: 1 1 auto; min-width: 0; }
.t2-auth .t2-auth-t {
  margin: 0;
  font-family: var(--t2-ff-display);
  font-size: 1.35rem;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0;
  color: #0A1F44;
}
.t2-auth .t2-auth-s {
  margin: 2px 0 0;
  font-size: .84rem;
  line-height: 1.7;
  color: var(--au-muted);
}
.t2-auth .t2-auth-s:empty { display: none; }
.t2-auth .t2-icon3d-slot { display: none; }
.t2-auth .t2-auth-note { font-size: .8rem; }

/* ===== الحقول ===== */
.t2-auth-form { display: grid; gap: 14px; margin: 0; }
.t2-auth .t2-auth-field { display: grid; gap: 6px; position: relative; margin: 0; }
.t2-auth .t2-auth-field > label {
  font-family: var(--t2-ff-display);
  font-size: .92rem;
  font-weight: 700;
  color: #0A1F44;
}
.t2-auth .t2-auth-field .t2-field-hint,
.t2-auth .t2-auth-field small,
.t2-auth .t2-auth-field .t2-field-error {
  font-size: .74rem;
  color: var(--au-muted);
  line-height: 1.6;
  margin: 0;
}
.t2-auth .t2-auth-field .t2-field-error:empty { display: none; }
.t2-auth .t2-auth-field .t2-field-error { color: var(--t2-danger, #c0392b); }
.t2-auth #login-id-hint { display: none; }

.t2-auth input.t2-input,
.t2-auth select.t2-input,
.t2-auth textarea.t2-input {
  width: 100%;
  min-height: 48px;
  padding: .6rem .9rem;
  font-size: 16px; /* لا تكبيرَ تلقائيَّ في Safari */
  line-height: 1.4;
  border: 1px solid var(--au-line);
  border-radius: 14px;
  background: #fff;
  color: #0A1F44;
  font-family: var(--t2-ff-text);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.t2-auth textarea.t2-input { min-height: 88px; }
.t2-auth input.t2-input::placeholder { color: #9aa8b5; font-size: .9rem; }
.t2-auth input.t2-input:hover,
.t2-auth select.t2-input:hover,
.t2-auth textarea.t2-input:hover { border-color: #c9d4dd; }
.t2-auth input.t2-input:focus,
.t2-auth select.t2-input:focus,
.t2-auth textarea.t2-input:focus {
  outline: none;
  border-color: var(--au-brand);
  background: #fff;
  box-shadow: var(--au-ring);
}

/* ===== عينُ كلمةِ المرور: داخلَ الحقلِ في طرفِه، بمساحةِ لمسٍ ثابتة، ولا تغطّي النص ===== */
.t2-auth .t2-password-wrap { position: relative; display: block; }
.t2-auth .t2-password-wrap > input.t2-input { padding-inline-end: 3rem; }
.t2-auth .t2-password-toggle {
  position: absolute;
  top: 50%;
  inset-inline-start: auto;
  inset-inline-end: 6px;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--au-muted);
  opacity: 1;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.t2-auth .t2-password-toggle:hover { background: var(--au-line-2); color: var(--au-ink); }
.t2-auth .t2-password-toggle:focus-visible { outline: none; box-shadow: var(--au-ring); }
.t2-auth .t2-password-toggle svg { width: 18px; height: 18px; display: block; }
.t2-auth .t2-password-toggle::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(-45deg) scaleX(0);
  transition: transform .18s ease;
}
.t2-auth .t2-password-toggle.is-open { color: var(--au-brand-2); }
.t2-auth .t2-password-toggle.is-open::after { transform: rotate(-45deg) scaleX(1); }

.t2-auth-pwrow { display: flex; justify-content: flex-end; margin-top: 2px; }

/* ===== الأزرار ===== */
.t2-auth .t2-btn.t2-btn-block,
.t2-auth .t2-btn-block { width: 100%; }
.t2-auth .t2-btn.is-primary,
.t2-auth .t2-btn-primary {
  position: relative;
  min-height: 48px;
  padding: .7rem 1rem;
  font-family: var(--t2-ff-display);
  font-size: .98rem;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  color: #3D2403;
  background: #FFC861;
  box-shadow: none;
  transition: transform .12s ease, background .15s ease;
}
.t2-auth .t2-btn.is-primary:hover,
.t2-auth .t2-btn-primary:hover { filter: none; background: #F0962A; box-shadow: none; }
.t2-auth .t2-btn.is-primary:active,
.t2-auth .t2-btn-primary:active { transform: translateY(1px); }
.t2-auth .t2-btn.is-primary:focus-visible,
.t2-auth .t2-btn-primary:focus-visible { outline: none; box-shadow: var(--au-ring); }
.t2-auth .t2-btn:not(.is-primary):not(.t2-password-toggle),
.t2-auth .t2-btn-secondary {
  min-height: 48px;
  padding: .7rem 1rem;
  font-family: var(--t2-ff-display);
  font-size: .98rem;
  font-weight: 700;
  border: 1px solid #D4DEEA;
  border-radius: 999px;
  color: #0A1F44;
  background: #fff;
}
.t2-auth .t2-btn:not(.is-primary):not(.t2-password-toggle):hover,
.t2-auth .t2-btn-secondary:hover { background: #E2F4F5; border-color: #0AA5AD; }
.t2-auth .t2-btn.is-primary[disabled] { opacity: .8; cursor: progress; }
.t2-auth-spin { margin-inline-start: .45rem; border-top-color: #3D2403; vertical-align: -2px; }
.t2-auth #forgot-choose { display: grid; gap: 10px; }

.t2-auth .t2-btn-inline-link,
.t2-auth-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 2px 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--au-brand-2);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.t2-auth .t2-btn-inline-link:hover,
.t2-auth-links a:hover { color: #0b6f66; text-decoration: underline; text-underline-offset: 4px; }
.t2-auth .t2-btn-inline-link:focus-visible,
.t2-auth-links a:focus-visible { outline: none; box-shadow: var(--au-ring); }
.t2-auth .t2-btn-inline-link[disabled] { color: var(--au-muted); cursor: not-allowed; text-decoration: none; }

/* ===== صندوقُ الخطأِ الأصليُّ بلغةِ البوابة ===== */
.t2-auth .t2-box-error.t2-note,
.t2-auth .t2-box-warn.t2-note,
.t2-auth .t2-box-ok.t2-note {
  display: block;
  margin: 0;
  font-size: .84rem;
  line-height: 1.7;
  padding: 10px 14px;
  border-radius: var(--au-r);
  animation: t2-auth-in .24s ease both;
}
.t2-auth .t2-box-error.hidden,
.t2-auth .t2-box-warn.hidden,
.t2-auth .t2-box-ok.hidden { display: none; }

/* ===== رمزُ التحقُّق: مربعاتٌ منفصلة ===== */
.t2-auth .t2-otp-host { display: block; }
.t2-auth .t2-otp-w { margin: 2px 0 0; display: grid; gap: 6px; }
/* شبكةٌ بأعمدةٍ متساوية: المربعاتُ تنكمشُ معًا على الشاشاتِ الضيّقة ولا تخرجُ عن البطاقة */
:is(.t2-auth, .t2-dlg-skin) .t2-otp.t2-seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  justify-content: stretch;
  gap: 6px;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  direction: ltr;
}
:is(.t2-auth, .t2-dlg-skin) .t2-otp .t2-seg-b {
  inline-size: auto;
  width: 100%;
  min-width: 0;
  block-size: auto;
  aspect-ratio: 1;
  padding: 0;
  border: 1.5px solid #D4DEEA;
  border-radius: 12px;
  background: #fff;
  font-family: var(--t2-ff-display);
  font-size: clamp(.95rem, 2.2vw, 1.2rem);
  font-weight: 700;
  color: #0A1F44;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
:is(.t2-auth, .t2-dlg-skin) .t2-otp .t2-seg-b.is-in { background: #fff; border-color: #b9c7d2; }
:is(.t2-auth, .t2-dlg-skin) .t2-otp .t2-seg-b.is-cur { border-color: #0AA5AD; box-shadow: 0 0 0 3px rgba(10, 165, 173, .22); background: #fff; transform: none; }
:is(.t2-auth, .t2-dlg-skin) .t2-otp.is-full .t2-seg-b { border-color: #0AA5AD; background: #E2F4F5; }
.t2-auth .t2-otp.is-err .t2-seg-b { border-color: var(--t2-danger, #c0392b); background: var(--t2-danger-wash, #fdecea); }
.t2-auth #form-2fa .t2-auth-field > label { text-align: center; }
.t2-auth #twofa-hint,
.t2-auth #twofa-attempts,
.t2-auth #twofa-spam { text-align: center; }
.t2-auth #twofa-attempts:empty { display: none; }

/* صفُّ المؤقِّتِ وإعادةِ الإرسال */
.t2-auth .t2-auth-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 8px 12px;
  border: 1px dashed var(--au-line);
  border-radius: var(--au-r);
  background: #f8fafb;
  font-size: .8rem;
  color: var(--au-ink-2);
}
.t2-auth .t2-auth-timer:has(#twofa-timer:empty):has(#btn-2fa-resend[hidden]) { display: none; }
.t2-auth #twofa-timer {
  flex: 1 1 auto;
  margin: 0;
  font-size: .8rem;
  font-weight: 600;
  color: var(--au-ink-2);
  font-variant-numeric: tabular-nums;
}
.t2-auth #btn-2fa-resend[disabled] { opacity: 1; color: var(--au-muted); }
.t2-auth #btn-2fa-resend[hidden],
.t2-auth #twofa-spam[hidden] { display: none; }

/* ===== طرقُ التحقُّق: بطاقاتُ اختيار ===== */
.t2-auth #twofa-factors.t2-twofa-factors,
.t2-auth .t2-twofa-factors.t2-mp {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0 0 12px;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan > .t2-twofa-factor,
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan > .t2-reg-chan-hit {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #0A1F44;
  font: inherit;
  font-weight: 500;
  text-align: start;
  transform: none;
  cursor: pointer;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan > .t2-twofa-factor:hover,
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan.is-on > .t2-twofa-factor {
  transform: none;
  border: 0;
  background: transparent;
  color: #0A1F44;
  font-weight: 500;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan.is-on { box-shadow: inset 0 0 0 2px #0AA5AD; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan[hidden] { display: none; }
.t2-auth .t2-twofa-factor-text { display: grid; gap: 4px; min-width: 0; }
.t2-auth .t2-twofa-factor-text strong {
  font-family: var(--t2-ff-display);
  color: #0A1F44;
  font-size: 1.02rem;
}
.t2-auth .t2-twofa-factor-text small { color: #566A88; line-height: 1.7; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan .t2-mp-ic { width: 44px; height: 49px; flex: none; }
.t2-auth #twofa-hold,
.t2-auth .t2-twofa-slot { display: grid; gap: 10px; }
.t2-auth #twofa-status .t2-reg-line:has(#twofa-state:empty) { display: none; }
.t2-auth .t2-twofa-slot:has(#twofa-state:not(:empty)) #twofa-spam,
.t2-auth #twofa-hold:has(#twofa-state:not(:empty)) #twofa-spam { display: none; }
.t2-auth .t2-mp .t2-mp-i {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 10px 12px;
  border: 1.5px solid var(--au-line);
  border-radius: 14px;
  background: #fff;
  color: var(--au-ink);
  text-align: start;
  font: inherit;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.t2-auth .t2-mp .t2-mp-i:hover { border-color: #b9c7d2; transform: translateY(-1px); }
.t2-auth .t2-mp .t2-mp-i:focus-visible { outline: none; box-shadow: var(--au-ring); }
.t2-auth .t2-mp .t2-mp-i.is-on { border-color: var(--au-brand); background: var(--au-wash); }
.t2-auth .t2-mp-ic { display: inline-grid; place-items: center; }
.t2-auth .t2-mp-t { display: grid; gap: 2px; min-width: 0; }
.t2-auth .t2-mp-n { font-size: .88rem; font-weight: 700; }
.t2-auth .t2-mp-d { font-size: .74rem; line-height: 1.5; color: var(--au-muted); overflow-wrap: anywhere; }
.t2-auth .t2-mp-r {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c9d4dd;
  display: grid;
  place-items: center;
  transition: border-color .15s ease;
}
.t2-auth .t2-mp-i.is-on .t2-mp-r { border-color: var(--au-brand); }
.t2-auth .t2-mp-i.is-on .t2-mp-r::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--au-brand); }

/* ===== الروابطُ السفلية ===== */
.t2-auth-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 14px;
  padding-top: 14px;
  border-top: 1px solid var(--au-line-2);
  text-align: center;
}
.t2-auth-links p,
.t2-auth-links .t2-auth-foot { margin: 0; font-size: .8rem; color: var(--au-muted); }
.t2-auth-links .t2-auth-foot:has(a[href="/"]) { display: none; } /* الرجوعُ في شريطِ الهويةِ أعلاه */

/* ===== مراجعةُ الحساب ===== */
.t2-auth .t2-review-steps { margin: 0; }
.t2-auth .t2-review-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===== الشاشاتُ الواسعة ===== */
@media (min-width: 60rem) {
  .t2-auth { padding: 32px; }
  .t2-auth .t2-au-card.t2-auth-card { max-width: 58rem; }
  .t2-auth-wrap { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: 36rem; }
  .t2-auth-brand { display: flex; flex-direction: column; }
  .t2-auth-hero { margin-top: auto; }
  .t2-auth-panel { padding: 28px 36px 30px; gap: 22px; align-content: center; }
  .t2-auth-topb { visibility: hidden; }
  .t2-auth .t2-auth-t { font-size: 1.45rem; }
  .t2-auth .t2-twofa-factors.t2-mp,
  .t2-auth #twofa-factors.t2-twofa-factors { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 23.5rem) {
  .t2-auth { padding: 0; place-items: stretch; }
  .t2-auth-wrap { border-radius: 0; border: 0; min-height: 100dvh; }
  .t2-auth-panel { padding: 14px 14px 18px; }
  .t2-auth-home { white-space: normal; text-align: center; }
  .t2-auth-home span { display: inline; }
  .t2-auth .t2-otp.t2-seg { gap: 6px; }
}

/* الصفحة التعريفية وتجربة بدون حساب: جوال أولًا */
.t2-lp-screen {
  display: block;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(80% 40% at 100% 0%, rgba(10, 165, 173, .16), transparent 55%),
    #f4f7f9;
  color: #0A1F44;
  overflow-x: hidden;
}
.t2-lp-screen.hidden { display: none; }
.t2-lp-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid #D4DEEA;
}
.t2-lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #0A1F44;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.t2-lp-brand img { width: 44px; height: 44px; object-fit: contain; }
.t2-lp-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.t2-lp-nav-user { display: none; }
html[data-portal="in"] .t2-lp-nav-guest { display: none; }
html[data-portal="in"] .t2-lp-nav-user { display: flex; }
.t2-lp-nav button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #D4DEEA;
  border-radius: 999px;
  background: #fff;
  color: #0A1F44;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.t2-lp-nav button.is-solid { background: #0A1F44; color: #fff; border-color: #0A1F44; }
.t2-lp-nav button.is-on { border-color: #0AA5AD; color: #0f8f83; }
.t2-lp-nav button:hover, .t2-lp-nav button:focus-visible { border-color: #0AA5AD; outline: none; }
.t2-lp-hero, .t2-lp-block, .t2-lp-band { width: min(1120px, calc(100% - 28px)); margin: 0 auto; }
.t2-lp-hero { display: grid; gap: 18px; padding: 28px 0 10px; }
.t2-lp-kicker { margin: 0 0 8px; color: #0AA5AD; font-weight: 800; }
.t2-lp-hero h1 { margin: 0 0 10px; font-size: clamp(1.7rem, 5vw, 3rem); line-height: 1.35; }
.t2-lp-lead, .t2-lp-hero p, .t2-lp-block p { color: #334559; line-height: 1.85; }
.t2-lp-tag { font-weight: 700; color: #0A1F44; }
.t2-lp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.t2-lp-btn {
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.t2-lp-btn.is-primary { background: #0AA5AD; color: #fff; }
.t2-lp-btn.is-ghost { background: #fff; color: #0A1F44; border-color: #D4DEEA; }
.t2-lp-btn.is-line { background: transparent; color: #0A1F44; border-color: #0A1F44; }
.t2-lp-hero-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  background: #0A1F44;
  color: #eafaf7;
}
.t2-lp-hero-panel p { margin: 0; color: #8ee0d6; font-weight: 800; }
.t2-lp-hero-panel button {
  display: grid;
  gap: 2px;
  text-align: right;
  min-height: 64px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.t2-lp-hero-panel button span { color: rgba(234, 250, 247, .78); font-weight: 500; }
.t2-lp-block { padding: 36px 0; }
.t2-lp-block h2, .t2-lp-band h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; }
.t2-lp-split, .t2-lp-services, .t2-lp-how, .t2-lp-trust, .t2-lp-support { display: grid; gap: 14px; }
.t2-lp-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.t2-lp-facts li, .t2-lp-services article, .t2-lp-trust article, .t2-lp-support a {
  padding: 16px;
  border: 1px solid #D4DEEA;
  border-radius: 18px;
  background: #fff;
}
.t2-lp-facts strong, .t2-lp-services h3, .t2-lp-trust h3 { display: block; margin: 0 0 6px; }
.t2-lp-services article { display: grid; gap: 8px; justify-items: start; }
.t2-lp-services button, .t2-lp-foot button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #0f8f83;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.t2-lp-how { list-style: none; margin: 18px 0 0; padding: 0; }
.t2-lp-how li { display: flex; gap: 12px; align-items: flex-start; }
.t2-lp-how span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 12px;
  background: rgba(10, 165, 173, .14);
  color: #0A1F44;
  font-weight: 800;
}
.t2-lp-band {
  display: grid;
  gap: 14px;
  margin: 10px auto 20px;
  padding: 22px;
  border-radius: 24px;
  background: #0A1F44;
  color: #fff;
}
.t2-lp-band p { color: rgba(234, 250, 247, .86); }
.t2-lp-band .t2-lp-btn.is-line { color: #fff; border-color: #fff; }
.t2-lp-support { margin-top: 14px; }
.t2-lp-support a { display: grid; color: #0A1F44; text-decoration: none; min-height: 44px; }
.t2-lp-foot {
  display: grid;
  gap: 8px;
  padding: 22px 16px 28px;
  background: #fff;
  border-top: 1px solid #D4DEEA;
  color: #66788a;
}
.t2-lp-foot strong { color: #0A1F44; }
.t2-lp-foot a { color: #0f8f83; }
#screen-visitor .t2-guest-frame.t2 { min-height: 0; background: transparent; }
#screen-visitor .t2-btn, #screen-visitor .t2-mp-i { min-height: 44px; }
#screen-visitor .t2-panel .t2-stack-tight > .t2-group-h { display: none; }
#screen-visitor .t2-panel > .t2-btn.is-primary { width: 100%; }
#screen-visitor .t2-row-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
#screen-visitor .t2-row-wrap > .t2-btn { flex: 1 1 9rem; min-height: 44px; }
#screen-visitor .t2-otp .t2-seg-b { min-width: 44px; min-height: 48px; }
.t2-auth .t2-auth-field input, .t2-auth .t2-auth-field select, .t2-auth .t2-auth-field textarea { min-height: 48px; }
@media (min-width: 46rem) {
  .t2-lp-services, .t2-lp-trust, .t2-lp-support { grid-template-columns: 1fr 1fr; }
  .t2-lp-how { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 60rem) {
  .t2-lp-hero, .t2-lp-split { grid-template-columns: 1.2fr .8fr; align-items: center; }
  .t2-lp-band { grid-template-columns: 1.4fr auto; align-items: center; }
  .t2-lp-hero-panel { align-self: stretch; }
}

@keyframes t2-auth-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .t2-auth-wrap, .t2-auth-mark, .t2-auth .t2-box-error.t2-note { animation: none; }
  .t2-auth .t2-otp .t2-seg-b, .t2-auth .t2-mp .t2-mp-i { transition: none; transform: none; }
}

/* ==========================================================================
   تجربةُ التحميل (كما هي من gap230/231/235)
   ========================================================================== */

html[data-t2auth='1'] #boot:not(.opening) {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--t2-md);
  background: radial-gradient(70rem 32rem at 50% -8%, #10393f, #06171b 62%);
}

@keyframes t2-boot-pulse {
  0%, 100% { transform: scale(1); opacity: .92; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes t2-boot-slide {
  from { transform: translateX(-120%); }
  to { transform: translateX(320%); }
}

/* الإصدارُ الأولُ يفرضُ display none important على hidden, فالخروجُ الناعمُ يحتاجُ نفسَ القوة. */
html:not([data-login-ready]) body > :not(#boot) { display: none !important; }

@keyframes t2-boot-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}

/* الدخول الموحد وبدون حساب: امتداد الصفحة الأصلية، دون المساس بالصفحة الرئيسية */
.t2-auth {
  display: block;
  padding: 0 0 40px;
  background: #F4F7FA;
}
.t2-auth .t2-au-card.t2-auth-card { max-width: 1100px; margin: 0 auto; background: transparent; box-shadow: none; }
.t2-auth .t2-auth-wrap {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.t2-auth .t2-auth-brand,
.t2-auth .t2-auth-top { display: none; }
.t2-auth .t2-auth-top {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid #D4DEEA;
}
.t2-auth .t2-auth-topb { visibility: visible; }
.t2-auth .t2-auth-names { display: flex; flex-direction: column; min-width: 0; }
.t2-auth .t2-auth-topn { white-space: normal; font-size: 1rem; }
.t2-auth .t2-auth-subn { color: #0AA5AD; font-size: .8rem; font-weight: 700; }
.t2-auth .t2-auth-topb img { width: 56px; height: 56px; object-fit: contain; }
.t2-auth .t2-auth-home { min-height: 44px; color: #0A1F44; background: #fff; }
.t2-auth .t2-auth-panel {
  width: min(40rem, calc(100% - 32px));
  margin: 28px auto;
  padding: 22px 18px 20px;
  border: 1px solid #D4DEEA;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(10, 31, 68, .08);
}
.t2-auth .t2-btn.is-primary,
.t2-auth .t2-btn-primary {
  min-height: 48px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #FFC861;
  color: #3D2403;
  font-family: var(--t2-ff-display);
}
.t2-auth .t2-btn-secondary,
.t2-auth .t2-btn:not(.is-primary):not(.t2-password-toggle) {
  border-radius: 999px;
  border-color: #D4DEEA;
  color: #0A1F44;
  background: #fff;
}
body.t2-public-login .t2-auth .t2-auth-topb { display: none; }
@media (min-width: 46rem) {
  body.t2-public-login .t2-auth .t2-auth-top { display: none; }
}
.t2-auth .t2-otp .t2-seg-b { min-width: 44px; min-height: 52px; }

#screen-na, #screen-visitor { background: #F4F7FA; }
.t2-v1-page { width: min(1100px, calc(100% - 28px)); margin: 0 auto; padding: 8px 0 36px; }
.t2-v1-hero { position: relative; text-align: center; padding: 36px 8px 12px; }
.t2-v1-hero h1, .t2-v1-service-head h1 { margin: 0 0 10px; color: #0A1F44; font-size: clamp(1.5rem, 4vw, 1.85rem); font-weight: 800; line-height: 1.3; }
.t2-v1-sub, .t2-v1-service-head p { margin: 0 auto 16px; max-width: 40rem; color: #566A88; line-height: 1.7; }
.t2-v1-home {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #D4DEEA;
  border-radius: 999px;
  background: #fff;
  color: #0A1F44;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.t2-v1-home.is-soft { color: #0f8f83; }
.t2-v1-cards { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 18px 0 28px; }
.t2-v1-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid #D4DEEA;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 37, 69, .06);
  color: #0A1F44;
  text-align: start;
  font: inherit;
  cursor: pointer;
}
.t2-v1-card:hover, .t2-v1-card:focus-visible { border-color: rgba(10, 165, 173, .55); outline: none; box-shadow: 0 10px 28px rgba(11, 37, 69, .08); }
.t2-v1-card-b { display: grid; gap: 4px; min-width: 0; }
.t2-v1-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  color: #0AA5AD;
  background: rgba(10, 165, 173, .12);
}
.t2-v1-card h2 { margin: 0; font-size: 1.05rem; font-weight: 800; line-height: 1.4; }
.t2-v1-card p { margin: 0; color: #566A88; font-size: .9rem; line-height: 1.65; }
.t2-v1-cta { color: #0AA5AD; font-weight: 800; white-space: nowrap; }
.t2-v1-cta::after { content: ""; display: inline-block; inline-size: .95em; block-size: .95em; margin-inline-start: .35em; vertical-align: -.12em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.t2-v1-foot { padding: 28px 16px; text-align: center; color: #eafaf7; background: #0A1F44; }
.t2-v1-foot a, .t2-v1-foot button { color: #8ee0d6; background: transparent; border: 0; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; }
.t2-v1-service-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; text-align: center; padding-top: 18px; }
.t2-v1-service-head h1, .t2-v1-service-head p { flex: 1 1 100%; }
#screen-visitor .t2-panel { background: #fff; border-radius: 18px; }
#screen-visitor .t2-otp-life { margin: 0; color: #0A1F44; font-weight: 800; text-align: center; }
@media (max-width: 34rem) {
  .t2-v1-card { grid-template-columns: 48px minmax(0, 1fr); padding: 14px; }
  .t2-v1-cta { grid-column: 2; justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
  .t2-v1-ico { width: 48px; height: 48px; }
}
@media (min-width: 46rem) {
  .t2-v1-cards { grid-template-columns: 1fr 1fr; }
}
.t2-auth .t2-btn-inline-link,
.t2-auth-links a { min-height: 44px; padding: 8px 10px; }
.t2-auth .t2-password-wrap > input.t2-input { min-height: 52px; padding-inline-end: 3.4rem; }
.t2-auth .t2-password-toggle { width: 44px; height: 44px; }
.t2-v1-foot a, .t2-v1-foot button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
}
@media (min-width: 60rem) {
  .t2-auth .t2-au-card.t2-auth-card { max-width: 40rem; }
  .t2-auth .t2-auth-wrap { display: flex; min-height: 0; }
  .t2-auth .t2-auth-brand { display: none; }
  .t2-auth .t2-auth-topb { visibility: visible; }
}
img[src="/platform/mark-color.png"] { object-fit: contain; height: auto; }
.t2-au-logo[src="/platform/mark-color.png"] { width: 168px; height: auto; }
.t2-profile-logo[src="/platform/mark-color.png"] { width: 120px; height: auto; }
.t2-lp-brand img[src="/platform/mark-color.png"] { width: auto; height: 36px; max-width: 148px; }
body.t2-public-login #t2-public-chrome a.is-home-back { display: none; }
@media (min-width: 46rem) {
  body.t2-public-login #t2-public-chrome a.head-link[href="/desk#follow"],
  body.t2-public-login #t2-public-chrome a.is-login-link { display: none; }
  body.t2-public-login #t2-public-chrome a.is-home-back { display: inline-flex; }
}

body.t2-public-login .t2-auth-screen.t2-auth {
  min-height: 0;
  background: transparent;
  align-items: flex-start;
  padding-top: 1.5rem;
}
body.t2-public-login #t2-public-chrome .site-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
  height: auto;
  pointer-events: none;
}
body.t2-public-login #t2-public-chrome .site-nav,
body.t2-public-login #t2-public-chrome .nav-backdrop { pointer-events: auto; }
body:not(.t2-public-login) #t2-public-chrome,
body:not(.t2-public-login) #t2-public-foot,
body:not(.t2-public-login) .m-dock { display: none; }
.t2-auth-wait {
  margin: 0;
  color: var(--au-brand-2);
}
.t2-auth-panel:not(.is-busy) .t2-auth-wait { display: none; }
body.t2-public-login .t2-auth .t2-btn.is-primary,
body.t2-public-login .t2-auth .t2-btn-primary {
  background: #FFC861;
  color: #3D2403;
  border: 0;
  border-radius: 999px;
}
body.t2-public-login .t2-auth .t2-btn.is-primary:hover,
body.t2-public-login .t2-auth .t2-btn-primary:hover {
  background: #F0962A;
  color: #3D2403;
}
.t2-dlg-skin .t2-au-btn.primary,
.t2-dlg-skin .t2-btn-primary {
  background: #FFC861;
  color: #3D2403;
  border: 0;
  border-radius: 999px;
}

/* قوالب التحقق: أيقونة مع الزمن وإعادة الإرسال والتوجيه. الخانات بعد الطلب فقط. */
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px;
  background: #F4F7FA;
  border-radius: 16px;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan.is-done { box-shadow: inset 0 0 0 2px #0AA5AD; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan-top { display: flex; align-items: center; gap: 12px; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan .t2-au-tile,
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan-top .t2-au-tile { width: 44px; height: 49px; flex: none; display: block; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-tile {
  width: 44px;
  height: 49px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #6C8FDC, #1D3F86);
  box-shadow: 0 6px 0 #0B2349;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-tile.is-phone {
  color: #3D2403;
  background: linear-gradient(135deg, #FFD27A, #F0962A);
  box-shadow: 0 6px 0 #B9690F;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-tile.is-shield {
  background: linear-gradient(135deg, #7ED4D8, #0AA5AD);
  box-shadow: 0 6px 0 #067A82;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-tile svg { width: 22px; height: 22px; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan-title {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan-top strong {
  display: inline;
  font-family: var(--t2-ff-display);
  color: #0A1F44;
  font-size: 1.02rem;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-badge {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  background: #0AA5AD; color: #fff; font-size: .78rem; font-weight: 650;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-badge[hidden],
:is(.t2-auth, .t2-dlg-skin) #reg-verify-note[hidden],
:is(.t2-auth, .t2-dlg-skin) #reg-lead-wa[hidden],
:is(.t2-auth, .t2-dlg-skin) .t2-reg-edit[hidden],
.t2-auth #reg-wa-link[hidden],
.t2-auth #reg-nip[hidden],
.t2-auth #reg-link-note[hidden] { display: none; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-choice { display: flex; flex-wrap: wrap; gap: 8px; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-choice .t2-au-btn { width: auto; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan-top p { margin: 4px 0 0; color: #566A88; line-height: 1.7; font-weight: 500; }
.t2-auth .t2-phone-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.t2-auth .t2-phone-row .t2-country-code,
.t2 .t2-country-code {
  flex: 1 1 16rem;
  width: auto;
  max-width: 100%;
  min-width: 12rem;
  min-height: 48px;
  padding: 10px 14px 10px 42px;
  border: 1.5px solid #D4DEEA;
  border-radius: 16px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%230A1F44' d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  background-size: 16px 16px;
  color: #0A1F44;
  font-family: var(--t2-ff-display);
  font-weight: 650;
  appearance: none;
  -webkit-appearance: none;
}
.t2-auth .t2-phone-row .t2-country-code:focus,
.t2 .t2-country-code:focus {
  outline: none;
  border-color: #0AA5AD;
  box-shadow: 0 0 0 3px rgba(10, 165, 173, .22);
}
.t2 select.t2-country-code.t2-input,
.t2 select.t2-country-code.t2-input:is(:focus, :active) {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%230A1F44' d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: left 12px center;
}
.t2-auth .t2-phone-row .t2-country-dial,
.t2 .t2-country-dial {
  flex: 0 0 6.4rem;
  max-width: 7rem;
  min-height: 48px;
  text-align: center;
  border-radius: 16px;
}
.t2-auth .t2-phone-row .t2-country-dial[hidden],
.t2-auth .t2-phone-row .t2-country-dial.hidden,
.t2 .t2-country-dial[hidden],
.t2 .t2-country-dial.hidden { display: none; }
.t2-auth .t2-phone-row input { flex: 1 1 10rem; min-width: 0; width: auto; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan.is-done .t2-reg-lead,
:is(.t2-auth, .t2-dlg-skin) .t2-reg-chan.is-done .t2-reg-edit { display: none !important; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-ask { display: grid; gap: 10px; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-ask[hidden] { display: none; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-digits {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  direction: ltr;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-digit {
  width: 100%;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
  font-family: var(--t2-ff-display);
  font-weight: 700;
  font-size: clamp(.95rem, 2.2vw, 1.2rem);
  line-height: 1;
  border-radius: 12px;
  border: 1.5px solid #D4DEEA;
  background: #fff;
  color: #0A1F44;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-digit:focus { outline: none; border-color: #0AA5AD; box-shadow: 0 0 0 3px rgba(10, 165, 173, .22); }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-digits.is-full .t2-reg-digit { border-color: #0AA5AD; background: #E2F4F5; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-digits.is-locked .t2-reg-digit { background: #F4F7FA; }
.t2-auth input.t2-reg-code-store {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  opacity: 0;
  pointer-events: none;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-sheet,
.t2-auth .t2-auth-timer.t2-reg-sheet {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #D4DEEA;
  border-radius: 14px;
  color: #0A1F44;
  line-height: 1.7;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-ico {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: #067A82;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-line > span:not(.t2-reg-ico),
:is(.t2-auth, .t2-dlg-skin) .t2-reg-line > p { min-width: 0; flex: 1 1 auto; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-line .t2-au-btn,
:is(.t2-auth, .t2-dlg-skin) .t2-reg-line .t2-btn,
:is(.t2-auth, .t2-dlg-skin) .t2-reg-line .t2-btn-inline-link {
  flex: 1 1 auto;
  width: auto;
  min-height: 44px;
  margin: 0;
  text-align: start;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-line:has(> span:empty),
:is(.t2-auth, .t2-dlg-skin) .t2-reg-line:has(> p:empty),
:is(.t2-auth, .t2-dlg-skin) .t2-reg-line:has([hidden]) { display: none; }
#screen-visitor .t2-reg-sheet {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
}
#screen-visitor .t2-reg-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #D4DEEA;
  border-radius: 14px;
  color: #0A1F44;
}
#screen-visitor .t2-reg-ico {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #067A82;
}
#screen-visitor .t2-reg-line .t2-btn-inline-link {
  flex: 1 1 auto;
  min-height: 44px;
  margin: 0;
  text-align: start;
  background: transparent;
  border: 0;
}
.t2-auth #reg-wa-hint:empty { display: none; }
.t2-auth .t2-auth-timer.t2-reg-sheet:has(#twofa-timer:empty):has(#btn-2fa-resend[hidden]) { display: none; }
.t2-auth #reg-act-email .t2-reg-send,
.t2-auth #reg-act-wa .t2-reg-send { width: 100%; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-meter {
  height: 8px;
  border-radius: 999px;
  background: #E6EEF6;
  overflow: hidden;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-meter > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #D4DEEA;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-meter.is-weak > span { background: #E39B2B; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-meter.is-mid > span { background: #FFC861; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-meter.is-strong > span { background: #0AA5AD; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-rules li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin: 0;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #D4DEEA;
  border-radius: 14px;
  color: #566A88;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-rule-mark {
  width: 18px;
  height: 18px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: .72rem;
  line-height: 1;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-rules li.is-ok { color: #067A82; border-color: #8fd4d8; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-rules li.is-ok .t2-reg-rule-mark { background: #0AA5AD; color: #fff; border-color: #0AA5AD; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-rules li.is-ok .t2-reg-rule-mark::before { content: ""; inline-size: .7rem; block-size: .7rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / contain no-repeat; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-rules li.is-bad { color: #9a3412; border-color: #f0c2a8; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-rules li.is-bad .t2-reg-rule-mark::before { content: "!"; }
:is(.t2-auth, .t2-dlg-skin) :is(#reg-pass-match, .t2-reg-match) .t2-reg-mark-ok,
:is(.t2-auth, .t2-dlg-skin) :is(#reg-pass-match, .t2-reg-match) .t2-reg-mark-bad { display: none; }
:is(.t2-auth, .t2-dlg-skin) :is(#reg-pass-match, .t2-reg-match).is-wait { border-color: #D4DEEA; color: #566A88; }
:is(.t2-auth, .t2-dlg-skin) :is(#reg-pass-match, .t2-reg-match).is-wait .t2-reg-ico {
  color: #8AA0B8;
  background: transparent;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
:is(.t2-auth, .t2-dlg-skin) :is(#reg-pass-match, .t2-reg-match).is-ok { border-color: #86efac; color: #166534; }
:is(.t2-auth, .t2-dlg-skin) :is(#reg-pass-match, .t2-reg-match).is-ok .t2-reg-ico {
  color: #fff;
  background: #16a34a;
  border-radius: 50%;
}
:is(.t2-auth, .t2-dlg-skin) :is(#reg-pass-match, .t2-reg-match).is-ok .t2-reg-mark-ok { display: block; }
:is(.t2-auth, .t2-dlg-skin) :is(#reg-pass-match, .t2-reg-match).is-bad { border-color: #fecaca; color: #b91c1c; }
:is(.t2-auth, .t2-dlg-skin) :is(#reg-pass-match, .t2-reg-match).is-bad .t2-reg-ico {
  color: #fff;
  background: #dc2626;
  border-radius: 50%;
}
:is(.t2-auth, .t2-dlg-skin) :is(#reg-pass-match, .t2-reg-match).is-bad .t2-reg-mark-bad { display: block; }
.t2-auth #btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-who {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #D4DEEA;
  border-radius: 14px;
  background: #F4F7FA;
  color: #0A1F44;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 14px;
  padding: 12px;
  border: 1px solid #D4DEEA;
  border-radius: 14px;
  background: #fff;
  color: #0A1F44;
  line-height: 1.8;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-agree input { width: 18px; height: 18px; margin-top: 4px; flex: none; }
.t2-auth .t2-auth-field input[type="file"] {
  width: 100%; padding: 10px 12px; border: 1px solid #D4DEEA; border-radius: 14px;
  background: #fff; color: #0A1F44;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-agree a { color: #067A82; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-kicker {
  margin: 14px 0 8px;
  color: #0A1F44;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-path li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #D4DEEA;
  border-radius: 14px;
  background: #fff;
  color: #566A88;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-path li span {
  width: 22px;
  height: 22px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  line-height: 1;
}
:is(.t2-auth, .t2-dlg-skin) .t2-reg-path li.is-done { color: #067A82; border-color: #8fd4d8; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-path li.is-done span { background: #0AA5AD; color: #fff; border-color: #0AA5AD; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-path li.is-now { color: #0A1F44; border-color: #FFC861; background: #FFF8E8; }
:is(.t2-auth, .t2-dlg-skin) .t2-reg-path li.is-now span { background: #FFC861; color: #0A1F44; border-color: #FFC861; }
.t2-auth #btn-register::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='black' d='M231.4,44.34s0,.1,0,.15l-58.2,191.94a15.88,15.88,0,0,1-14,11.51q-.69.06-1.38.06a15.86,15.86,0,0,1-14.42-9.15L107,164.15a4,4,0,0,1,.77-4.58l57.92-57.92a8,8,0,0,0-11.31-11.31L96.43,148.26a4,4,0,0,1-4.58.77L17.08,112.64a16,16,0,0,1,2.49-29.8l191.94-58.2.15,0A16,16,0,0,1,231.4,44.34Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='black' d='M231.4,44.34s0,.1,0,.15l-58.2,191.94a15.88,15.88,0,0,1-14,11.51q-.69.06-1.38.06a15.86,15.86,0,0,1-14.42-9.15L107,164.15a4,4,0,0,1,.77-4.58l57.92-57.92a8,8,0,0,0-11.31-11.31L96.43,148.26a4,4,0,0,1-4.58.77L17.08,112.64a16,16,0,0,1,2.49-29.8l191.94-58.2.15,0A16,16,0,0,1,231.4,44.34Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 34rem) {
  :is(.t2-auth, .t2-dlg-skin) .t2-reg-chan { padding: 10px; }
  :is(.t2-auth, .t2-dlg-skin) .t2-reg-chan-top .t2-au-tile { width: 40px; height: 45px; }
  :is(.t2-auth, .t2-dlg-skin) .t2-reg-digits { gap: 4px; }
}
.t2-auth .cp-redirect {
  margin-top: 18px;
  text-align: center;
}
.t2-auth .cp-redirect p {
  margin: 0 0 12px;
  color: #0A1F44;
  font-weight: 700;
}
.t2-auth .cp-redirect-line {
  height: 4px;
  border-radius: 99px;
  background: #E6EEF5;
  overflow: hidden;
}
.t2-auth .cp-redirect-line span {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: 99px;
  background: linear-gradient(90deg, #0AA5AD, #FFC861);
  animation: cp-slide 1.15s ease-in-out infinite;
}
.t2-auth .cp-redirect-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}
.t2-auth .cp-redirect-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0AA5AD;
  animation: cp-dot 1s ease-in-out infinite;
}
.t2-auth .cp-redirect-dots i:nth-child(2) { animation-delay: .15s; }
.t2-auth .cp-redirect-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes cp-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}
@keyframes cp-dot {
  0%, 100% { opacity: .25; }
  50% { opacity: 1; }
}

/* v13: على الجوالِ كان عمودُ جسمِ البطاقةِ يتمدّدُ بعرضِ محتواه (≈348px) فيخرجُ الحقلُ يسارَ البطاقة — العمودُ يتقيّدُ بعرضِها */
.t2-auth .t2-auth-body { grid-template-columns: minmax(0, 1fr); }
.t2-auth .t2-auth-body > *, .t2-auth .t2-auth-form > * { min-inline-size: 0; }
.t2-auth .t2-auth-form .field { grid-template-columns: minmax(0, 1fr); min-inline-size: 0; }
.t2-auth .t2-auth-form .field > *, .t2-auth .t2-auth-form label > * { min-inline-size: 0; max-inline-size: 100%; }
