/* تعریف فونت */
@font-face {
  font-family: 'CustomFont';
  src: url('../data/font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --primary-color: #1e3a8a;
  --btn-bg: #1e3a8a;
  --secondary-color: #3b82f6;
  --success-color: #10b981;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --track: #e2e8f0;
  --track-strong: #cbd5e1;
  --border: #e2e8f0;
  --border-soft: #f1f5f9;
  --border-strong: #cbd5e1;
  --tint-blue: #eff6ff;
  --tint-warn: #fffbeb;
  --tint-danger: #fee2e2;
  --tint-ok: #d1fae5;
  --text-color: #1f2937;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  --tint-amber: #fef3c7;
  --accent-text: #1d4ed8;
  --ok-text: #065f46;
  --ok-text2: #166534;
  --warn-text: #92400e;
  --info-text: #0284c7;
  --money-text: #059669;
  --time-text: #d97706;
}

/* ===== حالت تیره: طبق تنظیم گوشی کاربر (بدون دکمه) ===== */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --primary-color: #93c5fd;
    --btn-bg: #2563eb;
    --secondary-color: #3b82f6;
    --success-color: #34d399;
    --bg-color: #0b1120;
    --card-bg: #111a2e;
    --surface: #0f1a2e;
    --surface-2: #1a2640;
    --track: #26324d;
    --track-strong: #34415e;
    --border: #263350;
    --border-soft: #1c2844;
    --border-strong: #34415e;
    --tint-blue: #14284a;
    --tint-warn: #3a2f12;
    --tint-danger: #3d1d1d;
    --tint-ok: #12332a;
    --text-color: #e5e7eb;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-faint: #8491a8;
    --tint-amber: #3a2f12;
    --accent-text: #93c5fd;
    --ok-text: #6ee7b7;
    --ok-text2: #86efac;
    --warn-text: #fcd34d;
    --info-text: #7dd3fc;
    --money-text: #6ee7b7;
    --time-text: #fbbf24;
    /* دکمه‌ها در حالت تیره: متن سفید روی رنگ تیره‌تر خوانا می‌ماند */
    --btn-ok: #059669;
    --btn-muted: #26324d;
    /* دکمه‌های بستن و ثبت سفارش در حالت تیره */
  }
  .modal-content .close-modal-btn { background-color: var(--btn-muted); color: var(--text-color); }
  .modal-content .order-btn { background-color: var(--btn-ok); color: #ffffff; }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'CustomFont', tahoma, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  padding-bottom: 90px;
}

/* --- هدر --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--card-bg);
  padding: 12px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-container {
  flex-grow: 1;
  text-align: center;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-color);
}

.hamburger-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

.account-icon-btn {
  background: var(--surface-2, #f1f5f9);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.account-icon-btn svg {
  width: 19px;
  height: 19px;
}

.account-icon-btn:active {
  background: var(--track, #e2e8f0);
}

.account-icon-btn.logged-in {
  background: var(--secondary-color);
  color: #fff;
}

/* --- منوی کشویی --- */
.nav-menu {
  position: fixed;
  top: 0;
  left: -270px;
  width: 270px;
  height: 100%;
  background-color: var(--card-bg);
  box-shadow: 2px 0 15px rgba(0,0,0,0.1);
  transition: left 0.3s ease;
  z-index: 200;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}

.nav-menu.active {
  left: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin: 0 20px 10px auto;
  display: block;
  color: var(--text-muted, #64748b);
}

.nav-top {
  list-style: none;
  padding: 10px 16px;
  flex: 1;
}

.nav-top li {
  margin-bottom: 6px;
}

.nav-top a {
  display: block;
  padding: 13px 16px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-top a:hover {
  background: var(--surface-2, #f1f5f9);
  color: var(--primary-color);
}

.nav-bottom {
  margin-top: auto;
  padding: 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-orders {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface, #f8fafc);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  color: var(--text-secondary, #475569);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.nav-orders:hover {
  background: var(--surface-2, #f1f5f9);
  border-color: var(--border-strong, #cbd5e1);
}

/* باکس موجودی */
.balance-box {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  border-radius: 16px;
  padding: 16px;
  color: white;
  text-align: center;
  box-shadow: 0 8px 20px -4px rgba(14, 165, 233, 0.4);
  position: relative;
  overflow: hidden;
}

.balance-box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.balance-label {
  font-size: 0.82rem;
  opacity: 0.9;
  margin-bottom: 4px;
  font-weight: 500;
}

.balance-amount {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.charge-btn {
  width: 100%;
  padding: 10px;
  background: white;
  color: var(--info-text, #0284c7);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.charge-btn:hover {
  background: var(--tint-blue, #eff6ff);
  transform: scale(1.02);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  z-index: 150;
}

.overlay.active {
  display: block;
}

/* --- بخش اصلی خدمات --- */
main {
  padding: 20px 15px;
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* --- صفحه حساب کاربری من --- */
.account-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.account-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  background-color: var(--track, #e2e8f0);
  color: var(--text-muted, #64748b);
  border-radius: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.account-tab svg {
  display: block;
}

.account-tab.active {
  background-color: var(--secondary-color);
  color: #ffffff;
}

.account-panel {
  display: none;
}

.account-panel.active {
  display: block;
}

.account-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft, #f1f5f9);
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-row:first-child {
  padding-top: 0;
}

.info-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--tint-blue, #eff6ff);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-text {
  flex: 1;
  min-width: 0;
}

.info-text label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-faint, #94a3b8);
  margin-bottom: 4px;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-color);
  overflow-wrap: break-word;
}

.info-value.ltr-value {
  direction: ltr;
  text-align: right;
  unicode-bidi: plaintext;
}

.categories-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 20px;
  scrollbar-width: thin;
}

.category-chip {
  white-space: nowrap;
  padding: 8px 16px;
  background-color: var(--track, #e2e8f0);
  color: var(--text-color);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.category-chip.active, .category-chip:hover {
  background-color: var(--secondary-color);
  color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 85px;
}

.service-card:active {
  transform: scale(0.97);
}

.service-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 4px;
  line-height: 1.4;
}

.service-card span.category-tag {
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
}

/* --- جستجو و فوتر (چسبیده به پایین مثل اینستاگرام) --- */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--card-bg);
  padding: 10px 15px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  z-index: 100;
}

.search-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.search-box {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 100%;
  padding: 10px 48px 10px 15px; /* ایجاد فضای خالی در سمت چپ برای قرارگیری آیکون */
  border: 1px solid var(--border-strong, #cbd5e1);
  border-radius: 25px;
  outline: none;
  font-size: 0.9rem;
  background: white;
  direction: rtl;
  text-align: right;
}

.search-box input:focus {
  border-color: var(--secondary-color);
}

.search-results-list {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border-strong, #cbd5e1);
  border-radius: 12px;
  margin-bottom: 8px;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
  display: none;
  list-style: none;
  z-index: 110;
}

.search-results-list li {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-soft, #f1f5f9);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
}

.search-results-list li:last-child {
  border-bottom: none;
}

.search-results-list li:hover {
  background-color: var(--surface, #f8fafc);
  color: var(--secondary-color);
}

/* آیکون هوش مصنوعی فیکس شده در سمت چپِ داخل سرچ‌باکس */
.ai-bot-btn {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
  cursor: pointer;
  z-index: 5;
}

/* --- مدال‌ها --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 300;
  padding: 20px;
}

.modal-content {
  background-color: var(--card-bg);
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: fadeIn 0.2s ease-in-out;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-content form {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0;
  padding-bottom: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border, #e2e8f0);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.modal-header h2 {
  font-size: 1.1rem;
  color: var(--primary-color);
}

.modal-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex-grow: 1;
  min-height: 0;
}

.modal-body p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.6;
  color: var(--text-secondary, #475569);
}

.info-badge {
  display: flex;
  justify-content: space-between;
  background-color: var(--surface-2, #f1f5f9);
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.btn-group {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.order-btn {
  flex: 1;
  padding: 10px;
  background-color: var(--success-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.order-btn.disabled {
  background-color: var(--track-strong, #cbd5e1);
  color: var(--text-muted, #64748b);
  cursor: not-allowed;
  opacity: 0.85;
}

.service-card.service-inactive {
  opacity: 0.6;
  position: relative;
}

.close-modal-btn {
  flex: 1;
  padding: 10px;
  background-color: #94a3b8;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.form-group {
  margin-bottom: 12px;
  text-align: right;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-strong, #cbd5e1);
  border-radius: 8px;
  outline: none;
  font-size: 0.85rem;
}

.submit-order-btn {
  width: 100%;
  padding: 10px;
  background-color: var(--btn-bg);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
}

/* --- استایل چت هوش مصنوعی --- */
.chat-box {
  display: flex;
  flex-direction: column;
  height: 320px;
  background: var(--surface, #f8fafc);
  border-radius: 12px;
  border: 1px solid var(--border, #e2e8f0);
  padding: 10px;
  overflow-y: auto;
  gap: 10px;
  margin-bottom: 10px;
}

.chat-msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.chat-msg.user {
  align-self: flex-start;
  background-color: var(--secondary-color);
  color: #ffffff;
  border-bottom-right-radius: 2px;
}

.chat-msg.ai {
  align-self: flex-end;
  background-color: var(--card-bg, #ffffff);
  color: var(--text-color);
  border: 1px solid var(--border, #e2e8f0);
  border-bottom-left-radius: 2px;
}

.chat-input-area {
  display: flex;
  gap: 8px;
}

.chat-input-area input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-strong, #cbd5e1);
  border-radius: 20px;
  outline: none;
  font-size: 0.85rem;
}

.chat-send-btn {
  background-color: var(--btn-bg);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}

body.modal-open {
  overflow: hidden;
}

/* دکمه/لینک مشاهده جزئیات یا ارتباط با ما داخل چت هوش مصنوعی */
.inline-order-btn {
  display: inline-block;
  margin-top: 6px;
  background-color: var(--success-color);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  border: none;
  font-weight: bold;
  text-decoration: none;
}

/* =========================================================
   مودال ورود / ثبت‌نام (auth) - این بخش کلاً استایل نداشت
   ========================================================= */
.auth-modal-content {
  max-width: 400px;
}

.close-btn-trigger {
  font-size: 1.1rem;
  color: var(--text-muted, #64748b);
}

.auth-sub {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
  margin-bottom: 16px;
  line-height: 1.7;
}

.field {
  margin-bottom: 14px;
  text-align: right;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.field label .hint {
  font-weight: 400;
  color: var(--text-faint, #94a3b8);
  font-size: 0.75rem;
}

.field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong, #cbd5e1);
  border-radius: 8px;
  outline: none;
  font-size: 0.9rem;
}

.field input:focus {
  border-color: var(--secondary-color);
}

.ltr-input {
  direction: ltr;
  text-align: left;
}

/* پیام خطا فقط وقتی نمایش داده می‌شود که خود فیلد کلاس invalid بگیرد */
.field .err {
  display: none;
  color: #ef4444;
  font-size: 0.78rem;
  margin-top: 4px;
}

.field.invalid input {
  border-color: #ef4444;
}

.field.invalid .err {
  display: block;
}

.pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pass-wrap input {
  flex: 1;
  padding-left: 58px;
}

.toggle-eye {
  position: absolute;
  left: 12px;
  font-size: 0.75rem;
  color: var(--secondary-color);
  cursor: pointer;
  user-select: none;
}

.pass-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.pass-rules span {
  font-size: 0.72rem;
  padding: 2px 9px;
  border-radius: 12px;
  background: var(--surface-2, #f1f5f9);
  color: var(--text-faint, #94a3b8);
}

.pass-rules span.ok {
  background: var(--tint-ok, #d1fae5);
  color: var(--success-color);
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.captcha-box {
  background: var(--surface-2, #f1f5f9);
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  min-width: 56px;
  text-align: center;
}

.captcha-refresh {
  cursor: pointer;
  font-size: 1.15rem;
  padding: 4px 6px;
  user-select: none;
}

.captcha-row input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid var(--border-strong, #cbd5e1);
  border-radius: 8px;
  outline: none;
  font-size: 0.9rem;
}

.btn-primary {
  width: 100%;
  padding: 11px;
  background-color: var(--btn-bg);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 6px;
  transition: transform .12s ease;
}

.btn-primary:active {
  transform: scale(0.98);
}

.auth-switch-row {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 0.82rem;
}

.auth-switch-row a {
  color: var(--secondary-color);
  text-decoration: none;
}

/* پیام‌های toast (اعلان کوتاه پایین صفحه) */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1f2937;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 999;
  max-width: 90%;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.error {
  background: #ef4444;
}

.tracking-code-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
  background: var(--tint-blue, #eff6ff);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 10px 0;
  word-break: break-all;
}

/* =========================================================
   مودال ثبت موفق سفارش (این بخش هم اصلاً استایل نداشت)
   ========================================================= */
.success-modal-content {
  max-width: 420px;
  text-align: center;
  padding: 32px 24px 24px;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--tint-ok, #d1fae5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.success-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.success-text {
  font-size: 0.9rem;
  color: var(--text-muted, #64748b);
  margin-bottom: 6px;
}

.warning-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--tint-warn, #fffbeb);
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 16px 0;
  text-align: right;
}

.warning-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.warning-text {
  font-size: 0.8rem;
  color: var(--warn-text, #92400e);
  line-height: 1.8;
}

.success-close-btn {
  width: 100%;
  padding: 12px;
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform .12s ease;
}

.success-close-btn:active {
  transform: scale(0.98);
}

/* =========================================================
   مودال خدمت غیرفعال (این بخش هم اصلاً استایل نداشت)
   ========================================================= */
.inactive-modal-content {
  max-width: 420px;
  text-align: center;
  padding: 32px 24px 24px;
}

.inactive-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--tint-danger, #fee2e2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.inactive-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-color, #1f2937);
  margin-bottom: 8px;
}

.inactive-text {
  font-size: 0.9rem;
  color: var(--text-secondary, #475569);
  margin-bottom: 4px;
}

.inactive-subtext {
  font-size: 0.82rem;
  color: var(--text-faint, #94a3b8);
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease;
}

.social-link svg {
  width: 22px;
  height: 22px;
}

.social-link:active {
  transform: scale(0.9);
}

.social-link.instagram {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-link.telegram {
  background: #229ED9;
}

.social-link.rubika {
  background: #F5A623;
}

.social-link.bale {
  background: #2E67F8;
}

.social-id {
  font-size: 0.78rem;
  color: var(--text-faint, #94a3b8);
  margin-bottom: 18px;
  direction: ltr;
}

.inactive-close-btn {
  display: block;
  width: 100%;
}
