/* =========================================================
   KidMotion Malta — Admin Dashboard
   Matches the "Sunlit Skatepark" design system used on the
   public site (warm cream + sky blue + sunset orange).

   Loaded only on admin.html. Every rule is scoped under
   .admin-shell / .admin-main / .admin-side / body[data-page="admin"]
   so this file CANNOT leak into marketing pages.

   Design tokens come from styles.css (--bg, --text, --brand, etc.)
   ========================================================= */

/* ─── Shell layout & global reset ──────────────────────────── */
body[data-page="admin"] {
  background: var(--bg);
  color: var(--text);
  max-width: 100vw;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Allow every admin grid/flex child to shrink below its content's
   natural size (prevents wide inputs/emails from pushing the page
   wider than the viewport on mobile). */
.admin-shell,
.admin-shell *,
.admin-side,
.admin-side *,
.admin-main,
.admin-main * {
  min-width: 0;
  box-sizing: border-box;
}

/* Allow long unbreakable strings (emails, URLs, locations) to wrap. */
.admin-main h1,
.admin-main h2,
.admin-main h3,
.admin-main p,
.admin-main span,
.admin-main div,
.admin-main td {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  min-height: calc(100vh - 60px);
  max-width: 1400px;
  margin: 0 auto;
  background: var(--bg);
}

/* ─── Sidebar (dark slate — matches the hero photo background) ── */
.admin-side {
  background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  color: #CBD5E1;
  padding: 22px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-side .brand-mini {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: #FFFFFF;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 0 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}
.admin-side .brand-mini span { color: var(--brand); }

.admin-side nav { display: flex; flex-direction: column; gap: 2px; }
.admin-side a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  color: #CBD5E1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}
.admin-side a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
}
.admin-side a.is-active {
  background: var(--brand);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.32);
}
.admin-side .sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 14px 8px;
}
.admin-side .who {
  padding: 0 8px;
  font-size: 12px;
  color: #94A3B8;
}
.admin-side .who strong {
  color: #E2E8F0;
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  font-weight: 700;
}
.admin-side .who a {
  display: inline;
  padding: 0;
  background: transparent;
  color: var(--brand);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}
.admin-side .who a:hover { color: #38BDF8; background: transparent; }

/* Sidebar logout button — sky-blue outline, dark sidebar context */
.admin-side .btn {
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
}
.admin-side .btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* ─── Main content area ───────────────────────────────────── */
.admin-main {
  padding: 28px 32px;
  min-width: 0;
  background: var(--bg);
}

/* Headings inherit the brand font from the frontend */
.admin-main h1,
.admin-main h2,
.admin-main h3,
.admin-main h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  letter-spacing: -0.01em;
}
.admin-main h1 { font-size: 26px; margin: 0; font-weight: 800; }
.admin-main h2 { font-size: 17px; font-weight: 700; }
.admin-main h3 { font-size: 15px; font-weight: 700; }

.admin-main p { color: var(--text-soft); }
.admin-main .muted,
.admin-main .crumbs {
  color: var(--muted);
}
.admin-main .crumbs {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-dark);
  margin-bottom: 6px;
}
.admin-main .crumbs a { color: var(--brand-dark); text-decoration: none; }
.admin-main .crumbs a:hover { text-decoration: underline; }

.admin-main label {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 13px;
}

/* ─── Form inputs (match frontend inputs) ─────────────────── */
.admin-main input[type="text"],
.admin-main input[type="email"],
.admin-main input[type="password"],
.admin-main input[type="number"],
.admin-main input[type="search"],
.admin-main input[type="date"],
.admin-main input[type="datetime-local"],
.admin-main input[type="tel"],
.admin-main select,
.admin-main textarea {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.admin-main input:focus,
.admin-main select:focus,
.admin-main textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}
.admin-main input::placeholder,
.admin-main textarea::placeholder { color: var(--muted-soft); }

.admin-main select option,
body[data-page="admin"] .km-modal select option {
  background: var(--surface);
  color: var(--text);
  padding: 8px;
}

/* Calendar picker icon visible on light theme */
.admin-main input[type="date"]::-webkit-calendar-picker-indicator,
.admin-main input[type="datetime-local"]::-webkit-calendar-picker-indicator,
body[data-page="admin"] .km-modal input[type="date"]::-webkit-calendar-picker-indicator,
body[data-page="admin"] .km-modal input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  filter: invert(35%) sepia(0%) saturate(0%);
  padding: 2px;
}
.admin-main input[type="date"]::-webkit-calendar-picker-indicator:hover,
.admin-main input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover,
body[data-page="admin"] .km-modal input[type="date"]::-webkit-calendar-picker-indicator:hover,
body[data-page="admin"] .km-modal input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* ─── Buttons (match frontend btn classes) ────────────────── */
.admin-main .btn {
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.admin-main .btn:hover {
  background: var(--bg-alt);
  border-color: var(--muted-soft);
  transform: translateY(-1px);
}
.admin-main .btn:active { transform: translateY(0); }
.admin-main .btn.small { padding: 7px 13px; font-size: 13px; border-radius: 10px; }
.admin-main .btn.primary {
  background: var(--brand);
  color: #FFFFFF;
  border-color: var(--brand);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.28);
}
.admin-main .btn.primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #FFFFFF;
}
.admin-main .btn.accent {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.32);
}
.admin-main .btn.accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #FFFFFF;
}
.admin-main .btn.danger {
  background: var(--bad);
  color: #FFFFFF;
  border-color: var(--bad);
}
.admin-main .btn.danger:hover { background: #B91C1C; border-color: #B91C1C; color: #FFFFFF; }
.admin-main .btn.ghost { background: transparent; border-color: transparent; color: var(--text-soft); }
.admin-main .btn.ghost:hover { background: var(--bg-alt); color: var(--text); }

/* ─── Notices (match frontend palette) ────────────────────── */
.admin-main .notice {
  background: var(--brand-soft);
  color: var(--text-soft);
  border: 1px solid rgba(14, 165, 233, 0.20);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
}
.admin-main .notice strong { color: var(--text); }
.admin-main .notice.ok {
  background: var(--ok-soft);
  color: #14532D;
  border-color: rgba(22, 163, 74, 0.25);
}
.admin-main .notice.warn {
  background: var(--warn-soft);
  color: #92400E;
  border-color: rgba(245, 158, 11, 0.30);
}
.admin-main .notice.bad {
  background: var(--bad-soft);
  color: #991B1B;
  border-color: rgba(220, 38, 38, 0.25);
}
.admin-main .notice:empty { display: none; }

/* ─── Cards (match frontend card style) ───────────────────── */
.admin-main .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.admin-main .card-header {
  padding: 18px 20px 4px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.admin-main .card-header h2 { margin: 0; }
.admin-main .card-body { padding: 16px 20px 20px; }
.admin-main hr {
  border: none;
  border-top: 1px solid var(--line-soft);
  margin: 16px 0;
}
.admin-main .kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin: 0 0 6px;
}

/* ─── Topbar ──────────────────────────────────────────────── */
.admin-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.admin-topbar .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ─── Views (hash routing) ─────────────────────────────────── */
.view { display: none; }
.view.is-active { display: block; }

/* ─── KPI cards ───────────────────────────────────────────── */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.kpi:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
  border-color: var(--concrete-soft);
}
.kpi .label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
}
.kpi .value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  margin-top: 8px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.kpi .sub      { font-size: 12px; color: var(--muted); margin-top: 8px; }
.kpi .sub.up   { color: var(--ok); font-weight: 700; }
.kpi .sub.down { color: var(--bad); font-weight: 700; }

/* ─── Pills (status badges) ───────────────────────────────── */
.pill {
  display: inline-block;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--bg-alt);
  color: var(--text-soft);
}
.pill.green { background: var(--ok-soft);    color: #14532D; }
.pill.amber { background: var(--warn-soft);  color: #92400E; }
.pill.red   { background: var(--bad-soft);   color: #991B1B; }
.pill.blue  { background: var(--brand-soft); color: var(--brand-dark); }
.pill.gray  { background: var(--bg-alt);     color: var(--text-soft); }

/* ─── Tables (main.js renders <table class="table">) ──────── */
.admin-main .table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
.admin-main .table th,
.admin-main .table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}
.admin-main .table th {
  background: var(--bg-alt);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 800;
}
.admin-main .table td { color: var(--text-soft); }
.admin-main .table tr:hover td { background: var(--surface-alt); }
.admin-main .table tr:last-child td { border-bottom: none; }

/* Marketing CSS uses .strong (sets via var(--text) light for dark theme).
   Force readable dark text in admin context. */
.admin-main .strong { color: var(--text); font-weight: 700; }
.admin-main .table .strong { color: var(--text); font-weight: 700; }
.admin-main .table .muted  { color: var(--muted); font-weight: 500; }

/* ─── Data tables (for admin-rendered tables) ─────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}
.data-table th {
  background: var(--bg-alt);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 800;
}
.data-table tr:hover td { background: var(--surface-alt); }
.data-table tr:last-child td { border-bottom: none; }
.data-table a { color: var(--brand-dark); text-decoration: none; font-weight: 700; }
.data-table a:hover { text-decoration: underline; color: var(--brand); }

/* ─── Section titles in main ──────────────────────────────── */
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 24px 0 12px;
  gap: 10px;
  flex-wrap: wrap;
}
.section-title h2 { margin: 0; font-size: 17px; }
.section-title .muted { font-size: 12px; }
.section-title a { color: var(--brand-dark); text-decoration: none; font-weight: 700; }
.section-title a:hover { text-decoration: underline; color: var(--brand); }

/* ─── Attendance toggle ───────────────────────────────────── */
.att-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.att-toggle button {
  border: none;
  background: var(--surface);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}
.att-toggle button:hover { background: var(--bg-alt); color: var(--text); }
.att-toggle button.is-on.booked   { background: var(--brand-soft); color: var(--brand-dark); }
.att-toggle button.is-on.attended { background: var(--ok-soft);    color: #14532D; }
.att-toggle button.is-on.no_show  { background: var(--bad-soft);   color: #991B1B; }
.att-toggle button + button { border-left: 1px solid var(--line); }

/* ─── Skeleton loader ─────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-alt) 0%, var(--surface-alt) 50%, var(--bg-alt) 100%);
  background-size: 200% 100%;
  animation: skel 1.2s ease-in-out infinite;
  border-radius: 6px;
  color: transparent;
}
@keyframes skel {
  0%   { background-position:  200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Edit-session modal (uses .km-modal from styles.css) ─── */
body[data-page="admin"] .km-modal__panel {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
body[data-page="admin"] .km-modal__head {
  border-bottom: 1px solid var(--line);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body[data-page="admin"] .km-modal__head h3 {
  color: var(--text);
  margin: 0;
  font-size: 17px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
}
body[data-page="admin"] .km-modal__body {
  padding: 20px 22px;
}
body[data-page="admin"] .km-modal label {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 13px;
}
body[data-page="admin"] .km-modal .muted { color: var(--muted); }
body[data-page="admin"] .km-modal input,
body[data-page="admin"] .km-modal select,
body[data-page="admin"] .km-modal textarea {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
}
body[data-page="admin"] .km-modal input:focus,
body[data-page="admin"] .km-modal select:focus,
body[data-page="admin"] .km-modal textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}
body[data-page="admin"] .km-modal .btn {
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
body[data-page="admin"] .km-modal .btn:hover {
  background: var(--bg-alt);
  border-color: var(--muted-soft);
}
body[data-page="admin"] .km-modal .btn.primary {
  background: var(--brand);
  color: #FFFFFF;
  border-color: var(--brand);
}
body[data-page="admin"] .km-modal .btn.primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}
body[data-page="admin"] .km-modal .notice {
  background: var(--brand-soft);
  color: var(--text-soft);
  border: 1px solid rgba(14, 165, 233, 0.20);
  padding: 12px 16px;
  border-radius: var(--radius);
}
body[data-page="admin"] .km-modal .notice.warn {
  background: var(--warn-soft);
  color: #92400E;
  border-color: rgba(245, 158, 11, 0.30);
}

/* ─── Mobile responsive ───────────────────────────────────── */

/* Universal horizontal scroll wrapper for tables. */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.table-scroll > table { min-width: 520px; }

/* Main.js renders tables into these containers — make them scroll. */
.admin-main #adminSlotsList,
.admin-main #adminBookingsList {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.admin-main #adminSlotsList > .table,
.admin-main #adminBookingsList > .table { min-width: 520px; }

@media (max-width: 880px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side {
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 8px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .admin-side .brand-mini,
  .admin-side .sep,
  .admin-side .who { display: none; }

  /* 4-column tab bar (icon stacked above label, bottom-nav style). */
  .admin-side nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    overflow: visible;
  }
  .admin-side a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 2px;
    font-size: 11px;
    line-height: 1.1;
    gap: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 8px;
  }
  .admin-side .btn { display: none; }

  .admin-main { padding: 16px; }

  /* Topbar shrinks on phone */
  .admin-topbar { padding-bottom: 14px; margin-bottom: 16px; }
  .admin-topbar h1 { font-size: 20px; }
  .admin-topbar .crumbs { font-size: 11px; }

  /* KPI cards: 2 columns on tablets */
  .kpi-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .kpi { padding: 14px; }
  .kpi .value { font-size: 22px; }
  .kpi .label { font-size: 10px; }
  .kpi .sub { font-size: 11px; }

  /* Cards: less padding */
  .admin-main .card-header { padding: 14px 16px 4px; }
  .admin-main .card-body { padding: 14px 16px 16px; }

  /* Section title smaller */
  .section-title h2 { font-size: 15px; }
  .section-title { margin: 18px 0 10px; }

  /* Tables: smaller text + tighter padding */
  .admin-main .data-table,
  .admin-main .table { font-size: 13px; }
  .admin-main .data-table th,
  .admin-main .data-table td,
  .admin-main .table th,
  .admin-main .table td { padding: 9px 11px; }

  /* Attendance toggle smaller on touch */
  .att-toggle button { padding: 7px 10px; font-size: 11px; }

  /* Forms: stack form controls and let inputs go full-width. */
  .admin-main input,
  .admin-main select,
  .admin-main textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    font-size: 14px;
  }

  /* Topbar action area collapses to full width on phones. */
  .admin-topbar > div {
    width: 100%;
    min-width: 0;
  }

  /* Edit-session modal: take almost the full viewport on phones */
  body[data-page="admin"] .km-modal__panel {
    width: 95vw !important;
    max-width: 95vw !important;
    max-height: 92vh !important;
    overflow-y: auto;
  }
  body[data-page="admin"] .km-modal__head { padding: 14px 16px; }
  body[data-page="admin"] .km-modal__body { padding: 14px 16px 16px; }

  .admin-main select option { font-size: 14px; }
}

/* Very small phones: KPI cards drop to 1 column */
@media (max-width: 480px) {
  .kpi-row { grid-template-columns: 1fr; }
  .admin-topbar h1 { font-size: 18px; }
  .admin-main { padding: 12px; }
}

/* ─── Hide non-essential table columns on phones ────────────
   Show the most actionable columns in full without horizontal swipe.
   Selectors are scoped by container ID so they only affect their target. */
@media (max-width: 600px) {
  /* Allow tables to shrink below 520px on very narrow screens. */
  .table-scroll > table { min-width: 0; }
  .admin-main #adminSlotsList > .table,
  .admin-main #adminBookingsList > .table { min-width: 0; }

  /* Allow long emails / names to wrap inside cells. */
  .admin-main .data-table td,
  .admin-main .table td {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  /* BOOKINGS table (When | Location | Child | Parent | Status):
     hide Location (col 2) and Parent (col 4). */
  .admin-main #adminBookingsList table th:nth-child(2),
  .admin-main #adminBookingsList table td:nth-child(2),
  .admin-main #adminBookingsList table th:nth-child(4),
  .admin-main #adminBookingsList table td:nth-child(4) {
    display: none;
  }

  /* CUSTOMERS list (Parent | Email | Phone | Kids | Total credits):
     hide Email, Phone, Kids — keep Parent and Total credits. */
  .admin-main #custListWrap table th:nth-child(2),
  .admin-main #custListWrap table td:nth-child(2),
  .admin-main #custListWrap table th:nth-child(3),
  .admin-main #custListWrap table td:nth-child(3),
  .admin-main #custListWrap table th:nth-child(4),
  .admin-main #custListWrap table td:nth-child(4) {
    display: none;
  }

  /* DASHBOARD retention risk (Parent | Email | Phone | Last booking | Credits):
     hide Email and Phone. */
  .admin-main #dashRetention table th:nth-child(2),
  .admin-main #dashRetention table td:nth-child(2),
  .admin-main #dashRetention table th:nth-child(3),
  .admin-main #dashRetention table td:nth-child(3) {
    display: none;
  }

  /* SESSIONS list (When | Location | Capacity | Booked | Status | Actions):
     hide Capacity controls and Status text. */
  .admin-main #adminSlotsList table th:nth-child(3),
  .admin-main #adminSlotsList table td:nth-child(3),
  .admin-main #adminSlotsList table th:nth-child(5),
  .admin-main #adminSlotsList table td:nth-child(5) {
    display: none;
  }

  /* CUSTOMER DETAIL bookings (When | Location | Child | Status | Roster):
     hide Location and Roster link. */
  .admin-main #custDetailWrap table th:nth-child(2),
  .admin-main #custDetailWrap table td:nth-child(2),
  .admin-main #custDetailWrap table th:nth-child(5),
  .admin-main #custDetailWrap table td:nth-child(5) {
    display: none;
  }

  /* ROSTER (Child | Parent | Phone | Attendance):
     hide Parent column. */
  .admin-main #rosterWrap table th:nth-child(2),
  .admin-main #rosterWrap table td:nth-child(2) {
    display: none;
  }
}
