/* ═══════════════════════════════════════════════════════════
   AI Live Dashboard — admin.css
   ═══════════════════════════════════════════════════════════ */

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

/* ─── Reset & root ─────────────────────────────────────────── */
.aild-wrap,
.aild-frontend-wrap {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  color: #1a1a2e;
  margin-top: 0 !important;
}

#aild-dashboard-root {
  min-height: 100vh;
  background: #f0f2f8;
  padding: 0;
}

/* ─── App shell: sidebar + main ───────────────────────────── */
.aild-app {
  display: flex;
  min-height: 100vh;
  background: #f0f2f8;
}

/* ─── Sidebar ─────────────────────────────────────────────── */
.aild-sidebar {
  width: 200px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #e8eaf0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 0 24px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* ── VOX AI Brand ── */
.aild-brand {
  padding: 0 24px 28px;
  border-bottom: 1px solid #f0f0f5;
  line-height: 1;
  letter-spacing: -0.5px;
}

.aild-brand-vox {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.aild-brand-ai {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #1a1a2e;
}

/* ── Sidebar nav ── */
.aild-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 12px 0;
}

.aild-tab-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.aild-tab-btn:hover {
  background: #f4f4fb;
  color: #4f46e5;
}

.aild-tab-btn.active {
  background: #ede9fe;
  color: #4f46e5;
  font-weight: 600;
}

/* ─── Main area ───────────────────────────────────────────── */
.aild-main {
  flex: 1;
  min-width: 0;
  padding: 24px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ─── Top bar ─────────────────────────────────────────────── */
.aild-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 12px;
  padding: 14px 20px;
}

.aild-page-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: -0.3px;
}

.aild-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Selects ── */
.aild-select {
  height: 36px;
  padding: 0 12px;
  border: 1px solid #dde1ee;
  border-radius: 8px;
  background: #fafbff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #333;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.aild-select:focus {
  outline: none;
  border-color: #4f46e5;
}

/* ── Refresh button ── */
.aild-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  background: #4f46e5;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  white-space: nowrap;
}

.aild-refresh-btn:hover {
  background: #4338ca;
}

.aild-refresh-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.aild-refresh-btn svg {
  flex-shrink: 0;
}

.aild-refresh-btn--spinning svg {
  animation: aild-spin 0.8s linear infinite;
}

@keyframes aild-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ─── Tab panels ──────────────────────────────────────────── */
.aild-tab-panel {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.aild-tab-panel.active {
  display: flex;
}

/* ─── KPI strip ───────────────────────────────────────────── */
.aild-kpi-strip {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aild-kpi-funnel {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.aild-kpi-other {
  display: flex;
  gap: 12px;
  width: 100%;
}

@media (max-width: 960px) {
  .aild-kpi-funnel {
    flex-wrap: wrap;
  }
}

.aild-kpi-conv {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.aild-kpi-conv-val {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #4f46e5;
  background: #ede9fe;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #c7d2fe;
}

.aild-kpi-conv-lbl {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: #888;
  margin-top: 4px;
}

.aild-kpi-card {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 130px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aild-kpi-card--warn {
  border-color: #fbbf24;
  background: #fffbeb;
}

.aild-kpi-card--accent {
  border-color: #c7d2fe;
  background: #f5f3ff;
}

.aild-kpi-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
}

.aild-kpi-value {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.aild-kpi-card--accent .aild-kpi-value {
  color: #4f46e5;
}

.aild-kpi-sub {
  font-size: 11px;
  color: #aaa;
  margin-top: 2px;
}

/* ─── VOX section ─────────────────────────────────────────── */
.aild-vox-section {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 12px;
  padding: 18px 20px;
}

.aild-vox-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #7c3aed;
  margin-bottom: 14px;
}

.aild-vox-kpis {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.aild-vox-kpis .aild-kpi-card {
  flex: 0 1 180px;
}

/* ─── Two-column grid (city tables) ───────────────────────── */
.aild-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.aild-single-wrap {
  max-width: 100%;
}

/* ─── Table card ──────────────────────────────────────────── */
.aild-table-card {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 12px;
  overflow: hidden;
}

.aild-tc-head {
  padding: 14px 18px 12px;
  border-bottom: 1px solid #f0f2f8;
}

.aild-tc-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.aild-tc-footnote {
  margin: 0;
  padding: 8px 18px;
  font-size: 11px;
  color: #aaa;
  border-top: 1px solid #f0f2f8;
}

.aild-tc-empty {
  padding: 20px 18px;
  color: #bbb;
  font-size: 13px;
  margin: 0;
}

/* ─── Data table ──────────────────────────────────────────── */
.aild-tbl-wrap {
  overflow-x: auto;
}

.aild-data-tbl {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.aild-data-tbl thead th {
  position: relative;
  padding: 10px 14px;
  background: #f8f9fe;
  border-bottom: 1px solid #e8eaf0;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background 0.12s;
  overflow: visible;
}
.aild-data-tbl thead th.aild-col-name {
  text-align: left;
}

.aild-data-tbl thead th:hover {
  background: #eef0fb;
  color: #4f46e5;
}

.aild-sort-icon {
  display: inline-block;
  font-size: 11px;
  color: #4f46e5;
  margin-left: 2px;
}

/* resize handle */
.aild-resize-handle {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  cursor: col-resize;
  background: transparent;
  z-index: 2;
}

.aild-resize-handle:hover {
  background: #c7d2fe;
}

body.aild-resizing {
  cursor: col-resize !important;
  user-select: none !important;
}

.aild-col-rank  { width: 48px; text-align: center; }
.aild-col-name  { width: auto; }
.aild-col-count { width: 80px; text-align: center; }

.aild-data-tbl tbody td {
  padding: 9px 14px;
  border-bottom: 1px solid #f3f4f8;
  font-size: 13px;
  color: #333;
  vertical-align: middle;
  word-break: break-word;
}

.aild-data-tbl tfoot th {
  padding: 9px 14px;
  position: sticky;
  bottom: 0;
  background: #f9fafb;
  border-top: 2px solid #dde1ee;
  color: #374151;
  font-weight: 600;
  z-index: 2;
  text-align: center;
}
.aild-data-tbl tfoot th:first-child {
  text-align: left;
}

.aild-data-tbl tbody td.aild-col-rank {
  text-align: center;
  color: #888;
  font-size: 12px;
}

.aild-data-tbl tbody td.aild-col-count {
  text-align: center;
  font-weight: 600;
  color: #4f46e5;
}

.aild-data-tbl tbody tr:last-child td {
  border-bottom: none;
}

.aild-data-tbl tbody tr:hover td {
  background: #fafbff;
}

.aild-col-metric {
  text-align: center;
  width: 90px;
}

.aild-col-conv {
  text-align: center;
  width: 100px;
}

.aild-tbl-conv {
  padding: 4px 8px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
}

/* ─── Loading / error states ──────────────────────────────── */
.aild-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 240px;
  font-size: 14px;
  color: #888;
}

.aild-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #e0e0e0;
  border-top-color: #4f46e5;
  border-radius: 50%;
  animation: aild-spin 0.75s linear infinite;
}

.aild-error {
  margin: 20px;
  padding: 18px 20px;
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #b91c1c;
  font-size: 13px;
  line-height: 1.6;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .aild-app { flex-direction: column; }

  .aild-sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 14px 16px;
    gap: 16px;
    border-right: none;
    border-bottom: 1px solid #e8eaf0;
  }

  .aild-brand { border-bottom: none; padding-bottom: 0; }

  .aild-nav {
    flex-direction: row;
    padding: 0;
    gap: 4px;
    flex-wrap: wrap;
  }

  .aild-tab-btn { padding: 7px 12px; font-size: 12px; }

  .aild-two-col { grid-template-columns: 1fr; }

  .aild-topbar { flex-direction: column; align-items: flex-start; }
  .aild-topbar-right { width: 100%; justify-content: flex-end; }
}

/* ─── Column Toggle Dropdown ─────────────────────────────── */
.aild-col-toggle-wrapper {
  position: relative;
  display: inline-block;
}
.aild-col-toggle-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #dde1ee;
  border-radius: 8px;
  margin-top: 6px;
  padding: 8px;
  min-width: 150px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 100;
  white-space: nowrap;
}
.aild-col-toggle-menu label {
  display: block;
  padding: 6px 8px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  border-radius: 4px;
}
.aild-col-toggle-menu label:hover {
  background: #f3f4f8;
}
.aild-col-toggle-menu input {
  margin-right: 8px;
}

/* ─── Matrix Table Styles ───────────────────────────────── */
.aild-matrix-tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 24px;
}
.aild-matrix-tbl th,
.aild-matrix-tbl td {
  padding: 10px 14px;
  border-bottom: 1px solid #dde1ee;
  text-align: center;
}
.aild-matrix-tbl th:first-child,
.aild-matrix-tbl td:first-child {
  text-align: left;
  border-right: 1px solid #dde1ee;
  font-weight: 600;
  color: #374151;
}
.aild-matrix-tbl thead th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #dde1ee;
}
.aild-matrix-tbl td:last-child,
.aild-matrix-tbl th:last-child {
  font-weight: 700;
  background: #fafbff;
}

/* ─── Dark Mode ───────────────────────────────────────────── */
body.aild-dark-mode #aild-dashboard-root {
  background: #111827;
  color: #f3f4f6;
}

body.aild-dark-mode .aild-app {
  background: #111827;
}

body.aild-dark-mode .aild-sidebar {
  background: #1f2937;
  border-right-color: #374151;
}

body.aild-dark-mode .aild-brand-ai,
body.aild-dark-mode .aild-page-title,
body.aild-dark-mode .aild-kpi-value,
body.aild-dark-mode .aild-tc-title {
  color: #f9fafb !important;
}

body.aild-dark-mode .aild-topbar,
body.aild-dark-mode .aild-kpi-card,
body.aild-dark-mode .aild-vox-section,
body.aild-dark-mode .aild-table-card {
  background: #1f2937;
  border-color: #374151;
}

body.aild-dark-mode .aild-kpi-card--warn {
  background: #422006;
  border-color: #713f12;
}
body.aild-dark-mode .aild-kpi-card--warn .aild-kpi-value {
  color: #fef08a !important;
}

body.aild-dark-mode .aild-kpi-card--accent {
  background: #374151;
  border-color: #4b5563;
}
body.aild-dark-mode .aild-kpi-card--accent .aild-kpi-value {
  color: #818cf8 !important;
}

body.aild-dark-mode .aild-select {
  background-color: #374151;
  color: #f9fafb;
  border-color: #4b5563;
}

body.aild-dark-mode #aild-theme-toggle {
  background: #374151 !important;
  color: #f9fafb !important;
  border-color: #4b5563 !important;
}

body.aild-dark-mode .aild-col-toggle-menu {
  background: #1f2937;
  border-color: #374151;
}
body.aild-dark-mode .aild-col-toggle-menu label {
  color: #d1d5db;
}
body.aild-dark-mode .aild-col-toggle-menu label:hover {
  background: #374151;
}

body.aild-dark-mode .aild-data-tbl thead th {
  background: #111827;
  border-bottom-color: #374151;
  color: #9ca3af;
}

body.aild-dark-mode .aild-data-tbl tfoot th {
  background: #1f2937;
  border-top-color: #374151;
  color: #f3f4f6;
}

body.aild-dark-mode .aild-matrix-tbl th:first-child,
body.aild-dark-mode .aild-matrix-tbl td:first-child,
body.aild-dark-mode .aild-matrix-tbl thead th {
  border-color: #374151;
  color: #f3f4f6;
  background: #111827;
}
body.aild-dark-mode .aild-matrix-tbl td:last-child,
body.aild-dark-mode .aild-matrix-tbl th:last-child {
  background: #1f2937;
}

body.aild-dark-mode .aild-data-tbl tbody td,
body.aild-dark-mode .aild-matrix-tbl td {
  border-bottom-color: #374151;
  color: #d1d5db;
}

body.aild-dark-mode .aild-data-tbl tbody tr:hover td {
  background: #374151;
}

body.aild-dark-mode .aild-tab-btn {
  color: #9ca3af;
}

body.aild-dark-mode .aild-tab-btn:hover {
  background: #374151;
  color: #f3f4f6;
}

body.aild-dark-mode .aild-tab-btn.active {
  background: #374151;
  color: #818cf8;
}

body.aild-dark-mode .aild-kpi-conv-val {
  background: #374151;
  border-color: #4b5563;
  color: #818cf8;
}

body.aild-dark-mode .aild-kpi-label,
body.aild-dark-mode .aild-kpi-sub,
body.aild-dark-mode .aild-tc-footnote {
  color: #9ca3af;
}

body.aild-dark-mode .aild-tc-head {
  border-bottom-color: #374151;
}

body.aild-dark-mode .aild-logo-light {
    display: none !important;
}

body.aild-dark-mode .aild-logo-dark {
    display: block !important;
}


/* ═══════════════════════════════════════════════════════════
   v1.1 — UI polish + Column mapping page
   (additive; does not change existing class behavior)
   ═══════════════════════════════════════════════════════════ */

/* Softer shell + slightly warmer background */
#aild-dashboard-root {
  background: #f6f7fb;
}
.aild-app { background: #f6f7fb; }

/* Cards: subtle shadow, rounded, lift on hover where appropriate */
.aild-topbar,
.aild-kpi-card,
.aild-vox-section,
.aild-table-card {
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.aild-kpi-card:hover,
.aild-table-card:hover {
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.07);
  border-color: #dde1ee;
}

/* Tabular numbers keep KPI values aligned */
.aild-kpi-value,
.aild-kpi-conv-val,
.aild-data-tbl td,
.aild-matrix-tbl td {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* KPI card: a little more breathing room and sharper value */
.aild-kpi-card {
  padding: 18px 22px;
  gap: 6px;
}
.aild-kpi-value {
  font-size: 30px;
}
.aild-kpi-label {
  font-size: 11px;
  color: #7a7f93;
}

/* Conversion pill a touch tighter */
.aild-kpi-conv-val {
  font-size: 13px;
  padding: 5px 11px;
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.08);
}

/* Topbar nicer */
.aild-topbar {
  padding: 14px 22px;
  border-radius: 14px;
}
.aild-page-title { font-size: 19px; letter-spacing: -0.2px; }

/* Selects + ghost buttons on topbar */
.aild-select,
#aild-btn-cols,
#aild-theme-toggle {
  box-shadow: 0 1px 1px rgba(17, 24, 39, 0.03);
}
.aild-select:hover,
#aild-btn-cols:hover,
#aild-theme-toggle:hover {
  border-color: #c7d2fe;
}

/* Refresh button: crisper accent + depth */
.aild-refresh-btn {
  box-shadow: 0 1px 1px rgba(79, 70, 229, 0.25), 0 4px 12px rgba(79, 70, 229, 0.12);
}
.aild-refresh-btn:hover {
  box-shadow: 0 1px 1px rgba(79, 70, 229, 0.3), 0 6px 16px rgba(79, 70, 229, 0.18);
}

/* Table card header a little more refined */
.aild-tc-head {
  padding: 15px 20px 13px;
}
.aild-tc-title {
  letter-spacing: 0.6px;
}

/* Table rows: softer hover + row-zebra hint */
.aild-data-tbl tbody tr { transition: background 0.12s ease; }
.aild-data-tbl tbody tr:hover td { background: #f7f8fc; }
.aild-data-tbl thead th {
  background: #fbfcff;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* Nav tab active indicator: use a left bar for more polish */
.aild-sidebar .aild-tab-btn {
  position: relative;
  padding-left: 18px;
}
.aild-sidebar .aild-tab-btn.active::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: #4f46e5;
}

/* Sidebar nav on mobile: reset the indicator so it doesn't look odd horizontally */
@media (max-width: 960px) {
  .aild-sidebar .aild-tab-btn.active::before { display: none; }
  .aild-sidebar .aild-tab-btn { padding-left: 12px; }
}

/* ── Column mapping page ────────────────────────────────── */
.aild-map-section {
  margin-bottom: 22px;
  border: 1px solid #eceff7;
  border-radius: 12px;
  background: #fdfdff;
  overflow: hidden;
}
.aild-map-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f6f7fb;
  border-bottom: 1px solid #eceff7;
}
.aild-map-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.aild-map-section-sub {
  font-size: 11px;
  color: #7a7f93;
  font-weight: 500;
}
.aild-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  padding: 14px 16px;
}
@media (max-width: 760px) {
  .aild-map-grid { grid-template-columns: 1fr; }
}
.aild-map-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.aild-map-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.aild-map-label-title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
}
.aild-map-label-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  color: #9aa0b4;
}
.aild-map-select {
  width: 100%;
  height: 36px;
  padding: 0 32px 0 12px;
  border: 1px solid #dde1ee;
  border-radius: 8px;
  background-color: #fff;
  font-size: 13px;
  color: #333;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  transition: border-color 0.15s;
}
.aild-map-select:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* Dark mode support for mapping */
body.aild-dark-mode .aild-map-section { background: #1f2937; border-color: #374151; }
body.aild-dark-mode .aild-map-section-head { background: #111827; border-bottom-color: #374151; }
body.aild-dark-mode .aild-map-section-title { color: #f3f4f6; }
body.aild-dark-mode .aild-map-section-sub { color: #9ca3af; }
body.aild-dark-mode .aild-map-label-title { color: #e5e7eb; }
body.aild-dark-mode .aild-map-label-code { color: #6b7280; }
body.aild-dark-mode .aild-map-select {
  background-color: #111827;
  color: #e5e7eb;
  border-color: #374151;
}
