@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════════════════════════
   B3 CLOUD COMMERCE — ADMIN LIGHT THEME
   ═══════════════════════════════════════════════════════════════ */

:root {
  --primary:       #21AAE1;
  --primary-dark:  #0088cd;
  --primary-light: rgba(33,170,225,0.10);
  --primary-glow:  rgba(33,170,225,0.25);
  --success:  #27ae60;
  --danger:   #e74c3c;
  --warning:  #f39c12;
  --gold:     #f39c12;
  --border:   #E4EDF1;
  --bg:       #f5f7fa;
  --bg-card:  #ffffff;
  --text:     #111111;
  --text-muted: #555555;
  --text-dim:   #888888;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Figtree', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ─── ADMIN LAYOUT ────────────────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }

.admin-sidebar {
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
}

.admin-main { display: flex; flex-direction: column; min-height: 100vh; background: var(--bg); }

.admin-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  border-bottom: 1px solid #222;
  background: #000000;
  position: sticky; top: 0; z-index: 100;
}

.admin-body { padding: 32px; flex: 1; }

/* ─── LOGO ────────────────────────────────────────────────────── */
.admin-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; padding: 0 8px; }

/* ─── SIDEBAR NAV ─────────────────────────────────────────────── */
.admin-nav-section { margin-bottom: 24px; }
.admin-nav-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-dim);
  padding: 0 12px; margin-bottom: 6px;
}
.admin-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  font-size: 14px; color: var(--text-muted);
  transition: all 0.2s; margin-bottom: 2px; text-decoration: none;
}
.admin-nav-item:hover { background: #f0f9ff; color: var(--primary-dark); }
.admin-nav-item.active { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }
.admin-nav-item .nav-icon { font-size: 18px; width: 24px; text-align: center; }
.nav-badge {
  margin-left: auto; background: var(--danger); color: #fff;
  font-size: 10px; font-weight: 700; padding: 1px 6px;
  border-radius: 10px; min-width: 18px; text-align: center;
}

/* ─── HEADER ──────────────────────────────────────────────────── */
.admin-title { font-size: 20px; font-weight: 700; color: #fff; }
.admin-subtitle { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.admin-actions { display: flex; gap: 10px; align-items: center; }
.nav-user { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.85); }
.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
}

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px; font-size: 14px;
  font-weight: 500; cursor: pointer; transition: all 0.2s;
  font-family: 'Figtree', sans-serif; border: none; text-decoration: none;
}
.btn-primary { background: var(--primary-dark); color: #fff; }
.btn-primary:hover { background: var(--primary); transform: translateY(-1px); box-shadow: 0 4px 14px var(--primary-glow); }
.btn-ghost { background: rgba(255,255,255,0.15); color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); color: #fff; border-color: rgba(255,255,255,0.7); }

/* Ghost button on light backgrounds (edit/form pages) */
.admin-body .btn-ghost,
.edit-wrap .btn-ghost {
  background: #fff; color: #555;
  border: 1.5px solid #ddd;
}
.admin-body .btn-ghost:hover,
.edit-wrap .btn-ghost:hover {
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  background: #f0f9ff;
}
.btn-danger { background: var(--danger); color: #fff; }

/* ─── STAT CARDS ──────────────────────────────────────────────── */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.stat-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 8px; }
.stat-value { font-size: 32px; font-weight: 700; color: var(--text); }
.stat-delta { font-size: 13px; margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.delta-up { color: var(--success); }
.delta-down { color: var(--danger); }

/* ─── TABLES ──────────────────────────────────────────────────── */
.table-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.table-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid var(--border);
  background: #fafcfe;
}
.table-filters { display: flex; gap: 8px; }
.filter-btn {
  padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
  background: #fff; color: var(--text-muted); border: 1px solid var(--border);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary-dark); }
.filter-btn.active { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }
.search-box {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: #fff; border: 1px solid var(--border);
  border-radius: 8px; font-size: 13px; color: var(--text-muted);
}
.search-box input { background: transparent; border: none; outline: none; color: var(--text); font-family: 'Figtree', sans-serif; }
.search-box input::placeholder { color: #aaa; }
table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 14px 24px; text-align: left; font-size: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: #fff; border-bottom: 1px solid var(--border);
  background: #000;
}
tbody td { padding: 14px 24px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #f5f9ff; }
.cell-primary { font-weight: 600; color: var(--text); }
.action-btns { display: flex; gap: 6px; }
.tb-btn {
  padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
  background: #fff; color: var(--text-muted); border: 1px solid var(--border);
  text-decoration: none; display: inline-flex; align-items: center;
}
.tb-btn:hover { color: var(--primary-dark); border-color: var(--primary); background: #f0f9ff; }
.tb-btn.danger { color: var(--danger); border-color: rgba(231,76,60,0.3); }
.tb-btn.danger:hover { background: rgba(231,76,60,0.06); border-color: var(--danger); }
.tb-btn.success { color: var(--success); border-color: rgba(39,174,96,0.3); }
.tb-btn.success:hover { background: rgba(39,174,96,0.06); border-color: var(--success); }

/* ─── STATUS BADGES ───────────────────────────────────────────── */
.status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
}
.status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; }
.status-active    { background: rgba(39,174,96,0.12);  color: var(--success); }
.status-active::before { background: var(--success); }
.status-pending   { background: rgba(136,136,136,0.12); color: #888; }
.status-pending::before { background: #888; }
.status-deploying { background: rgba(33,170,225,0.12); color: var(--primary-dark); }
.status-deploying::before { background: var(--primary); animation: pulse 1s ease-in-out infinite; }
.status-failed    { background: rgba(231,76,60,0.12);  color: var(--danger); }
.status-failed::before { background: var(--danger); }
.status-review    { background: rgba(243,156,18,0.12); color: var(--warning); }
.status-review::before { background: var(--warning); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ─── FORMS ───────────────────────────────────────────────────── */
.field-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field-label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.field-label .req { color: var(--danger); margin-left: 2px; }
.field-input {
  background: #fff; border: 1.5px solid #ddd; color: var(--text);
  border-radius: 8px; padding: 10px 14px;
  font-size: 14px; font-family: 'Figtree', sans-serif;
  outline: none; transition: all 0.2s; width: 100%;
}
.field-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.field-input::placeholder { color: #aaa; }
select.field-input { cursor: pointer; }
.field-input-error { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(232,82,58,0.12); }
.field-error { font-size: 11px; color: var(--danger); margin-top: 2px; display: block; }
.verify-link { color: var(--primary); font-weight: 600; text-decoration: underline; cursor: pointer; }
.verify-link:hover { color: var(--primary-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.full { grid-template-columns: 1fr; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }

/* ─── LOGIN PAGE ──────────────────────────────────────────────── */
.login-layout { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: #f5f7fa; }
.login-card { width: 420px; padding: 48px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.login-header { text-align: center; margin-bottom: 32px; }
.login-title { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.login-subtitle { font-size: 14px; color: var(--text-muted); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 8px; }
.form-input {
  width: 100%; padding: 12px 14px; background: #fff;
  border: 1.5px solid #ddd; border-radius: 8px;
  color: var(--text); font-family: 'Figtree', sans-serif; font-size: 14px;
  outline: none; transition: all 0.2s;
}
.form-input:focus { border-color: var(--primary-dark); box-shadow: 0 0 0 3px var(--primary-glow); }
.form-input::placeholder { color: #aaa; }
.checkbox-group { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary-dark); }
.forgot-link { font-size: 14px; color: var(--primary-dark); }
.forgot-link:hover { text-decoration: underline; }
.invalid-feedback { display: block; font-size: 13px; color: var(--danger); margin-top: 6px; }
.form-input.is-invalid { border-color: var(--danger); }
.back-link { display: block; text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-muted); }
.back-link:hover { color: var(--primary-dark); }

/* ─── MODULE TREE ─────────────────────────────────────────────── */
.mod-tree { margin: 16px 0; }
.mod-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; margin-bottom: 4px; border-radius: 6px; cursor: pointer; transition: all 0.2s; }
.mod-item:hover { background: #f0f9ff; }
.mod-item.active { background: var(--primary-light); color: var(--primary-dark); }
.mod-toggle { font-size: 12px; color: var(--text-dim); width: 16px; }
.mod-name { font-size: 14px; color: var(--text); }
.mod-children { margin-left: 24px; margin-top: 8px; }

/* ─── TOGGLE SWITCH ───────────────────────────────────────────── */
.toggle-switch { width: 44px; height: 24px; border-radius: 12px; background: #ddd; cursor: pointer; transition: all 0.2s; position: relative; margin-left: auto; }
.toggle-switch.active { background: var(--primary); }
.toggle-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: all 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.toggle-switch.active::after { left: 23px; }

/* ─── STORE DETAIL PAGE ───────────────────────────────────────── */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.detail-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.detail-card-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.detail-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.detail-row:last-child { border-bottom: none; }
.detail-label { font-size: 12px; color: var(--text-dim); min-width: 110px; }
.detail-value { font-size: 13px; color: var(--text); text-align: right; word-break: break-all; }

/* ─── PIPELINE ────────────────────────────────────────────────── */
.pipeline-wrap { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.pipeline-steps { display: flex; gap: 0; align-items: stretch; margin: 20px 0 0; }
.pipeline-step { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; padding: 0 8px; }
.pipeline-step:not(:last-child)::after { content: ''; position: absolute; top: 20px; left: calc(50% + 20px); right: calc(-50% + 20px); height: 2px; background: var(--border); }
.pipeline-step.done::after { background: var(--success); }
.pipeline-step.running::after { background: var(--primary); }
.pipeline-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 8px; position: relative; z-index: 1; border: 2px solid var(--border); background: #f5f7fa; }
.pipeline-icon.done    { border-color: var(--success); background: rgba(39,174,96,0.1); color: var(--success); }
.pipeline-icon.running { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); }
.pipeline-icon.failed  { border-color: var(--danger); background: rgba(231,76,60,0.1); color: var(--danger); }
.pipeline-name { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); margin-bottom: 4px; }
.pipeline-status { font-size: 11px; }

/* ─── TREE (store detail) ─────────────────────────────────────── */
.tree-wrap { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.tree-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); background: #fafcfe; }
.tree-body { padding: 16px 24px; }
.tree-node-parent { margin-bottom: 4px; border-radius: 8px; border: 1px solid var(--border); overflow: hidden; }
.tree-parent-header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; background: #fafcfe; transition: background 0.15s; }
.tree-parent-header:hover { background: #f0f9ff; }
.tree-toggle { font-size: 10px; color: var(--text-dim); transition: transform 0.2s; }
.tree-toggle.open { transform: rotate(90deg); }
.tree-mod-icon { font-size: 18px; }
.tree-mod-name { font-size: 14px; font-weight: 500; flex: 1; color: var(--text); }
.tree-badge { font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 8px; border-radius: 10px; }
.tree-badge.selected { background: var(--primary-light); color: var(--primary-dark); }
.tree-badge.count { background: #f0f0f0; color: var(--text-muted); }
.tree-children { padding: 8px 14px 10px; border-top: 1px solid var(--border); display: none; background: #fafcfe; }
.tree-children.open { display: block; }
.tree-feat-row { display: flex; align-items: center; gap: 6px; padding: 5px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; color: var(--text-muted); }
.tree-feat-row:last-child { border-bottom: none; }
.tree-feat-row::before { content: '◦'; color: var(--text-dim); }
.tree-empty { padding: 32px; text-align: center; color: var(--text-dim); font-size: 13px; }
.owner-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--primary-dark); }

/* ─── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ═══════════════════════════════════════════════════════════════
   ONBOARDING — LIGHT THEME
   ═══════════════════════════════════════════════════════════════ */

/* Top nav (black bar) */
.top-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 60px;
  background: #000000; border-bottom: 1px solid #222;
  position: sticky; top: 0; z-index: 100;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-user { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #fff; }
.nav-user .nav-avatar {
  background: var(--primary-light); border: 1px solid var(--border);
  color: var(--primary-dark);
}

/* Layout */
.onboard-layout {
  display: grid; grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 60px); background: #f5f7fa;
}

/* Sidebar */
.onboard-sidebar {
  background: #f2f8fb; border-right: 1px solid #E4EDF1;
  padding: 32px 20px; position: sticky; top: 60px;
  height: calc(100vh - 60px); overflow-y: auto;
}
.sidebar-head {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #888;
  margin-bottom: 20px; padding-left: 12px;
}

/* Step nav items */
.step-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px; cursor: pointer;
  margin-bottom: 2px; transition: all 0.2s; position: relative;
  text-decoration: none;
}
.step-nav-item:hover { background: #e8f4fb; }
.step-nav-item.active { background: var(--primary-light); }
.step-nav-item.done .step-num { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }
.step-nav-item.active .step-num { background: var(--primary-dark); color: #fff; box-shadow: 0 0 0 4px var(--primary-glow); border-color: var(--primary-dark); }
.step-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 1px solid #ddd;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; flex-shrink: 0;
  transition: all 0.3s; color: #555;
}
.step-nav-label { font-size: 13px; color: #555; }
.step-nav-item.active .step-nav-label { color: var(--primary-dark); font-weight: 600; }
.step-nav-item.done .step-nav-label { color: var(--primary-dark); }
.step-connector { position: absolute; left: 23px; top: 36px; width: 1px; height: 12px; background: #ddd; }
.step-nav-item.done .step-connector { background: var(--primary-dark); }

/* Main content area */
.onboard-main { padding: 40px 48px; max-width: 780px; animation: fadeIn 0.3s ease; background: #f5f7fa; }
@keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

/* Step header */
.step-header { margin-bottom: 32px; }
.step-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--primary-dark);
  background: var(--primary-light); padding: 4px 12px;
  border-radius: 20px; margin-bottom: 12px;
}
.step-title { font-weight: 700; font-size: 28px; line-height: 1.3; color: #000; margin-bottom: 8px; }
.step-subtitle { font-size: 14px; color: #555; line-height: 1.6; }

/* Btn row */
.btn-row { display: flex; gap: 10px; align-items: center; margin-top: 32px; }

/* OTP */
.otp-grid { display: flex; gap: 10px; }
.otp-input {
  width: 52px; height: 56px; text-align: center; font-size: 22px; font-weight: 600;
  background: #fff; border: 2px solid #ddd; border-radius: 10px;
  color: #000; outline: none; transition: all 0.2s;
}
.otp-input:focus { border-color: var(--primary-dark); box-shadow: 0 0 0 3px var(--primary-glow); }
.otp-input.filled { border-color: var(--primary-dark); color: var(--primary-dark); }

/* Select cards */
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 24px; }
.cards-grid.two { grid-template-columns: 1fr 1fr; }
.select-card {
  background: #fff; border: 2px solid #E4EDF1; border-radius: 12px; padding: 20px;
  cursor: pointer; transition: all 0.2s; position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.select-card:hover { border-color: var(--primary-dark); background: #f0f9ff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(33,170,225,0.15); }
.select-card.selected { border-color: var(--primary-dark); background: #e8f5fd; box-shadow: 0 4px 16px rgba(33,170,225,0.2); }
.select-card.selected::after {
  content: '✓'; position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.card-icon { font-size: 30px; margin-bottom: 10px; }
.card-title { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 4px; }
.card-desc { font-size: 12px; color: #666; line-height: 1.5; }

/* Module items */
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.module-item {
  background: #fff; border: 2px solid #E4EDF1; border-radius: 10px; padding: 14px;
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; transition: all 0.2s; box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.module-item:hover { border-color: var(--primary-dark); background: #f0f9ff; }
.module-item.selected { border-color: var(--primary-dark); background: #e8f5fd; }
.module-item.default { border-color: var(--primary-dark); background: #f0f9ff; cursor: default; }
.module-check {
  width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid #ddd;
  flex-shrink: 0; margin-top: 2px; display: flex; align-items: center;
  justify-content: center; transition: all 0.2s;
}
.module-item.selected .module-check,
.module-item.default .module-check { background: var(--primary-dark); border-color: var(--primary-dark); }
.module-check-mark { font-size: 10px; color: #fff; font-weight: 700; display: none; }
.module-item.selected .module-check-mark,
.module-item.default .module-check-mark { display: block; }
.module-info { flex: 1; }
.module-name { font-size: 13px; font-weight: 500; color: #000; }
.module-price { font-size: 11px; color: #888; margin-top: 2px; }
.module-price.free { color: var(--primary-dark); }
.module-badge { font-size: 10px; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.badge-default { background: var(--primary-light); color: var(--primary-dark); }
.badge-paid { background: rgba(243,156,18,0.15); color: var(--gold); }

/* Domain cards */
.domain-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 24px; }
.domain-card {
  background: #fff; border: 2px solid #E4EDF1; border-radius: 12px; padding: 20px;
  cursor: pointer; transition: all 0.2s; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.domain-card:hover { border-color: var(--primary-dark); background: #f0f9ff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(33,170,225,0.15); }
.domain-card.selected { border-color: var(--primary-dark); background: #e8f5fd; box-shadow: 0 4px 16px rgba(33,170,225,0.2); }
.domain-type-icon { font-size: 24px; margin-bottom: 10px; }
.domain-type-title { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 4px; }
.domain-type-desc { font-size: 12px; color: #666; }

/* Plan cards */
.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.plan-card {
  background: #fff; border: 2px solid #E4EDF1; border-radius: 14px; padding: 24px;
  cursor: pointer; transition: all 0.2s; position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.plan-card:hover { border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(33,170,225,0.15); }
.plan-card.selected { border-color: var(--primary-dark); background: #e8f5fd; box-shadow: 0 6px 20px rgba(33,170,225,0.2); }
.plan-card.popular::before {
  content: 'Most Popular'; position: absolute; top: -1px; right: 20px;
  background: var(--gold); color: #000; font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; padding: 3px 10px; border-radius: 0 0 8px 8px; text-transform: uppercase;
}
.plan-name { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #888; margin-bottom: 6px; }
.plan-price { font-weight: 700; font-size: 36px; color: #000; }
.plan-price sup { font-size: 18px; vertical-align: top; margin-top: 8px; }
.plan-price sub { font-size: 14px; color: #888; }
.plan-features { margin-top: 16px; }
.plan-feature { font-size: 13px; color: #555; padding: 5px 0; display: flex; gap: 8px; align-items: center; border-top: 1px solid #E4EDF1; }
.plan-feature:first-child { border-top: none; }
.feat-check { color: var(--primary-dark); font-size: 12px; }

/* Spinup */
.spinup-steps { margin: 24px 0; }
.spinup-item {
  display: flex; align-items: center; gap: 16px; padding: 14px 16px;
  border-radius: 10px; margin-bottom: 8px;
  border: 1px solid #E4EDF1; background: #fff; transition: all 0.3s;
}
.spinup-item.running { border-color: var(--primary-dark); background: var(--primary-light); }
.spinup-item.done { border-color: rgba(39,174,96,0.4); background: rgba(39,174,96,0.06); }
.spinup-icon { font-size: 20px; width: 36px; text-align: center; }
.spinup-label { flex: 1; }
.spinup-name { font-size: 14px; font-weight: 500; color: #000; }
.spinup-status { font-size: 12px; margin-top: 2px; }
.spinup-status.running { color: var(--primary-dark); }
.spinup-status.done { color: var(--success); }
.spinup-status.pending { color: #888; }
.spin-anim { animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.order-summary {
  background: #f2f8fb; border: 1px solid #E4EDF1; border-radius: 14px;
  padding: 24px; height: fit-content; position: sticky; top: 100px;
}
.summary-title { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: #000; }
.summary-line { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #E4EDF1; font-size: 13px; color: #555; }
.summary-line:last-child { border-bottom: none; font-weight: 600; color: #000; font-size: 15px; }
.summary-line span:last-child { color: #000; }

/* ═══════════════════════════════════════════════════════════════
   EDIT / FORM PAGES
   ═══════════════════════════════════════════════════════════════ */

.edit-wrap { max-width: 680px; }
.edit-back { margin-bottom: 20px; }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.form-card-title {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.form-card-title span { font-size: 11px; color: var(--text-dim); text-transform: none; letter-spacing: 0; font-weight: 400; font-family: monospace; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-grid.full { grid-template-columns: 1fr; }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 600; color: #333; }
.form-field label .req { color: var(--danger); margin-left: 2px; }
.form-field label .hint { font-size: 11px; color: var(--text-dim); font-weight: 400; margin-left: 6px; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; background: #f8fafc;
  border: 1.5px solid #dde3ea;
  border-radius: 8px; padding: 10px 14px;
  font-size: 14px; color: #111;
  outline: none; transition: all 0.2s;
  font-family: 'Figtree', sans-serif;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #aaa; }
.form-field select { cursor: pointer; }
.form-field .field-error { font-size: 12px; color: var(--danger); margin-top: 2px; }

.form-footer {
  display: flex; align-items: center; gap: 10px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.form-footer-meta { margin-left: auto; font-size: 12px; color: var(--text-dim); }

.form-actions { display: flex; gap: 10px; align-items: center; }
.form-actions .btn-primary { margin-left: auto; }

.btn-delete {
  background: rgba(231,76,60,0.08);
  color: var(--danger);
  border: 1.5px solid rgba(231,76,60,0.3);
  padding: 10px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all 0.2s; font-family: 'Figtree', sans-serif;
}
.btn-delete:hover { background: rgba(231,76,60,0.15); border-color: var(--danger); }

.checkbox-row {
  display: flex; align-items: center; gap: 10px;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.checkbox-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary-dark); cursor: pointer; }
.checkbox-row label { font-size: 13px; color: #333; cursor: pointer; font-weight: 500; }
.checkbox-row .meta { margin-left: auto; font-size: 12px; color: var(--text-dim); }

/* Utility */
.text-right { text-align: right; }
.header-left { display: flex; align-items: center; gap: 20px; }
.header-logo { max-height: 32px; }
.toolbar-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.text-muted-sm { font-size: 13px; color: var(--text-muted); }
.alert { padding: 10px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 13px; }
.alert-success { background: rgba(39,174,96,0.1); border: 1px solid rgba(39,174,96,0.3); color: var(--success); }
.alert-danger  { background: rgba(231,76,60,0.1); border: 1px solid rgba(231,76,60,0.3); color: var(--danger); }
.form-inline { display: inline; }
.td-empty { text-align: center; color: var(--text-dim); padding: 40px!important; }

/* ═══════════════════════════════════════════════════════════════
   SHOW / DETAIL PAGE UTILITIES
   ═══════════════════════════════════════════════════════════════ */

/* Breadcrumb */
.breadcrumb { display:flex; align-items:center; gap:8px; margin-bottom:24px; font-size:13px; }
.breadcrumb-link { color:var(--text-muted); }
.breadcrumb-link:hover { color:var(--primary-dark); }
.breadcrumb-sep { color:var(--text-dim); }
.breadcrumb-current { color:var(--text); font-weight:500; }

/* Detail grid */
.detail-col { display:flex; flex-direction:column; gap:20px; }
.detail-value.fw-600 { font-weight:600; }
.detail-value.mono { font-family:monospace; font-size:12px; }
.detail-value.text-sm { font-size:12px; }
.detail-value.text-xs { font-size:11px; }
.detail-value.text-primary { color:var(--primary-dark); }
.detail-value.text-muted { color:var(--text-muted); }
.text-primary { color:var(--primary-dark); }
.text-muted { color:var(--text-muted); }
.text-xs { font-size:11px; }
.text-sm { font-size:12px; }

/* Owner card */
.owner-row { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.owner-name { font-size:14px; font-weight:600; color:var(--text); }
.owner-email { font-size:12px; color:var(--primary-dark); margin-top:2px; }
.link-primary { font-size:12px; color:var(--primary-dark); text-decoration:none; }
.link-primary:hover { text-decoration:underline; }

/* Pipeline header */
.pipeline-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:4px; }
.pipeline-title { font-size:13px; font-weight:600; color:var(--text); margin-bottom:2px; }
.pipeline-sub { font-size:12px; color:var(--text-dim); }
.progress-wrap { display:flex; align-items:center; gap:10px; }
.progress-bar { width:100px; height:6px; background:var(--border); border-radius:3px; overflow:hidden; }
.progress-fill { height:100%; border-radius:3px; transition:width .4s; }
.progress-label { font-size:12px; color:var(--text-muted); }

/* Pipeline status colors */
.pipeline-status.done    { color:var(--success); }
.pipeline-status.running { color:var(--primary-dark); }
.pipeline-status.failed  { color:var(--danger); }
.pipeline-status.pending { color:var(--text-dim); }

/* Tree */
.tree-title { font-size:13px; font-weight:600; color:var(--text); margin-bottom:2px; }
.tree-sub { font-size:12px; color:var(--text-dim); }
.tree-header-actions { display:flex; gap:10px; align-items:center; }
.tb-btn-sm { font-size:11px; padding:4px 10px; }
.tree-empty-icon { font-size:32px; margin-bottom:8px; }
.feat-check-icon { color:var(--primary-dark); margin-right:6px; font-weight:700; }
.feat-price { margin-left:auto; font-size:11px; }
.feat-price-free { color:var(--success); font-weight:600; }
.feat-price-paid { color:var(--text-muted); }
.tree-feat-empty { font-size:12px; color:var(--text-dim); padding:8px 0; }

/* Stores index */
.cell-domain { font-size:12px; color:var(--primary-dark); font-weight:400; margin-top:2px; }
.cell-sub { font-size:11px; color:var(--text-muted); }
.cell-muted { font-size:13px; color:var(--text-muted); }
.cell-num { font-size:12px; color:var(--text-dim); }
.cell-sm { font-size:12px; color:var(--text-muted); }
.dot-icon { font-size:16px; font-weight:700; }
.dot-success { color:var(--success); }
.dot-primary { color:var(--primary-dark); }
.dot-danger  { color:var(--danger); }
.dot-muted   { color:var(--text-dim); }
.action-btns-right { justify-content:flex-end; }
.text-right { text-align:right; }

/* Users index */
.user-cell { display:flex; align-items:center; gap:10px; }
.user-initials {
  width:32px; height:32px; border-radius:50%;
  background:var(--primary-light); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:700; color:var(--primary-dark); flex-shrink:0;
}
.role-badge { font-size:12px; font-weight:600; }
.role-danger  { color:var(--danger); }
.role-primary { color:var(--primary-dark); }
.role-gold    { color:var(--gold); }
.role-muted   { color:var(--text-muted); }
.verified-yes { color:var(--success); font-size:12px; }
.verified-no  { color:var(--text-dim); font-size:12px; }

/* ═══════════════════════════════════════════════════════════════
   USER DASHBOARD — LIGHT THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════ */

.user-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 60px); }

.user-sidebar {
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 20px 12px;
  overflow-y: auto;
}

.user-profile-card {
  background: #f5f7fa;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.user-avatar-lg {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
  margin: 0 auto 10px;
  border: 2px solid var(--border);
}

.user-name  { font-size: 14px; font-weight: 600; color: #111; }
.user-email { font-size: 11px; color: #888; margin-top: 2px; }

.user-plan-badge {
  display: inline-block; margin-top: 8px;
  background: var(--primary-light); color: var(--primary-dark);
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  padding: 3px 10px; border-radius: 20px; text-transform: uppercase;
}

.user-nav-section { margin-bottom: 20px; }
.user-nav-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #888;
  padding: 0 12px; margin-bottom: 6px;
}

.user-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 13px; color: #555;
  transition: all 0.2s; margin-bottom: 1px; text-decoration: none;
}
.user-nav-item:hover { background: #f0f9ff; color: var(--primary-dark); }
.user-nav-item.active { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }
.user-nav-item .nav-icon { font-size: 16px; width: 20px; text-align: center; }

.user-main { background: #f5f7fa; overflow-y: auto; }

.user-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: #fff; z-index: 10;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.user-header-title { font-size: 18px; font-weight: 700; color: #111; }
.user-header-sub   { font-size: 13px; color: #888; margin-top: 2px; }
.user-header-actions { display: flex; gap: 10px; align-items: center; }

.user-body { padding: 24px 28px; }

/* Stat cards — light */
.user-body .stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 24px; }
.user-body .stat-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.user-body .stat-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #888; margin-bottom: 8px; }
.user-body .stat-value { font-size: 28px; font-weight: 700; color: #111; }
.user-body .stat-delta { font-size: 12px; margin-top: 4px; }

/* Store cards — light */
.stores-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.store-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: all 0.25s; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.store-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(33,170,225,0.15); }
.store-card-header {
  padding: 18px 18px 14px; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between;
}
.store-icon { width:40px; height:40px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.store-icon.ecom { background: var(--primary-light); }
.store-icon.mkt  { background: rgba(240,165,0,0.12); }
.store-icon.rest { background: rgba(231,76,60,0.12); }
.store-icon.svc  { background: rgba(99,91,255,0.12); }
.store-icon.saas { background: var(--primary-light); }
.store-icon.blog { background: rgba(39,174,96,0.12); }
.store-card-name   { font-size: 14px; font-weight: 600; color: #111; margin-bottom: 3px; }
.store-card-domain { font-size: 12px; color: var(--primary-dark); }
.store-card-body   { padding: 14px 18px; }
.store-meta-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.store-meta-label  { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.store-meta-value  { font-size: 12px; color: #555; font-weight: 500; }
.store-card-footer { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; gap: 8px; align-items: center; }
.pipeline-dot { width:8px; height:8px; border-radius:50%; }
.pipeline-dot.done    { background: var(--success); }
.pipeline-dot.running { background: var(--primary); animation: pulse 1s ease-in-out infinite; }
.pipeline-dot.failed  { background: var(--danger); }
.pipeline-dot.pending { background: #ddd; }

.add-store-card {
  background: #fff; border: 1.5px dashed #ddd;
  border-radius: 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 32px; cursor: pointer; transition: all 0.25s; min-height: 200px;
  text-decoration: none;
}
.add-store-card:hover { border-color: var(--primary); background: var(--primary-light); }
.add-store-icon  { font-size: 32px; margin-bottom: 10px; }
.add-store-label { font-size: 14px; font-weight: 500; color: #555; }
.add-store-sub   { font-size: 12px; color: #888; margin-top: 4px; }

/* Section cards — light */
.section-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 24px; margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.section-card-title {
  font-size: 13px; font-weight: 700; color: #111;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Onboard prompt — light */
.onboard-prompt {
  background: var(--primary-light);
  border: 1px solid var(--border-primary);
  border-radius: 12px; padding: 20px 24px;
  display: flex; align-items: center; gap: 20px; margin-bottom: 24px;
}
.onboard-prompt-icon  { font-size: 36px; flex-shrink: 0; }
.onboard-prompt-title { font-size: 15px; font-weight: 600; color: #111; margin-bottom: 4px; }
.onboard-prompt-sub   { font-size: 13px; color: #555; }

/* Invoice rows — light */
.invoice-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.invoice-row:last-child { border-bottom: none; }
.invoice-icon   { font-size: 20px; }
.invoice-info   { flex: 1; }
.invoice-num    { font-size: 13px; font-weight: 500; color: var(--primary-dark); }
.invoice-date   { font-size: 11px; color: #888; }
.invoice-amount { font-size: 14px; font-weight: 600; color: #111; }

/* Notifications — light */
.notif-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.notif-item:last-child { border-bottom: none; }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.notif-dot.unread { background: var(--primary); }
.notif-dot.read   { background: #ddd; }
.notif-text { font-size: 13px; color: #333; line-height: 1.5; }
.notif-time { font-size: 11px; color: #888; margin-top: 3px; }

/* Tickets — light */
.ticket-item { background: #f5f7fa; border: 1px solid var(--border); border-radius: 10px; padding: 14px; margin-bottom: 10px; }
.ticket-subject { font-size: 13px; font-weight: 500; color: #111; margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ticket-meta { font-size: 12px; color: #888; }

/* Toggle — light */
.toggle { position: relative; width: 36px; height: 20px; background: #ddd; border-radius: 20px; cursor: pointer; transition: background 0.2s; }
.toggle.on { background: var(--primary-dark); }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.toggle.on::after { left: 19px; }
.toggle-wrap  { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.toggle-label { font-size: 13px; color: #333; }

/* Danger zone */
.section-card.danger-zone { border-color: rgba(231,76,60,0.3); }
.section-card.danger-zone .section-card-title { color: var(--danger); }
.danger-row { display: flex; align-items: center; justify-content: space-between; }
.danger-row-title { font-size: 13px; font-weight: 500; color: #111; }
.danger-row-sub   { font-size: 12px; color: #888; margin-top: 2px; }

/* Plan info grid */
.plan-info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 20px; }
.plan-info-item { background: #f5f7fa; border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.plan-info-value { font-size: 14px; font-weight: 600; color: #111; margin-top: 4px; }

/* Payment method */
.payment-method { display: flex; align-items: center; gap: 16px; }
.payment-icon   { font-size: 28px; }
.payment-name   { font-size: 14px; font-weight: 500; color: #111; }
.payment-expiry { font-size: 12px; color: #888; }

/* Ghost button on light user-dashboard background */
.user-main .btn-ghost,
.user-body .btn-ghost {
  background: #fff;
  color: #555;
  border: 1.5px solid #ddd;
}
.user-main .btn-ghost:hover,
.user-body .btn-ghost:hover {
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  background: #f0f9ff;
}

/* ── DataTables theme overrides ── */
div.dataTables_wrapper { font-family: 'Figtree', sans-serif; }
table.dataTable thead th,
table.dataTable thead td { border-bottom: 1px solid #e8eef3; font-size: 12px; font-weight: 600; color: #555; padding: 10px 12px; }
table.dataTable thead .sorting::after,
table.dataTable thead .sorting_asc::after,
table.dataTable thead .sorting_desc::after { font-size: 10px; opacity: 0.55; }
table.dataTable thead .sorting_asc::after  { color: #21AAE1; opacity: 1; }
table.dataTable thead .sorting_desc::after { color: #21AAE1; opacity: 1; }
table.dataTable.no-footer { border-bottom: none; }
.dt-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 4px 2px; flex-wrap: wrap; gap: 8px;
}
.dataTables_info { font-size: 12px; color: #999; }
.dataTables_paginate { display: flex; gap: 4px; flex-wrap: wrap; }
.dataTables_paginate .paginate_button {
    padding: 5px 11px; border-radius: 7px;
    border: 1px solid #e8eef3; background: #fff; color: #333 !important;
    cursor: pointer; font-size: 12px; font-family: 'Figtree', sans-serif;
    transition: background 0.13s, color 0.13s, border-color 0.13s;
}
.dataTables_paginate .paginate_button:hover:not(.disabled) { background: #f0f9ff; color: #21AAE1 !important; border-color: #b8dff5; }
.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button.current:hover { background: #21AAE1; color: #fff !important; border-color: #21AAE1; font-weight: 600; }
.dataTables_paginate .paginate_button.disabled { opacity: 0.35; cursor: default; pointer-events: none; }
