/* ARCANUM DARK AUTH / OTP — Nikan custom login and verification UI */
/* Extracted from the latest full-site source with every later OTP override preserved. */

/* =========================================================
   ARCANUM AUTH / NIKAN OTP - FINAL SPACING + LIGHT/DARK
   فقط صفحه ورود / ثبت‌نام / OTP
   دارک مود باقی می‌ماند، فقط فاصله‌ها و ظاهر فرم اصلاح می‌شود
========================================================= */

/* =========================================================
   1) NIKAN OTP - SHARED LAYOUT FOR LIGHT + DARK
========================================================= */

body.nikan-otp-auth-body,
body.nikan-otp-auth-body * {
  box-sizing: border-box;
}

body.nikan-otp-auth-body {
  min-height: 100vh !important;
  margin: 0 !important;
  direction: rtl !important;
}

body.nikan-otp-auth-body .nikan-otp-auth-wrap {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 42px 18px !important;
}

body.nikan-otp-auth-body .nikan-otp-card {
  width: min(560px, 100%) !important;
  border-radius: 32px !important;
  padding: 34px 34px 30px !important;
  overflow: hidden !important;
}

/* عنوان بالای کارت */
body.nikan-otp-auth-body .nikan-otp-title,
body.nikan-otp-auth-body .nikan-otp-card h1,
body.nikan-otp-auth-body .nikan-otp-card h2 {
  margin: 0 0 24px !important;
  text-align: center !important;
  font-size: 18px !important;
  line-height: 1.9 !important;
  font-weight: 950 !important;
}

/* تب ورود / ثبت نام */
body.nikan-otp-auth-body .nikan-otp-tabs {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  padding: 6px !important;
  margin: 0 0 30px !important;
  border-radius: 22px !important;
}

body.nikan-otp-auth-body .nikan-otp-tab,
body.nikan-otp-auth-body .nikan-otp-tab-btn,
body.nikan-otp-auth-body .nikan-otp-tabs button {
  min-height: 54px !important;
  border-radius: 16px !important;
  border: 0 !important;
  font-size: 15.5px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

/* پنل فرم */
body.nikan-otp-auth-body .nikan-otp-panel,
body.nikan-otp-auth-body .nikan-otp-form {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* تیتر داخل فرم مثل: ورود با شماره موبایل */
body.nikan-otp-auth-body .nikan-otp-panel-title,
body.nikan-otp-auth-body .nikan-otp-form-title,
body.nikan-otp-auth-body .nikan-otp-form h3 {
  margin: 4px 0 30px !important;
  text-align: center !important;
  font-size: 20px !important;
  line-height: 1.9 !important;
  font-weight: 950 !important;
}

/* هر ردیف فیلد */
body.nikan-otp-auth-body .nikan-otp-field {
  display: block !important;
  width: 100% !important;
  margin: 0 0 30px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* لیبل‌ها */
body.nikan-otp-auth-body .nikan-otp-label,
body.nikan-otp-auth-body label.nikan-otp-label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 11px !important;
  padding: 0 !important;
  text-align: right !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  font-weight: 850 !important;
}

/* قاب input */
body.nikan-otp-auth-body .nikan-otp-input {
  width: 100% !important;
  min-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  direction: rtl !important;
  border-radius: 18px !important;
  padding: 0 16px !important;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease !important;
}

/* خود input */
body.nikan-otp-auth-body .nikan-otp-card input,
body.nikan-otp-auth-body .nikan-otp-card input[type="text"],
body.nikan-otp-auth-body .nikan-otp-card input[type="tel"],
body.nikan-otp-auth-body .nikan-otp-card input[type="number"],
body.nikan-otp-auth-body .nikan-otp-card input[type="password"],
body.nikan-otp-auth-body .nikan-otp-card input[type="email"] {
  width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  text-align: right !important;
  font-size: 16.5px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

/* آیکن داخل input */
body.nikan-otp-auth-body .nikan-otp-icon,
body.nikan-otp-auth-body .nikan-otp-input i,
body.nikan-otp-auth-body .nikan-otp-input svg {
  flex: 0 0 auto !important;
  margin: 0 !important;
  font-size: 23px !important;
}

/* دکمه ارسال */
body.nikan-otp-auth-body .nikan-otp-btn,
body.nikan-otp-auth-body .nikan-otp-card button[type="submit"] {
  width: 100% !important;
  min-height: 62px !important;
  margin: 4px 0 0 !important;
  border: 0 !important;
  border-radius: 20px !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  transition: transform .22s ease, box-shadow .22s ease !important;
}

body.nikan-otp-auth-body .nikan-otp-btn:hover,
body.nikan-otp-auth-body .nikan-otp-card button[type="submit"]:hover {
  transform: translateY(-2px) !important;
}

/* پیام پایین فرم */
body.nikan-otp-auth-body .nikan-otp-msg,
body.nikan-otp-auth-body .nikan-otp-help,
body.nikan-otp-auth-body .nikan-otp-card small,
body.nikan-otp-auth-body .nikan-otp-card p {
  margin-top: 16px !important;
  text-align: center !important;
  font-size: 13px !important;
  line-height: 2 !important;
  font-weight: 500 !important;
}

/* فرم تایید کد */
body.nikan-otp-auth-body .nikan-otp-verify {
  margin-top: 16px !important;
}

body.nikan-otp-auth-body .nikan-otp-verify .nikan-otp-field {
  margin-bottom: 26px !important;
}

/* =========================================================
   2) NIKAN OTP - LIGHT COLORS
========================================================= */

body.nikan-otp-auth-body {
  background:
    radial-gradient(circle at 12% 18%, rgba(14, 165, 233, .12), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #f1f5f9 100%) !important;
  color: #0f172a !important;
}

body.nikan-otp-auth-body .nikan-otp-auth-wrap {
  background: transparent !important;
}

body.nikan-otp-auth-body .nikan-otp-card {
  background: rgba(255, 255, 255, .96) !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, .08) !important;
  box-shadow:
    0 22px 64px rgba(15, 23, 42, .11),
    0 2px 10px rgba(15, 23, 42, .04) !important;
}

body.nikan-otp-auth-body .nikan-otp-title,
body.nikan-otp-auth-body .nikan-otp-card h1,
body.nikan-otp-auth-body .nikan-otp-card h2 {
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
}

body.nikan-otp-auth-body .nikan-otp-tabs {
  background: #eaf0f6 !important;
  border: 1px solid #dbe3ec !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04) !important;
}

body.nikan-otp-auth-body .nikan-otp-tab,
body.nikan-otp-auth-body .nikan-otp-tab-btn,
body.nikan-otp-auth-body .nikan-otp-tabs button {
  background: transparent !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

body.nikan-otp-auth-body .nikan-otp-tab.is-active,
body.nikan-otp-auth-body .nikan-otp-tab-btn.is-active,
body.nikan-otp-auth-body .nikan-otp-tabs button.is-active,
body.nikan-otp-auth-body .nikan-otp-tabs button.active {
  background: #ffffff !important;
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08) !important;
}

body.nikan-otp-auth-body .nikan-otp-panel-title,
body.nikan-otp-auth-body .nikan-otp-form-title,
body.nikan-otp-auth-body .nikan-otp-form h3,
body.nikan-otp-auth-body .nikan-otp-card h3,
body.nikan-otp-auth-body .nikan-otp-card strong {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.nikan-otp-auth-body .nikan-otp-label,
body.nikan-otp-auth-body label.nikan-otp-label {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

body.nikan-otp-auth-body .nikan-otp-input {
  background: #f8fafc !important;
  border: 1px solid #dbe3ec !important;
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, .025) !important;
}

body.nikan-otp-auth-body .nikan-otp-input:focus-within {
  background: #ffffff !important;
  border-color: rgba(14, 165, 233, .48) !important;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, .11) !important;
}

body.nikan-otp-auth-body .nikan-otp-card input {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.nikan-otp-auth-body .nikan-otp-card input::placeholder {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  opacity: 1 !important;
}

body.nikan-otp-auth-body .nikan-otp-icon,
body.nikan-otp-auth-body .nikan-otp-input i,
body.nikan-otp-auth-body .nikan-otp-input svg {
  color: #38bdf8 !important;
  fill: #38bdf8 !important;
}

body.nikan-otp-auth-body .nikan-otp-btn,
body.nikan-otp-auth-body .nikan-otp-card button[type="submit"] {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 16px 34px rgba(14, 165, 233, .24) !important;
}

body.nikan-otp-auth-body .nikan-otp-btn:hover,
body.nikan-otp-auth-body .nikan-otp-card button[type="submit"]:hover {
  box-shadow: 0 20px 42px rgba(14, 165, 233, .30) !important;
}

body.nikan-otp-auth-body .nikan-otp-msg,
body.nikan-otp-auth-body .nikan-otp-help,
body.nikan-otp-auth-body .nikan-otp-card small,
body.nikan-otp-auth-body .nikan-otp-card p {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
}

/* autofill light */
body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill,
body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:hover,
body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:focus {
  -webkit-text-fill-color: #0f172a !important;
  box-shadow: 0 0 0 1000px #f8fafc inset !important;
  transition: background-color 9999s ease-in-out 0s !important;
}

/* =========================================================
   3) NIKAN OTP - DARK COLORS
========================================================= */

html.arcanum-dark body.nikan-otp-auth-body {
  background:
    radial-gradient(circle at 16% 16%, rgba(14, 165, 233, .16), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(56, 189, 248, .08), transparent 28%),
    linear-gradient(135deg, #050b16 0%, #071120 100%) !important;
  color: #f8fafc !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-auth-wrap {
  background: transparent !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(14, 165, 233, .10), transparent 34%),
    linear-gradient(145deg, #0b1626 0%, #08111f 100%) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, .11) !important;
  box-shadow:
    0 26px 74px rgba(0, 0, 0, .36),
    0 0 0 1px rgba(255, 255, 255, .03) inset !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-title,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card h1,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card h2 {
  color: #7dd3fc !important;
  -webkit-text-fill-color: #7dd3fc !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs {
  background: rgba(255, 255, 255, .055) !important;
  border: 1px solid rgba(255, 255, 255, .11) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18) !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab-btn,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button {
  background: transparent !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab.is-active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab-btn.is-active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button.is-active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button.active {
  background:
    linear-gradient(145deg, rgba(14, 165, 233, .16), rgba(56, 189, 248, .08)) !important;
  color: #e0f2fe !important;
  -webkit-text-fill-color: #e0f2fe !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .20) !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-panel,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-form {
  background: transparent !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-panel-title,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-form-title,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-form h3,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card h3,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card strong {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-label,
html.arcanum-dark body.nikan-otp-auth-body label.nikan-otp-label {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input {
  background: #07101e !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .22) !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input:focus-within {
  background: #0b1626 !important;
  border-color: rgba(56, 189, 248, .55) !important;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, .14) !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input::placeholder {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  opacity: 1 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-icon,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input i,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input svg {
  color: #38bdf8 !important;
  fill: #38bdf8 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-btn,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card button[type="submit"] {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 16px 36px rgba(14, 165, 233, .28) !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-btn:hover,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card button[type="submit"]:hover {
  box-shadow: 0 22px 46px rgba(14, 165, 233, .34) !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-msg,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-help,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card small,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card p {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

/* autofill dark */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:hover,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f8fafc !important;
  box-shadow: 0 0 0 1000px #07101e inset !important;
  transition: background-color 9999s ease-in-out 0s !important;
}

/* =========================================================
   5) RESPONSIVE
========================================================= */

@media (max-width: 780px) {
  .arcanum-auth-grid.has-register {
    grid-template-columns: 1fr !important;
  }

  .arcanum-auth-two-col {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

@media (max-width: 640px) {
  body.nikan-otp-auth-body .nikan-otp-auth-wrap {
    padding: 18px 10px !important;
    align-items: flex-start !important;
  }

  body.nikan-otp-auth-body .nikan-otp-card {
    border-radius: 24px !important;
    padding: 22px 18px 22px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-title,
  body.nikan-otp-auth-body .nikan-otp-card h1,
  body.nikan-otp-auth-body .nikan-otp-card h2 {
    font-size: 15px !important;
    margin-bottom: 18px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-tabs {
    margin-bottom: 24px !important;
    border-radius: 18px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-tab,
  body.nikan-otp-auth-body .nikan-otp-tab-btn,
  body.nikan-otp-auth-body .nikan-otp-tabs button {
    min-height: 48px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-panel-title,
  body.nikan-otp-auth-body .nikan-otp-form-title,
  body.nikan-otp-auth-body .nikan-otp-form h3 {
    font-size: 17px !important;
    margin-bottom: 24px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-field {
    margin-bottom: 24px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-label,
  body.nikan-otp-auth-body label.nikan-otp-label {
    font-size: 13px !important;
    margin-bottom: 8px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-input {
    min-height: 54px !important;
    border-radius: 16px !important;
    padding: 0 14px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-card input {
    height: 52px !important;
    min-height: 52px !important;
    font-size: 15.5px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-btn,
  body.nikan-otp-auth-body .nikan-otp-card button[type="submit"] {
    min-height: 56px !important;
    border-radius: 18px !important;
    font-size: 16px !important;
  }

  .arcanum-auth-page {
    padding: 34px 14px !important;
  }

  .arcanum-auth-card {
    padding: 22px 18px !important;
    border-radius: 24px !important;
  }

  .arcanum-auth-row {
    align-items: flex-start !important;
  }
}

/* =========================================================
   NIKAN OTP AUTH - FINAL CLEAN FIX
   فقط برای صفحه ورود/ثبت‌نام پیامکی
========================================================= */

/* ساختار کلی */
body.nikan-otp-auth-body,
body.nikan-otp-auth-body * {
  box-sizing: border-box !important;
}

body.nikan-otp-auth-body {
  min-height: 100vh !important;
  margin: 0 !important;
  direction: rtl !important;
}

/* بک‌گراند لایت */
body.nikan-otp-auth-body {
  background:
    radial-gradient(circle at 12% 18%, rgba(14, 165, 233, .12), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eef4fa 100%) !important;
}

/* بک‌گراند دارک */
html.arcanum-dark body.nikan-otp-auth-body {
  background:
    radial-gradient(circle at 14% 14%, rgba(14, 165, 233, .14), transparent 28%),
    linear-gradient(135deg, #030b17 0%, #071120 100%) !important;
}

/* رپ اصلی */
body.nikan-otp-auth-body .nikan-otp-auth-wrap {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 34px 16px !important;
  background: transparent !important;
}

/* کارت */
body.nikan-otp-auth-body .nikan-otp-card {
  width: min(560px, 100%) !important;
  padding: 34px 28px 28px !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  position: relative !important;
}

/* کارت - لایت */
body.nikan-otp-auth-body .nikan-otp-card {
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(15, 23, 42, .08) !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .10) !important;
}

/* کارت - دارک */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(14,165,233,.10), transparent 34%),
    linear-gradient(145deg, #0b1626 0%, #07111f 100%) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.34) !important;
}

/* عنوان بالای کارت */
body.nikan-otp-auth-body .nikan-otp-title,
body.nikan-otp-auth-body .nikan-otp-card h1,
body.nikan-otp-auth-body .nikan-otp-card h2 {
  margin: 0 0 22px !important;
  text-align: center !important;
  font-size: 18px !important;
  line-height: 1.8 !important;
  font-weight: 950 !important;
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-title,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card h1,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card h2 {
  color: #7dd3fc !important;
  -webkit-text-fill-color: #7dd3fc !important;
}

/* تب‌ها */
body.nikan-otp-auth-body .nikan-otp-tabs {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  padding: 6px !important;
  margin: 0 0 28px !important;
  border-radius: 22px !important;
  background: #eaf0f6 !important;
  border: 1px solid #dbe3ec !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs {
  background: rgba(255,255,255,.05) !important;
  border-color: rgba(255,255,255,.10) !important;
}

body.nikan-otp-auth-body .nikan-otp-tab,
body.nikan-otp-auth-body .nikan-otp-tab-btn,
body.nikan-otp-auth-body .nikan-otp-tabs button {
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: transparent !important;
  color: #475569 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab-btn,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button {
  color: #cbd5e1 !important;
}

body.nikan-otp-auth-body .nikan-otp-tab.is-active,
body.nikan-otp-auth-body .nikan-otp-tab-btn.is-active,
body.nikan-otp-auth-body .nikan-otp-tabs button.is-active,
body.nikan-otp-auth-body .nikan-otp-tabs button.active {
  background: #ffffff !important;
  color: #0284c7 !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08) !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab.is-active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab-btn.is-active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button.is-active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button.active {
  background: linear-gradient(145deg, rgba(14,165,233,.18), rgba(56,189,248,.08)) !important;
  color: #e0f2fe !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.18) !important;
}

/* فرم و پنل */
body.nikan-otp-auth-body .nikan-otp-panel,
body.nikan-otp-auth-body .nikan-otp-form {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* تیتر داخل پنل */
body.nikan-otp-auth-body .nikan-otp-panel-title,
body.nikan-otp-auth-body .nikan-otp-form-title,
body.nikan-otp-auth-body .nikan-otp-form h3 {
  margin: 0 0 26px !important;
  text-align: center !important;
  font-size: 20px !important;
  line-height: 1.8 !important;
  font-weight: 950 !important;
  color: #0f172a !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-panel-title,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-form-title,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-form h3 {
  color: #e2e8f0 !important;
}

/* هر فیلد */
body.nikan-otp-auth-body .nikan-otp-field {
  display: block !important;
  width: 100% !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

/* لیبل */
body.nikan-otp-auth-body .nikan-otp-label,
body.nikan-otp-auth-body label.nikan-otp-label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  text-align: right !important;
  font-size: 13.5px !important;
  line-height: 1.8 !important;
  font-weight: 800 !important;
  color: #64748b !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-label,
html.arcanum-dark body.nikan-otp-auth-body label.nikan-otp-label {
  color: #cbd5e1 !important;
}

/* باکس ورودی */
body.nikan-otp-auth-body .nikan-otp-input {
  width: 100% !important;
  min-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  flex-direction: row-reverse !important;
  gap: 12px !important;
  padding: 0 16px !important;
  border-radius: 18px !important;
  background: #f8fafc !important;
  border: 1px solid #dbe3ec !important;
  box-shadow: inset 0 1px 1px rgba(15,23,42,.03) !important;
  overflow: hidden !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input {
  background: #07101e !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.20) !important;
}

body.nikan-otp-auth-body .nikan-otp-input:focus-within {
  border-color: rgba(14,165,233,.45) !important;
  box-shadow: 0 0 0 4px rgba(14,165,233,.12) !important;
  background: #ffffff !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input:focus-within {
  border-color: rgba(56,189,248,.55) !important;
  box-shadow: 0 0 0 4px rgba(14,165,233,.14) !important;
  background: #0b1626 !important;
}

/* خود input */
body.nikan-otp-auth-body .nikan-otp-card input,
body.nikan-otp-auth-body .nikan-otp-card input[type="text"],
body.nikan-otp-auth-body .nikan-otp-card input[type="tel"],
body.nikan-otp-auth-body .nikan-otp-card input[type="number"],
body.nikan-otp-auth-body .nikan-otp-card input[type="password"],
body.nikan-otp-auth-body .nikan-otp-card input[type="email"] {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  text-align: right !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="text"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="tel"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="number"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="password"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="email"] {
  color: #f8fafc !important;
}

/* placeholder */
body.nikan-otp-auth-body .nikan-otp-card input::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input::placeholder {
  color: #94a3b8 !important;
}

/* آیکن */
body.nikan-otp-auth-body .nikan-otp-icon,
body.nikan-otp-auth-body .nikan-otp-input i,
body.nikan-otp-auth-body .nikan-otp-input svg,
body.nikan-otp-auth-body .nikan-otp-input span[class*="icon"] {
  flex: 0 0 auto !important;
  margin: 0 !important;
  font-size: 22px !important;
  color: #38bdf8 !important;
  fill: #38bdf8 !important;
}

/* دکمه */
body.nikan-otp-auth-body .nikan-otp-btn,
body.nikan-otp-auth-body .nikan-otp-card button[type="submit"] {
  width: 100% !important;
  min-height: 58px !important;
  margin: 8px 0 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 19px !important;
  font-size: 17px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 36px rgba(14,165,233,.24) !important;
  transition: transform .22s ease, box-shadow .22s ease !important;
}

body.nikan-otp-auth-body .nikan-otp-btn:hover,
body.nikan-otp-auth-body .nikan-otp-card button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 44px rgba(14,165,233,.30) !important;
}

/* متن پایین */
body.nikan-otp-auth-body .nikan-otp-msg,
body.nikan-otp-auth-body .nikan-otp-help,
body.nikan-otp-auth-body .nikan-otp-card small,
body.nikan-otp-auth-body .nikan-otp-card p {
  margin: 16px 0 0 !important;
  text-align: center !important;
  font-size: 13px !important;
  line-height: 2 !important;
  color: #64748b !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-msg,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-help,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card small,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card p {
  color: #94a3b8 !important;
}

/* فیلدهای فرم ثبت نام کمی فاصله بیشتر */
body.nikan-otp-auth-body .nikan-otp-panel .nikan-otp-field + .nikan-otp-field,
body.nikan-otp-auth-body .nikan-otp-form .nikan-otp-field + .nikan-otp-field {
  margin-top: 2px !important;
}

/* فرم تایید کد */
body.nikan-otp-auth-body .nikan-otp-verify {
  margin-top: 18px !important;
}

/* autofill */
body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill,
body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:hover,
body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:focus {
  -webkit-text-fill-color: #0f172a !important;
  box-shadow: 0 0 0 1000px #f8fafc inset !important;
  transition: background-color 9999s ease-in-out 0s !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:hover,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f8fafc !important;
  box-shadow: 0 0 0 1000px #07101e inset !important;
}

/* موبایل */
@media (max-width: 640px) {
  body.nikan-otp-auth-body .nikan-otp-auth-wrap {
    padding: 18px 10px !important;
    align-items: flex-start !important;
  }

  body.nikan-otp-auth-body .nikan-otp-card {
    width: 100% !important;
    padding: 24px 16px 22px !important;
    border-radius: 24px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-title,
  body.nikan-otp-auth-body .nikan-otp-card h1,
  body.nikan-otp-auth-body .nikan-otp-card h2 {
    font-size: 16px !important;
    margin-bottom: 18px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-tabs {
    margin-bottom: 22px !important;
    border-radius: 18px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-tab,
  body.nikan-otp-auth-body .nikan-otp-tab-btn,
  body.nikan-otp-auth-body .nikan-otp-tabs button {
    min-height: 48px !important;
    font-size: 14px !important;
    border-radius: 14px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-panel-title,
  body.nikan-otp-auth-body .nikan-otp-form-title,
  body.nikan-otp-auth-body .nikan-otp-form h3 {
    font-size: 17px !important;
    margin-bottom: 22px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-field {
    margin-bottom: 20px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-label,
  body.nikan-otp-auth-body label.nikan-otp-label {
    margin-bottom: 8px !important;
    font-size: 13px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-input {
    min-height: 54px !important;
    padding: 0 14px !important;
    border-radius: 16px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-card input,
  body.nikan-otp-auth-body .nikan-otp-card input[type="text"],
  body.nikan-otp-auth-body .nikan-otp-card input[type="tel"],
  body.nikan-otp-auth-body .nikan-otp-card input[type="number"],
  body.nikan-otp-auth-body .nikan-otp-card input[type="password"],
  body.nikan-otp-auth-body .nikan-otp-card input[type="email"] {
    height: 52px !important;
    min-height: 52px !important;
    font-size: 15px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-btn,
  body.nikan-otp-auth-body .nikan-otp-card button[type="submit"] {
    min-height: 54px !important;
    border-radius: 17px !important;
    font-size: 16px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-msg,
  body.nikan-otp-auth-body .nikan-otp-help,
  body.nikan-otp-auth-body .nikan-otp-card small,
  body.nikan-otp-auth-body .nikan-otp-card p {
    font-size: 12.5px !important;
  }
}
/* =========================================================
   NIKAN OTP LOGIN / REGISTER - FINAL FIELD CLEAN PATCH
   این کد فقط فرم ورود/ثبت‌نام پیامکی نیکان را تمیز می‌کند
   محل: انتهای فایل assets/css/arcanum-dark-mode.css
========================================================= */

/* صفحه کلی ورود پیامکی */
body.nikan-otp-auth-body {
  background:
    radial-gradient(circle at 14% 12%, rgba(14, 165, 233, .10), transparent 28%),
    linear-gradient(135deg, #f8fafc 0%, #eef3f8 100%) !important;
}

html.arcanum-dark body.nikan-otp-auth-body {
  background:
    radial-gradient(circle at 14% 12%, rgba(14, 165, 233, .16), transparent 30%),
    linear-gradient(135deg, #030914 0%, #071120 100%) !important;
}

/* وسط‌چین شدن کارت */
body.nikan-otp-auth-body .nikan-otp-auth-wrap {
  min-height: 100vh !important;
  padding: 34px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
}

/* کارت اصلی */
body.nikan-otp-auth-body .nikan-otp-card {
  width: min(560px, 100%) !important;
  padding: 34px 28px 30px !important;
  border-radius: 32px !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, .96) !important;
  border: 1px solid rgba(15, 23, 42, .08) !important;
  box-shadow: 0 26px 70px rgba(15, 23, 42, .10) !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(14, 165, 233, .10), transparent 34%),
    linear-gradient(145deg, #0b1626 0%, #071120 100%) !important;
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .36) !important;
}

/* عنوان بالای کارت */
body.nikan-otp-auth-body .nikan-otp-title,
body.nikan-otp-auth-body .nikan-otp-card > h1,
body.nikan-otp-auth-body .nikan-otp-card > h2 {
  margin: 0 0 24px !important;
  padding: 0 !important;
  text-align: center !important;
  font-size: 18px !important;
  line-height: 1.8 !important;
  font-weight: 950 !important;
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-title,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card > h1,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card > h2 {
  color: #7dd3fc !important;
  -webkit-text-fill-color: #7dd3fc !important;
}

/* تب ورود / ثبت نام */
body.nikan-otp-auth-body .nikan-otp-tabs {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin: 0 0 32px !important;
  padding: 7px !important;
  border-radius: 24px !important;
  background: #eef3f8 !important;
  border: 1px solid #dbe4ee !important;
  box-shadow: none !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs {
  background: rgba(255, 255, 255, .055) !important;
  border-color: rgba(255, 255, 255, .12) !important;
}

body.nikan-otp-auth-body .nikan-otp-tabs button,
body.nikan-otp-auth-body .nikan-otp-tab,
body.nikan-otp-auth-body .nikan-otp-tab-btn {
  min-height: 54px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border-radius: 18px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab-btn {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

body.nikan-otp-auth-body .nikan-otp-tabs button.active,
body.nikan-otp-auth-body .nikan-otp-tabs button.is-active,
body.nikan-otp-auth-body .nikan-otp-tab.active,
body.nikan-otp-auth-body .nikan-otp-tab.is-active,
body.nikan-otp-auth-body .nikan-otp-tab-btn.active,
body.nikan-otp-auth-body .nikan-otp-tab-btn.is-active {
  background: #ffffff !important;
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08) !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button.active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button.is-active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab.active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab.is-active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab-btn.active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab-btn.is-active {
  background: linear-gradient(145deg, rgba(14, 165, 233, .22), rgba(56, 189, 248, .10)) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: none !important;
}

/* پنل فرم */
body.nikan-otp-auth-body .nikan-otp-panels,
body.nikan-otp-auth-body .nikan-otp-panel,
body.nikan-otp-auth-body .nikan-otp-form,
body.nikan-otp-auth-body #nikanOtpLoginForm,
body.nikan-otp-auth-body #nikanOtpRegisterForm,
body.nikan-otp-auth-body #nikanOtpLoginVerify,
body.nikan-otp-auth-body #nikanOtpRegisterVerify {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* تیتر داخل فرم */
body.nikan-otp-auth-body .nikan-otp-panel h3,
body.nikan-otp-auth-body .nikan-otp-form h3,
body.nikan-otp-auth-body .nikan-otp-title-form,
body.nikan-otp-auth-body .nikan-otp-form-title {
  margin: 0 0 28px !important;
  padding: 0 !important;
  text-align: center !important;
  background: transparent !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-size: 20px !important;
  line-height: 1.8 !important;
  font-weight: 950 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-panel h3,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-form h3,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-title-form,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-form-title {
  color: #7dd3fc !important;
  -webkit-text-fill-color: #7dd3fc !important;
}

/* خیلی مهم: حذف طوسی پشت هر فیلد */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-field,
body.nikan-otp-auth-body .nikan-otp-card div.nikan-otp-field,
body.nikan-otp-auth-body .nikan-otp-panel .nikan-otp-field,
body.nikan-otp-auth-body .nikan-otp-form .nikan-otp-field {
  width: 100% !important;
  display: block !important;
  margin: 0 0 26px !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

/* لیبل فیلد */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-label,
body.nikan-otp-auth-body .nikan-otp-card label.nikan-otp-label,
body.nikan-otp-auth-body .nikan-otp-field > label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 3px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: right !important;
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
  font-size: 13.5px !important;
  line-height: 1.8 !important;
  font-weight: 850 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-label,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card label.nikan-otp-label,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-field > label {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

/* باکس اصلی input */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input,
body.nikan-otp-auth-body .nikan-otp-field .nikan-otp-input {
  width: 100% !important;
  min-height: 60px !important;
  height: 60px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  display: flex !important;
  align-items: center !important;
  flex-direction: row-reverse !important;
  gap: 12px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  border: 1px solid #dbe4ee !important;
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, .03) !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-field .nikan-otp-input {
  background: #050c18 !important;
  background-color: #050c18 !important;
  border-color: rgba(255, 255, 255, .14) !important;
  box-shadow: none !important;
}

/* حذف خط و باکس داخلی icon/input */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input *,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input * {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* وقتی روی input کلیک می‌شود */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input:focus-within {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: rgba(14, 165, 233, .52) !important;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, .12) !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input:focus-within {
  background: #071120 !important;
  background-color: #071120 !important;
  border-color: rgba(56, 189, 248, .55) !important;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, .16) !important;
}

/* خود input */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input input,
body.nikan-otp-auth-body .nikan-otp-card input[type="tel"],
body.nikan-otp-auth-body .nikan-otp-card input[type="text"],
body.nikan-otp-auth-body .nikan-otp-card input[type="number"],
body.nikan-otp-auth-body .nikan-otp-card input[type="password"],
body.nikan-otp-auth-body .nikan-otp-card input[type="email"] {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 58px !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  text-align: right !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input input,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="tel"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="text"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="number"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="password"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="email"] {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

/* placeholder */
body.nikan-otp-auth-body .nikan-otp-card input::placeholder {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  opacity: 1 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input::placeholder {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  opacity: 1 !important;
}

/* آیکن کنار input */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-icon,
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input .nikan-otp-icon,
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input span[class*="icon"],
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input i,
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input svg {
  flex: 0 0 28px !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #0ea5e9 !important;
  fill: #0ea5e9 !important;
  font-size: 24px !important;
}

/* حذف هر border داخلی که از پلاگین روی span آیکن میاد */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input > span,
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input > div,
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input > i {
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* دکمه ارسال */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-btn,
body.nikan-otp-auth-body .nikan-otp-card button[type="submit"] {
  width: 100% !important;
  min-height: 60px !important;
  margin: 4px 0 0 !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 18px 38px rgba(14, 165, 233, .26) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-btn:hover,
body.nikan-otp-auth-body .nikan-otp-card button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 46px rgba(14, 165, 233, .34) !important;
}

/* پیام و متن پایین */
body.nikan-otp-auth-body .nikan-otp-msg,
body.nikan-otp-auth-body .nikan-otp-card small,
body.nikan-otp-auth-body .nikan-otp-card p:not(.nikan-otp-field) {
  margin: 20px 0 0 !important;
  padding: 0 !important;
  text-align: center !important;
  background: transparent !important;
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
  font-size: 13px !important;
  line-height: 2 !important;
  font-weight: 500 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-msg,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card small,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card p:not(.nikan-otp-field) {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

/* فرم تایید کد */
body.nikan-otp-auth-body .nikan-otp-verify {
  margin-top: 24px !important;
  padding-top: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* حذف autofill زشت مرورگر */
body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill,
body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:hover,
body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:focus {
  -webkit-text-fill-color: #0f172a !important;
  box-shadow: 0 0 0 1000px #f8fafc inset !important;
  border: 0 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:hover,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f8fafc !important;
  box-shadow: 0 0 0 1000px #050c18 inset !important;
  border: 0 !important;
}

/* موبایل */
@media (max-width: 640px) {
  body.nikan-otp-auth-body .nikan-otp-auth-wrap {
    padding: 18px 10px !important;
    align-items: flex-start !important;
  }

  body.nikan-otp-auth-body .nikan-otp-card {
    padding: 24px 16px 22px !important;
    border-radius: 26px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-title,
  body.nikan-otp-auth-body .nikan-otp-card > h1,
  body.nikan-otp-auth-body .nikan-otp-card > h2 {
    margin-bottom: 18px !important;
    font-size: 16px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-tabs {
    margin-bottom: 26px !important;
    padding: 6px !important;
    border-radius: 20px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-tabs button,
  body.nikan-otp-auth-body .nikan-otp-tab,
  body.nikan-otp-auth-body .nikan-otp-tab-btn {
    min-height: 48px !important;
    border-radius: 15px !important;
    font-size: 14px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-panel h3,
  body.nikan-otp-auth-body .nikan-otp-form h3,
  body.nikan-otp-auth-body .nikan-otp-title-form,
  body.nikan-otp-auth-body .nikan-otp-form-title {
    margin-bottom: 22px !important;
    font-size: 17px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-field,
  body.nikan-otp-auth-body .nikan-otp-card div.nikan-otp-field,
  body.nikan-otp-auth-body .nikan-otp-panel .nikan-otp-field,
  body.nikan-otp-auth-body .nikan-otp-form .nikan-otp-field {
    margin-bottom: 22px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input,
  body.nikan-otp-auth-body .nikan-otp-field .nikan-otp-input {
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 14px !important;
    border-radius: 18px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input input,
  body.nikan-otp-auth-body .nikan-otp-card input[type="tel"],
  body.nikan-otp-auth-body .nikan-otp-card input[type="text"],
  body.nikan-otp-auth-body .nikan-otp-card input[type="number"],
  body.nikan-otp-auth-body .nikan-otp-card input[type="password"],
  body.nikan-otp-auth-body .nikan-otp-card input[type="email"] {
    height: 54px !important;
    min-height: 54px !important;
    font-size: 15px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-btn,
  body.nikan-otp-auth-body .nikan-otp-card button[type="submit"] {
    min-height: 56px !important;
    border-radius: 18px !important;
    font-size: 15px !important;
  }
}
/* =========================================================
   ARCANUM / NIKAN OTP AUTH PAGE - FINAL UI PATCH
   محل: انتهای فایل assets/css/arcanum-dark-mode.css
   هدف: اصلاح فاصله‌ها، padding، خوانایی متن‌ها و فرم ورود/ثبت‌نام
========================================================= */

/* کل صفحه */
body.nikan-otp-auth-body,
html.arcanum-dark body.nikan-otp-auth-body {
  min-height: 100vh !important;
  overflow-x: hidden !important;
}

/* ظرف اصلی */
body.nikan-otp-auth-body .nikan-otp-auth-wrap {
  width: 100% !important;
  min-height: 100vh !important;
  padding: 48px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
}

/* کارت اصلی */
body.nikan-otp-auth-body .nikan-otp-card {
  width: min(520px, 100%) !important;
  min-height: auto !important;
  margin: 0 auto !important;
  padding: 36px 36px 32px !important;
  border-radius: 34px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card {
  background:
    radial-gradient(circle at 16% 0%, rgba(14, 165, 233, .12), transparent 34%),
    linear-gradient(145deg, #0b1626 0%, #071120 100%) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  box-shadow: 0 28px 78px rgba(0, 0, 0, .38) !important;
}

/* عنوان بالای کارت: مرکز کامپیوتر آرکانوم */
body.nikan-otp-auth-body .nikan-otp-title,
body.nikan-otp-auth-body .nikan-otp-card > h1,
body.nikan-otp-auth-body .nikan-otp-card > h2 {
  display: block !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  text-align: center !important;
  font-size: 19px !important;
  line-height: 1.8 !important;
  font-weight: 950 !important;
  letter-spacing: -.2px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-title,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card > h1,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card > h2 {
  color: #7dd3fc !important;
  -webkit-text-fill-color: #7dd3fc !important;
  text-shadow: 0 0 24px rgba(56, 189, 248, .12) !important;
}

/* تب ورود / ثبت نام */
body.nikan-otp-auth-body .nikan-otp-tabs {
  width: 100% !important;
  height: auto !important;
  min-height: 70px !important;
  margin: 0 0 34px !important;
  padding: 8px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  align-items: center !important;
  border-radius: 26px !important;
  box-sizing: border-box !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs {
  background: rgba(255, 255, 255, .055) !important;
  border: 1px solid rgba(255, 255, 255, .13) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035) !important;
}

body.nikan-otp-auth-body .nikan-otp-tabs button,
body.nikan-otp-auth-body .nikan-otp-tab,
body.nikan-otp-auth-body .nikan-otp-tab-btn {
  width: 100% !important;
  min-height: 54px !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border-radius: 20px !important;
  border: 0 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  text-align: center !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab-btn {
  background: transparent !important;
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button.active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button.is-active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab.active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab.is-active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab-btn.active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab-btn.is-active {
  background:
    linear-gradient(145deg, rgba(14, 165, 233, .24), rgba(56, 189, 248, .11)) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: none !important;
}

/* فرم‌ها و پنل‌ها */
body.nikan-otp-auth-body .nikan-otp-panels,
body.nikan-otp-auth-body .nikan-otp-panel,
body.nikan-otp-auth-body .nikan-otp-form,
body.nikan-otp-auth-body #nikanOtpLoginForm,
body.nikan-otp-auth-body #nikanOtpRegisterForm,
body.nikan-otp-auth-body #nikanOtpLoginVerify,
body.nikan-otp-auth-body #nikanOtpRegisterVerify {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* تیتر داخل فرم */
body.nikan-otp-auth-body .nikan-otp-panel h3,
body.nikan-otp-auth-body .nikan-otp-form h3,
body.nikan-otp-auth-body .nikan-otp-title-form,
body.nikan-otp-auth-body .nikan-otp-form-title {
  margin: 0 0 30px !important;
  padding: 0 !important;
  text-align: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 21px !important;
  line-height: 1.8 !important;
  font-weight: 950 !important;
  letter-spacing: -.3px !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-panel h3,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-form h3,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-title-form,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-form-title {
  color: #7dd3fc !important;
  -webkit-text-fill-color: #7dd3fc !important;
}

/* هر فیلد */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-field,
body.nikan-otp-auth-body .nikan-otp-card div.nikan-otp-field,
body.nikan-otp-auth-body .nikan-otp-panel .nikan-otp-field,
body.nikan-otp-auth-body .nikan-otp-form .nikan-otp-field {
  width: 100% !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  display: block !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

/* لیبل */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-label,
body.nikan-otp-auth-body .nikan-otp-card label.nikan-otp-label,
body.nikan-otp-auth-body .nikan-otp-field > label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 9px !important;
  padding: 0 4px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: right !important;
  font-size: 13.5px !important;
  line-height: 1.8 !important;
  font-weight: 900 !important;
  opacity: 1 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-label,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card label.nikan-otp-label,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-field > label {
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
}

/* باکس input */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input,
body.nikan-otp-auth-body .nikan-otp-field .nikan-otp-input {
  width: 100% !important;
  min-height: 62px !important;
  height: 62px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  display: flex !important;
  align-items: center !important;
  flex-direction: row-reverse !important;
  gap: 14px !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-field .nikan-otp-input {
  background: #050c18 !important;
  background-color: #050c18 !important;
  border: 1px solid rgba(255, 255, 255, .15) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .025),
    0 10px 26px rgba(0, 0, 0, .12) !important;
}

/* فوکوس */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input:focus-within {
  background: #071120 !important;
  background-color: #071120 !important;
  border-color: rgba(56, 189, 248, .58) !important;
  box-shadow:
    0 0 0 4px rgba(14, 165, 233, .14),
    0 14px 30px rgba(0, 0, 0, .18) !important;
}

/* حذف خط و بک‌گراند‌های اضافه داخل input */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input *,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input * {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* خود input */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input input,
body.nikan-otp-auth-body .nikan-otp-card input[type="tel"],
body.nikan-otp-auth-body .nikan-otp-card input[type="text"],
body.nikan-otp-auth-body .nikan-otp-card input[type="number"],
body.nikan-otp-auth-body .nikan-otp-card input[type="password"],
body.nikan-otp-auth-body .nikan-otp-card input[type="email"] {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 60px !important;
  min-height: 60px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  text-align: right !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  box-sizing: border-box !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input input,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="tel"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="text"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="number"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="password"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="email"] {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

/* placeholder */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input::placeholder {
  color: #9fb0c8 !important;
  -webkit-text-fill-color: #9fb0c8 !important;
  opacity: 1 !important;
}

/* آیکن */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-icon,
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input .nikan-otp-icon,
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input span[class*="icon"],
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input i,
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input svg {
  flex: 0 0 30px !important;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #38bdf8 !important;
  fill: #38bdf8 !important;
  font-size: 25px !important;
}

/* حذف border اضافی دور آیکن */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input > span,
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input > div,
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input > i {
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* دکمه ارسال */
body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-btn,
body.nikan-otp-auth-body .nikan-otp-card button[type="submit"] {
  width: 100% !important;
  min-height: 62px !important;
  height: 62px !important;
  margin: 8px 0 0 !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 18px 40px rgba(14, 165, 233, .26) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  text-align: center !important;
  cursor: pointer !important;
}

body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-btn:hover,
body.nikan-otp-auth-body .nikan-otp-card button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 48px rgba(14, 165, 233, .34) !important;
}

/* متن پایین */
body.nikan-otp-auth-body .nikan-otp-msg,
body.nikan-otp-auth-body .nikan-otp-card small,
body.nikan-otp-auth-body .nikan-otp-card p:not(.nikan-otp-field) {
  margin: 24px 0 0 !important;
  padding: 0 !important;
  text-align: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  line-height: 2 !important;
  font-weight: 500 !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-msg,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card small,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card p:not(.nikan-otp-field) {
  color: #8fa1bb !important;
  -webkit-text-fill-color: #8fa1bb !important;
}

/* فرم تایید کد */
body.nikan-otp-auth-body .nikan-otp-verify {
  width: 100% !important;
  margin-top: 26px !important;
  padding-top: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Autofill */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:hover,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f8fafc !important;
  box-shadow: 0 0 0 1000px #050c18 inset !important;
  border: 0 !important;
}

/* موبایل */
@media (max-width: 640px) {
  body.nikan-otp-auth-body .nikan-otp-auth-wrap {
    padding: 20px 12px !important;
    align-items: flex-start !important;
  }

  body.nikan-otp-auth-body .nikan-otp-card {
    width: 100% !important;
    padding: 26px 18px 24px !important;
    border-radius: 28px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-title,
  body.nikan-otp-auth-body .nikan-otp-card > h1,
  body.nikan-otp-auth-body .nikan-otp-card > h2 {
    margin-bottom: 22px !important;
    font-size: 16.5px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-tabs {
    min-height: 62px !important;
    margin-bottom: 28px !important;
    padding: 6px !important;
    border-radius: 22px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-tabs button,
  body.nikan-otp-auth-body .nikan-otp-tab,
  body.nikan-otp-auth-body .nikan-otp-tab-btn {
    min-height: 50px !important;
    height: 50px !important;
    border-radius: 17px !important;
    font-size: 14px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-panel h3,
  body.nikan-otp-auth-body .nikan-otp-form h3,
  body.nikan-otp-auth-body .nikan-otp-title-form,
  body.nikan-otp-auth-body .nikan-otp-form-title {
    margin-bottom: 24px !important;
    font-size: 18px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-field,
  body.nikan-otp-auth-body .nikan-otp-card div.nikan-otp-field,
  body.nikan-otp-auth-body .nikan-otp-panel .nikan-otp-field,
  body.nikan-otp-auth-body .nikan-otp-form .nikan-otp-field {
    margin-bottom: 22px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input,
  body.nikan-otp-auth-body .nikan-otp-field .nikan-otp-input {
    min-height: 58px !important;
    height: 58px !important;
    padding: 0 15px !important;
    border-radius: 19px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-input input,
  body.nikan-otp-auth-body .nikan-otp-card input[type="tel"],
  body.nikan-otp-auth-body .nikan-otp-card input[type="text"],
  body.nikan-otp-auth-body .nikan-otp-card input[type="number"],
  body.nikan-otp-auth-body .nikan-otp-card input[type="password"],
  body.nikan-otp-auth-body .nikan-otp-card input[type="email"] {
    height: 56px !important;
    min-height: 56px !important;
    font-size: 15px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-btn,
  body.nikan-otp-auth-body .nikan-otp-card button[type="submit"] {
    min-height: 58px !important;
    height: 58px !important;
    border-radius: 19px !important;
    font-size: 15px !important;
  }

  body.nikan-otp-auth-body .nikan-otp-msg,
  body.nikan-otp-auth-body .nikan-otp-card small,
  body.nikan-otp-auth-body .nikan-otp-card p:not(.nikan-otp-field) {
    margin-top: 20px !important;
    font-size: 12.5px !important;
  }
}
/* =========================================================
   NIKAN OTP LOGIN - FINAL FIX DARK MODE
   این کد را تهِ تهِ arcanum-dark-mode.css بگذار
========================================================= */

/* صفحه لاگین پیامکی */
html.arcanum-dark body.nikan-otp-auth-body {
  background:
    radial-gradient(circle at 50% 0%, rgba(14, 165, 233, .10), transparent 35%),
    linear-gradient(180deg, #050b16 0%, #020617 100%) !important;
  color: #f8fafc !important;
}

/* وسط‌چین کردن کارت */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-auth-wrap {
  width: 100% !important;
  min-height: 100vh !important;
  padding: 44px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
}

/* کارت اصلی */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card {
  width: min(520px, 100%) !important;
  margin: 0 auto !important;
  padding: 38px 34px 34px !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(14, 165, 233, .13), transparent 34%),
    linear-gradient(145deg, #0b1626 0%, #071120 100%) !important;
  border: 1px solid rgba(255, 255, 255, .13) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38) !important;
  overflow: hidden !important;
}

/* عنوان بالای کارت؛ همون مرکز کامپیوتر آرکانوم */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-title,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card > h1,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card > h2,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-logo-title,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card [class*="title"]:first-child {
  display: block !important;
  margin: 0 0 30px !important;
  padding: 0 !important;
  text-align: center !important;
  color: #7dd3fc !important;
  -webkit-text-fill-color: #7dd3fc !important;
  font-size: 20px !important;
  line-height: 1.8 !important;
  font-weight: 950 !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: 0 0 22px rgba(56, 189, 248, .20) !important;
  background: transparent !important;
}

/* تب ورود / ثبت نام */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs {
  width: 100% !important;
  min-height: 74px !important;
  margin: 0 0 36px !important;
  padding: 8px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  border-radius: 26px !important;
  background: rgba(255, 255, 255, .055) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab-btn {
  width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border-radius: 20px !important;
  border: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  box-shadow: none !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button.active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button.is-active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab.active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab.is-active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab-btn.active,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab-btn.is-active {
  background: linear-gradient(135deg, rgba(14, 165, 233, .28), rgba(56, 189, 248, .14)) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* حذف بک‌گراند فرم‌ها */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-panels,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-panel,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-form,
html.arcanum-dark body.nikan-otp-auth-body #nikanOtpLoginForm,
html.arcanum-dark body.nikan-otp-auth-body #nikanOtpRegisterForm,
html.arcanum-dark body.nikan-otp-auth-body #nikanOtpLoginVerify,
html.arcanum-dark body.nikan-otp-auth-body #nikanOtpRegisterVerify {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* تیتر فرم: ورود با شماره موبایل */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-panel h3,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-form h3,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-form-title,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-title-form {
  margin: 0 0 32px !important;
  padding: 0 !important;
  text-align: center !important;
  color: #7dd3fc !important;
  -webkit-text-fill-color: #7dd3fc !important;
  font-size: 22px !important;
  line-height: 1.8 !important;
  font-weight: 950 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* هر فیلد */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-field {
  width: 100% !important;
  margin: 0 0 26px !important;
  padding: 0 !important;
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

/* لیبل‌ها */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-label,
html.arcanum-dark body.nikan-otp-auth-body label.nikan-otp-label,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-field > label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 4px !important;
  background: transparent !important;
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: right !important;
  font-size: 13.5px !important;
  line-height: 1.8 !important;
  font-weight: 900 !important;
  opacity: 1 !important;
}

/* باکس ورودی اصلی */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input {
  width: 100% !important;
  height: 64px !important;
  min-height: 64px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  display: flex !important;
  align-items: center !important;
  flex-direction: row-reverse !important;
  gap: 14px !important;
  border-radius: 22px !important;
  background: #050c18 !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .03),
    0 10px 26px rgba(0, 0, 0, .16) !important;
  overflow: hidden !important;
}

/* حذف خط‌ها و طوسی‌های اضافی داخل input */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input::before,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input::after,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input *::before,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input *::after {
  content: none !important;
  display: none !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input *,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input > *,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input span,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input div,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input i {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
}

/* خود input */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input input,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="tel"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="text"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="number"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="password"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="email"] {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 62px !important;
  min-height: 62px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  box-shadow: none !important;
  text-align: right !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
}

/* placeholder */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input::placeholder {
  color: #a8b7cd !important;
  -webkit-text-fill-color: #a8b7cd !important;
  opacity: 1 !important;
}

/* آیکن */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-icon,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input .nikan-otp-icon,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input span[class*="icon"],
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input i,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input svg {
  flex: 0 0 32px !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #38bdf8 !important;
  fill: #38bdf8 !important;
  font-size: 26px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* focus */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input:focus-within {
  background: #071120 !important;
  border-color: rgba(56, 189, 248, .58) !important;
  box-shadow:
    0 0 0 4px rgba(14, 165, 233, .14),
    0 14px 30px rgba(0, 0, 0, .22) !important;
}

/* دکمه ارسال */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-btn,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card button[type="submit"] {
  width: 100% !important;
  height: 64px !important;
  min-height: 64px !important;
  margin: 10px 0 0 !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 18px 42px rgba(14, 165, 233, .28) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  cursor: pointer !important;
}

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-btn:hover,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 50px rgba(14, 165, 233, .36) !important;
}

/* متن پایین */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-msg,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card small,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card p:not(.nikan-otp-field) {
  margin: 26px 0 0 !important;
  padding: 0 !important;
  text-align: center !important;
  background: transparent !important;
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  line-height: 2 !important;
  font-weight: 500 !important;
}

/* autofill */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:hover,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f8fafc !important;
  box-shadow: 0 0 0 1000px #050c18 inset !important;
  border: 0 !important;
}

/* موبایل */
@media (max-width: 640px) {
  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-auth-wrap {
    padding: 22px 12px !important;
    align-items: flex-start !important;
  }

  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card {
    width: 100% !important;
    padding: 28px 18px 26px !important;
    border-radius: 28px !important;
  }

  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-title,
  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card > h1,
  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card > h2 {
    margin-bottom: 24px !important;
    font-size: 17px !important;
  }

  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs {
    min-height: 64px !important;
    margin-bottom: 30px !important;
    padding: 6px !important;
    border-radius: 22px !important;
  }

  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tabs button,
  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab,
  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-tab-btn {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 17px !important;
    font-size: 14px !important;
  }

  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-panel h3,
  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-form h3,
  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-form-title,
  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-title-form {
    margin-bottom: 26px !important;
    font-size: 19px !important;
  }

  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-field {
    margin-bottom: 23px !important;
  }

  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input {
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 15px !important;
    border-radius: 19px !important;
  }

  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-input input,
  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="tel"],
  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="text"],
  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="number"],
  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="password"],
  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card input[type="email"] {
    height: 56px !important;
    min-height: 56px !important;
    font-size: 15px !important;
  }

  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-btn,
  html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card button[type="submit"] {
    height: 58px !important;
    min-height: 58px !important;
    border-radius: 19px !important;
    font-size: 15px !important;
  }
}
/* =========================================================
   NIKAN OTP TOP TITLE FIX
   روشن کردن نوشته بالای فرم مثل: مرکز کامپیوتر آرکانوم
========================================================= */

html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card > :first-child:not(.nikan-otp-tabs):not(.nikan-otp-panels),
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card > :first-child:not(.nikan-otp-tabs):not(.nikan-otp-panels) *,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-title,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-title *,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-logo-title,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-logo-title *,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-heading,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-heading *,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-header,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-header * {
  color: #7dd3fc !important;
  -webkit-text-fill-color: #7dd3fc !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: 0 0 24px rgba(56, 189, 248, .22) !important;
}

/* فاصله بهتر هم برای همون نوشته بالا */
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card > :first-child:not(.nikan-otp-tabs):not(.nikan-otp-panels),
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-title,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-logo-title,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-heading,
html.arcanum-dark body.nikan-otp-auth-body .nikan-otp-card .nikan-otp-header {
  display: block !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  text-align: center !important;
  font-size: 19px !important;
  line-height: 1.8 !important;
  font-weight: 950 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
