/* Direction: Fitness Garage desk — a bright white front-desk console with a
   signal-red brand, light gray cards, charcoal text and colour-coded statuses. */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f5f7;
  --border: #e2e5e9;
  --border-strong: #bbb4b4;
  --ink: #23272b;
  --muted: #5f666d;
  --accent: #c62828;
  --accent-hover: #a82222;
  --accent-ink: #ffffff;
  --accent-text: #b3221f;
  --accent-strong: #991b1b;
  --accent-soft: #fdeceb;
  --accent-border: #e59e9e;
  --success: #1b7f3b;
  --success-ink: #ffffff;
  --success-soft: #e4f0e7;
  --success-strong: #197536;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #f6eae1;
  --warning-strong: #a64c08;
  --danger: #c62828;
  --danger-ink: #ffffff;
  --danger-soft: #f8e5e5;
  --danger-strong: #c62828;
  --chart-1: #c62828;
  --chart-2: #aa8204;
  --chart-3: #136a27;
  --chart-4: #1993a1;
  --chart-5: #2544be;
  --chart-6: #bf52c1;

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-input: 8px;
  --display-weight: 700;
  --display-tracking: -0.02em;
  --card-pad: 1.25rem;
  --x-status-active: #15803d;
  --x-status-active-bg: #e7f6ec;
  --x-status-expiring: #9a5b00;
  --x-status-expiring-bg: #fdf1dd;
  --x-status-expired: #b42318;
  --x-status-expired-bg: #fdecea;
  --x-status-frozen: #175cd3;
  --x-status-frozen-bg: #e8f1fe;
  --x-status-cancelled: #52585e;
  --x-status-cancelled-bg: #eff1f3;
  --x-status-upcoming: #6941c6;
  --x-status-upcoming-bg: #f2edfd;
  --x-brand-deep: #8e1b1b;
  --gradient-brand: linear-gradient(135deg, #c62828 0%, #8e1b1b 100%);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #110303;
  --surface: #291c1c;
  --surface-2: #1d1010;
  --border: #322626;
  --border-strong: #584f4f;
  --ink: #ffffff;
  --muted: #a09a9a;
  --accent: #c62828;
  --accent-hover: #cf4848;
  --accent-ink: #ffffff;
  --accent-text: #d76565;
  --accent-strong: #d76565;
  --accent-soft: #390b0b;
  --accent-border: #621414;
  --success: #1b7f3b;
  --success-ink: #ffffff;
  --success-soft: #131e0f;
  --success-strong: #4d9b66;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #351504;
  --warning-strong: #c57a40;
  --danger: #c62828;
  --danger-ink: #ffffff;
  --danger-soft: #390b0b;
  --danger-strong: #d76565;
  --chart-1: #cd302e;
  --chart-2: #b08814;
  --chart-3: #059b36;
  --chart-4: #2499a7;
  --chart-5: #4b75f2;
  --chart-6: #c658c8;
}

/* Status pills — one class per membership state, distinct colour + label */
.st {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.st::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: currentColor;
}
.st-active { color: var(--x-status-active); background: var(--x-status-active-bg); }
.st-expiring { color: var(--x-status-expiring); background: var(--x-status-expiring-bg); }
.st-expired { color: var(--x-status-expired); background: var(--x-status-expired-bg); }
.st-frozen { color: var(--x-status-frozen); background: var(--x-status-frozen-bg); }
.st-cancelled { color: var(--x-status-cancelled); background: var(--x-status-cancelled-bg); }
.st-upcoming { color: var(--x-status-upcoming); background: var(--x-status-upcoming-bg); }
.st-none { color: var(--muted); background: var(--surface-2); }

/* Brand band used on the sign-in screen and the receipt header */
.brand-band {
  background: var(--gradient-brand);
}

/* Simple horizontal bars for the owner's collection report */
.bar-track {
  height: 10px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.bar-track > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media print {
  .no-print { display: none !important; }
  .receipt-sheet { border: 0 !important; box-shadow: none !important; }
  body { background: #ffffff; }
}
