/* =========================================================
   PULSE STUDIO MANAGER — Admin shell
   Brand palette: light surfaces + #FFCF01 accent
   ========================================================= */
:root {
  --pulse-yellow: #FFCF01;
  --pulse-yellow-dim: #d9ae00;
  --pulse-yellow-soft: rgba(255, 207, 1, 0.18);
  --pulse-yellow-text: #8a6d00;          /* dark amber for legible text/numbers on light bg */
  --pulse-black: #f3f4f6;                /* app background (was #000) */
  --pulse-gray-1: #ffffff;                /* panels */
  --pulse-gray-2: #fafafa;                /* alt surface / table header */
  --pulse-gray-3: #f1f2f4;                /* inputs / chips */
  --pulse-gray-4: #e5e7eb;                /* hover */
  --pulse-gray-5: #d1d5db;
  --pulse-white: #1a1a1a;                 /* primary text (was #fff) */
  --pulse-muted: #5b6470;                 /* secondary text — darker than before for legibility */
  --pulse-line: rgba(0, 0, 0, 0.08);
  --pulse-line-strong: rgba(0, 0, 0, 0.18);
  --danger: #d93025;
  --success: #1e8e3e;
  --info: #1a73e8;

  --cat-waveset: #FFCF01;
  --cat-hyrox: #ff5e3a;
  --cat-cycling: #4ecdc4;

  --font-display: 'Orbitron', 'Arial Black', sans-serif;
  --font-body: 'Roboto', system-ui, -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-glow: 0 0 0 1px rgba(255, 207, 1, 0.55), 0 8px 30px rgba(255, 207, 1, 0.22);
  --shadow-card: 0 1px 2px rgba(16,24,40,0.06), 0 1px 3px rgba(16,24,40,0.10);
  --topbar-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--pulse-black);
  color: var(--pulse-white);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 207, 1, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(255, 207, 1, 0.05), transparent 60%),
    var(--pulse-black);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}
h2 { font-size: 22px; }
h3 { font-size: 14px; letter-spacing: 0.08em; }
h4 { font-size: 12px; letter-spacing: 0.1em; color: var(--pulse-muted); }
.muted { color: var(--pulse-muted); font-size: 13px; }

/* =========================================================
   Topbar
   ========================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topbar-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pulse-line);
  box-shadow: 0 1px 2px rgba(16,24,40,0.04);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 0 24px;
}
.topbar-left { display: flex; align-items: center; gap: 28px; order: 1; }
.topnav { order: 2; }
.topbar-right { order: 3; margin-left: auto; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 900;
  font-size: 16px; letter-spacing: 0.16em; color: #111;
}
.brand svg { width: 28px; height: 28px; }
.brand em {
  font-style: normal; font-weight: 500; font-size: 11px;
  letter-spacing: 0.2em; color: var(--pulse-muted); margin-left: 8px;
}
.topnav { display: flex; gap: 4px; }
.topnav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(0,0,0,0.62);
  transition: all .15s;
}
.topnav-link:hover { color: var(--pulse-white); background: rgba(0,0,0,0.04); }
.topnav-link.active {
  color: var(--pulse-yellow-text);
  background: var(--pulse-yellow-soft);
}

.topbar-right { display: flex; align-items: center; gap: 16px; }
.site-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--pulse-gray-2);
  border: 1px solid var(--pulse-line);
  border-radius: 999px;
  padding: 6px 12px 6px 12px;
}
.site-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 0 3px rgba(46,204,113,0.18);
}
.site-pill select {
  background: transparent; color: var(--pulse-white);
  border: none; outline: none; font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em;
}
.user-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 12px 4px 4px;
  background: var(--pulse-gray-2);
  border: 1px solid var(--pulse-line);
  border-radius: 999px;
}
.user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--pulse-yellow); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 12px;
}
.avatar { background: var(--pulse-yellow); color: #000; border-radius: 50%;
  display:inline-flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight: 900; }
.avatar-lg { width: 48px; height: 48px; font-size: 16px; }
.user-name { font-weight: 700; font-size: 13px; }
.user-role { font-size: 10px; color: var(--pulse-muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* =========================================================
   Views
   ========================================================= */
.view { display: none; padding: 24px 24px 64px; max-width: 1600px; margin: 0 auto; }
.view.active { display: block; }

.view-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.action-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  transition: all .15s;
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid transparent;
}
.btn-sm { padding: 6px 10px; font-size: 11px; }
.btn-primary { background: #1a1a1a; color: #fff; }
.btn-primary:hover { background: #000; color: var(--pulse-yellow); }
.btn-yellow { background: var(--pulse-yellow); color: #000; }
.btn-yellow:hover { background: var(--pulse-yellow-dim); }
.btn-ghost {
  background: transparent;
  color: var(--pulse-white);
  border-color: var(--pulse-line-strong);
}
.btn-ghost:hover { border-color: var(--pulse-yellow); color: var(--pulse-yellow-text); background: #fff8d6; }

.btn-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: var(--pulse-gray-3);
  border: 1px solid var(--pulse-line);
  font-size: 18px; line-height: 1;
}
.btn-icon:hover { background: var(--pulse-gray-4); border-color: var(--pulse-yellow); color: var(--pulse-yellow-text); }

.btn-mini {
  padding: 7px 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--pulse-gray-3);
  border: 1px solid var(--pulse-line);
  color: rgba(0,0,0,0.82);
  transition: all .15s;
}
.btn-mini:hover { border-color: var(--pulse-yellow); color: var(--pulse-yellow-text); background: #fff8d6; }
.btn-mini-danger:hover { border-color: var(--danger); color: var(--danger); background: #fdecea; }
.btn-mini-yellow {
  background: var(--pulse-yellow);
  border-color: var(--pulse-yellow);
  color: #000;
  font-weight: 700;
}
.btn-mini-yellow:hover {
  background: var(--pulse-yellow-dim);
  border-color: var(--pulse-yellow-dim);
  color: #000;
}

/* =========================================================
   Panels
   ========================================================= */
.panel {
  background: var(--pulse-gray-1);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-lg);
  padding: 18px;
  position: relative;
  overflow: visible;
  box-shadow: var(--shadow-card);
}

/* Step bubbles — onboarding hints anchored to each Booker panel */
.step-bubble {
  position: absolute;
  top: -12px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pulse-yellow);
  color: #000;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(16,24,40,0.18), 0 0 0 2px var(--pulse-gray-1);
  z-index: 2;
  white-space: nowrap;
  max-width: calc(100% - 28px);
}
.step-bubble.step-bubble-wrap {
  white-space: normal;
  border-radius: 14px;
  align-items: flex-start;
  line-height: 1.35;
  padding: 6px 12px 6px 6px;
}
.step-bubble.step-bubble-wrap .step-num { flex-shrink: 0; }
.step-bubble.step-bubble-right {
  left: auto;
  right: 14px;
  max-width: 260px;
}
.step-bubble .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #000;
  color: var(--pulse-yellow);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
}
.step-bubble .step-text {
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: 0.06em;
}
/* Variant for the yellow panel (right column) — invert so it pops */
.step-bubble-dark {
  background: #000;
  color: var(--pulse-yellow);
  box-shadow: 0 4px 12px rgba(16,24,40,0.20), 0 0 0 2px var(--pulse-yellow);
}
.step-bubble-dark .step-num {
  background: var(--pulse-yellow);
  color: #000;
}
@media (max-width: 1200px) {
  .step-bubble .step-text { display: none; }
  .step-bubble { padding: 4px; }
}
.panel-yellow {
  background:
    linear-gradient(180deg, rgba(255,207,1,0.18), rgba(255,207,1,0.06) 60%, transparent),
    var(--pulse-gray-1);
  border-color: rgba(255,207,1,0.55);
  box-shadow: 0 0 0 1px rgba(255,207,1,0.15), var(--shadow-card);
}
.panel-yellow .panel-head { border-bottom-color: rgba(255,207,1,0.45); }
.panel-yellow .panel-head h3 { color: var(--pulse-yellow-text); }
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pulse-line);
}
.panel-head-stack { flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px; font-weight: 700;
}
.tag-live { background: rgba(30,142,62,0.14); color: var(--success); }
.tag-yellow { background: var(--pulse-yellow-soft); color: var(--pulse-yellow-text); }
.tag-cat { background: rgba(255,207,1,0.18); color: var(--pulse-yellow-text); }
.tag-cat[data-cat="hyrox"]   { background: rgba(255,94,58,0.16); color: #c44226; }
.tag-cat[data-cat="cycling"] { background: rgba(78,205,196,0.18); color: #1f8f87; }

/* =========================================================
   Booker
   ========================================================= */
.booker-grid {
  display: grid;
  grid-template-columns: 320px 1fr 360px;
  gap: 16px;
  align-items: start;
}
@media (max-width: 1200px) {
  .booker-grid { grid-template-columns: 1fr; }
}

.customer-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--pulse-gray-3);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 12px;
}
.customer-search input {
  flex: 1; background: transparent; color: var(--pulse-white);
  border: none; outline: none; font-size: 13px;
}
.customer-search svg { color: var(--pulse-muted); }
.customer-results {
  list-style: none; max-height: 200px; overflow: auto;
  margin-bottom: 12px;
}
.customer-results li {
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex; align-items: center; gap: 10px;
}
.customer-results li:hover { background: var(--pulse-gray-3); }
.customer-results .avatar { width: 32px; height: 32px; font-size: 11px; }

.customer-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cust-name { font-weight: 700; font-size: 15px; }
.cust-sub { font-size: 11px; color: var(--pulse-muted); }
.customer-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

.kv-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.kv-l { font-size: 10px; letter-spacing: 0.1em; color: var(--pulse-muted); text-transform: uppercase; margin-bottom: 2px; }
.kv-v { font-size: 13px; font-weight: 500; }
.kv-yellow {
  background: var(--pulse-yellow-soft);
  border: 1px solid rgba(255,207,1,0.45);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}
.kv-yellow .kv-l { color: var(--pulse-yellow-text); }
.kv-yellow .kv-v { color: #1a1a1a; }

.day-nav { display: flex; align-items: center; gap: 6px; }
.day-label { margin-left: 10px; font-weight: 600; font-size: 13px; color: var(--pulse-muted); }
.legend { display: flex; gap: 14px; }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--pulse-muted); }
.legend .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-waveset { background: var(--cat-waveset); }
.dot-hyrox { background: var(--cat-hyrox); }
.dot-cycling { background: var(--cat-cycling); }

/* Week-strip (day chips) */
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.day-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 6px;
  background: var(--pulse-gray-2);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all .15s;
  color: #1a1a1a;
}
.day-chip:hover { border-color: var(--pulse-yellow); color: var(--pulse-yellow-text); background: #fffbe0; }
.day-chip .dc-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--pulse-muted);
}
.day-chip .dc-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  color: #111;
}
.day-chip .dc-count {
  font-size: 10px;
  color: var(--pulse-muted);
  margin-top: 2px;
}
.day-chip.is-today { border-color: rgba(255,207,1,0.7); background: #fffbe0; }
.day-chip.is-today .dc-name { color: var(--pulse-yellow-text); }
.day-chip.active {
  background: var(--pulse-yellow);
  border-color: var(--pulse-yellow);
  color: #000;
  box-shadow: var(--shadow-glow);
}
.day-chip.active .dc-num { color: #000; }
.day-chip.active .dc-name,
.day-chip.active .dc-count { color: rgba(0,0,0,0.7); }

.class-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.class-item {
  position: relative;
  display: grid;
  grid-template-columns: 12px 80px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 6px;
  background: var(--pulse-gray-2);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all .15s;
  overflow: hidden;
}
.class-item .class-stripe {
  display: block;
  width: 4px;
  height: 36px;
  border-radius: 2px;
  background: var(--cat-color, var(--pulse-yellow));
  margin-left: 4px;
}
.class-item:hover { border-color: var(--pulse-yellow); transform: translateY(-1px); box-shadow: var(--shadow-card); }
.class-item.selected {
  border-color: var(--pulse-yellow);
  background: linear-gradient(90deg, rgba(255,207,1,0.22), rgba(255,207,1,0.06) 40%, var(--pulse-gray-2));
  box-shadow: var(--shadow-glow);
}
.class-time {
  font-family: var(--font-display); font-weight: 900;
  font-size: 17px; color: var(--pulse-yellow-text);
}
.class-meta { display: flex; flex-direction: column; gap: 2px; }
.class-name { font-weight: 700; font-size: 14px; }
.class-coach { font-size: 12px; color: var(--pulse-muted); }
.class-cap {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  font-size: 12px; font-weight: 600; color: #1a1a1a;
}
.cap-bar {
  width: 70px; height: 5px; background: var(--pulse-gray-4); border-radius: 3px; overflow: hidden;
}
.cap-fill { height: 100%; background: var(--pulse-yellow-dim); border-radius: 3px; }
.cap-fill.warn { background: #d97706; }
.cap-fill.full { background: var(--danger); }

.class-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.roster { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--pulse-line); }
.roster-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.roster ul { list-style: none; display: flex; flex-direction: column; gap: 4px; max-height: 280px; overflow: auto; }
.roster li {
  display: flex; align-items: center; gap: 10px; padding: 6px 8px;
  border-radius: var(--radius-sm); font-size: 12px;
}
.roster li:hover { background: var(--pulse-gray-3); }
.roster li .avatar { width: 26px; height: 26px; font-size: 10px; }
.roster li .roster-status {
  margin-left: auto; font-size: 10px; padding: 2px 6px;
  border-radius: 4px; text-transform: uppercase; letter-spacing: 0.08em;
}
.roster-status.ok { background: rgba(30,142,62,0.14); color: var(--success); }
.roster-status.wait { background: rgba(255,157,58,0.18); color: #b35a00; }

/* =========================================================
   Scheduler
   ========================================================= */
.sched-wrap {
  background: var(--pulse-gray-1);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-lg);
  padding: 14px;
  overflow-x: auto;
}
.sched-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}
.sched-table th, .sched-table td {
  padding: 8px;
  border: 1px solid var(--pulse-line);
  text-align: center;
  vertical-align: top;
}
.sched-table th {
  background: var(--pulse-gray-2);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--pulse-muted);
  text-transform: uppercase;
}
.sched-table td.time-col {
  background: var(--pulse-gray-2);
  font-family: var(--font-display);
  color: var(--pulse-yellow-text);
  font-size: 14px;
  font-weight: 800;
  width: 80px;
}
.sched-cell {
  display: flex; flex-direction: column; gap: 2px;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: var(--pulse-gray-3);
  border-left: 3px solid var(--pulse-yellow);
  text-align: left;
  cursor: pointer;
  transition: all .15s;
}
.sched-cell:hover { background: var(--pulse-gray-4); }
.sched-cell[data-cat="hyrox"]   { border-left-color: var(--cat-hyrox); }
.sched-cell[data-cat="cycling"] { border-left-color: var(--cat-cycling); }
.sched-cell strong { font-size: 12px; }
.sched-cell span { font-size: 10px; color: var(--pulse-muted); }

/* =========================================================
   Printable
   ========================================================= */
.print-card {
  background: white;
  color: black;
  padding: 30px;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
}
.print-card h2 { color: black; }
.print-card table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.print-card th, .print-card td { border: 1px solid #ccc; padding: 6px; font-size: 12px; }
.print-card th { background: #FFCF01; }

/* =========================================================
   Admin
   ========================================================= */
.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  align-items: start;
  min-height: calc(100vh - var(--topbar-h) - 100px);
}
.sidebar {
  position: sticky;
  top: calc(var(--topbar-h) + 16px);
  background: var(--pulse-gray-1);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  max-height: calc(100vh - var(--topbar-h) - 32px);
  overflow-y: auto;
}
.sb-section + .sb-section { margin-top: 16px; }
.sb-title {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pulse-yellow-text);
  padding: 0 8px 6px;
  border-bottom: 1px solid var(--pulse-line);
  margin-bottom: 6px;
}
.sb-section ul { list-style: none; }
.sb-link {
  width: 100%;
  text-align: left;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: rgba(0,0,0,0.78);
  transition: all .15s;
}
.sb-link:hover { background: var(--pulse-gray-3); color: var(--pulse-white); }
.sb-link.active {
  background: var(--pulse-yellow-soft);
  color: var(--pulse-yellow-text);
  font-weight: 700;
}

.admin-main {
  background: var(--pulse-gray-1);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-lg);
  padding: 22px;
  min-height: 400px;
}
.adm-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--pulse-line);
}
.adm-head .crumbs { font-size: 11px; color: var(--pulse-muted); letter-spacing: 0.1em; text-transform: uppercase; }

.toolbar {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 14px;
}
.toolbar input, .toolbar select {
  background: #fff;
  border: 1px solid var(--pulse-line-strong);
  border-radius: var(--radius-sm);
  color: var(--pulse-white);
  padding: 8px 12px; font-size: 13px; outline: none;
  min-width: 220px;
}
.toolbar input:focus, .toolbar select:focus { border-color: var(--pulse-yellow); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th, .data-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--pulse-line);
}
.data-table th {
  font-family: var(--font-display);
  font-size: 10px; letter-spacing: 0.12em; color: var(--pulse-muted); text-transform: uppercase;
  background: var(--pulse-gray-2);
}
.data-table tbody tr:hover { background: var(--pulse-gray-2); }

.pill {
  display: inline-block;
  padding: 3px 8px; border-radius: 999px;
  font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700;
}
.pill-active { background: rgba(30,142,62,0.16); color: var(--success); }
.pill-inactive { background: rgba(0,0,0,0.06); color: var(--pulse-muted); }
.pill-warn { background: rgba(255,157,58,0.22); color: #b35a00; }
.pill-danger { background: rgba(217,48,37,0.16); color: var(--danger); }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.kpi {
  background: var(--pulse-gray-2);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
}
.kpi-l { font-size: 10px; letter-spacing: 0.1em; color: var(--pulse-muted); text-transform: uppercase; }
.kpi-v { font-family: var(--font-display); font-size: 26px; font-weight: 900; color: #111; margin-top: 4px; }
.kpi-d { font-size: 11px; color: var(--success); margin-top: 2px; font-weight: 600; }
.kpi-d.neg { color: var(--danger); }

.chart-card {
  background: var(--pulse-gray-2);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
}
.chart-bars { display: flex; gap: 6px; align-items: flex-end; height: 160px; margin-top: 12px; }
.chart-bar {
  flex: 1; background: linear-gradient(180deg, var(--pulse-yellow) 0%, var(--pulse-yellow-dim) 100%);
  border-radius: 4px 4px 0 0; position: relative; min-height: 4px;
}
.chart-bar span {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  font-size: 10px; color: var(--pulse-muted);
}
.chart-bar b {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-family: var(--font-display);
}

/* =========================================================
   Time Clock
   ========================================================= */
.tc-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 16px;
}
@media (max-width: 1100px) { .tc-grid { grid-template-columns: 1fr; } }
.punch-card { display: flex; flex-direction: column; align-items: center; padding: 24px 12px; }
.punch-clock {
  font-family: var(--font-display);
  font-size: 56px;
  color: #111;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  text-shadow: 0 1px 0 rgba(255,207,1,0.35);
}
.punch-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  width: 100%; margin-top: 22px;
}
.punch-pill {
  background: var(--pulse-gray-2);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
}
.punch-pill span { display: block; font-size: 10px; color: var(--pulse-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.punch-pill b { display: block; font-family: var(--font-display); font-size: 18px; margin-top: 4px; color: #111; font-weight: 900; }

/* =========================================================
   Modal
   ========================================================= */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(16,24,40,0.45);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-backdrop.show { display: flex; }
.modal {
  background: #ffffff;
  border: 1px solid var(--pulse-line-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 520px; max-width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(16,24,40,0.25);
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--pulse-gray-3);
  font-size: 20px; line-height: 1;
}
.modal-close:hover { background: var(--pulse-gray-4); color: var(--pulse-yellow-text); }

.modal h3 { margin-bottom: 14px; }
.modal .form-row { margin-bottom: 12px; }
.modal label { display: block; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pulse-muted); margin-bottom: 6px; }
.modal input, .modal select, .modal textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--pulse-line-strong);
  border-radius: var(--radius-sm);
  color: var(--pulse-white);
  padding: 10px 12px; font-size: 13px; outline: none;
}
.modal input:focus, .modal select:focus, .modal textarea:focus { border-color: var(--pulse-yellow); box-shadow: 0 0 0 3px rgba(255,207,1,0.25); }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

/* =========================================================
   Toast
   ========================================================= */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #1a1a1a;
  border: 1px solid var(--pulse-yellow);
  color: var(--pulse-yellow);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 13px; font-weight: 700;
  opacity: 0; transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 200;
  box-shadow: 0 10px 30px rgba(16,24,40,0.25), var(--shadow-glow);
}
.toast.show { opacity: 1; transform: translateY(0); }

/* =========================================================
   Print
   ========================================================= */
@media print {
  .topbar, .view:not(.view-printable), .toast, .modal-backdrop { display: none !important; }
  body { background: white; color: black; }
  .view-printable { display: block !important; padding: 0; }
}

/* =========================================================
   PULSE — Portal cliente (extensiones)
   ========================================================= */

/* ----- Auth (login / registro) ----- */
.auth-shell {
  min-height: calc(100vh - var(--topbar-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
@media (max-width: 900px) { .auth-shell { grid-template-columns: 1fr; } }

.auth-hero {
  padding: 48px 56px;
  background:
    linear-gradient(135deg, rgba(255,207,1,0.18), rgba(255,207,1,0.04) 60%, transparent),
    var(--pulse-gray-1);
  border-radius: var(--radius-lg);
  margin: 24px;
  height: calc(100vh - var(--topbar-h) - 48px);
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: var(--shadow-card);
}
.auth-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.auth-hero h1 em {
  font-style: normal;
  color: var(--pulse-yellow-text);
}
.auth-hero .hero-logo {
  font-size: 88px;
  color: var(--pulse-yellow);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.auth-hero .hero-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.42em;
  color: #1a1a1a;
  margin: 0;
}
.auth-hero p { font-size: 15px; color: var(--pulse-muted); max-width: 480px; margin-top: 20px; }
.auth-hero ul { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.auth-hero li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.auth-hero li::before {
  content: '✓';
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--pulse-yellow); color: #000;
  font-weight: 900; font-size: 13px;
}

.auth-card {
  margin: 24px;
  padding: 32px;
  background: var(--pulse-gray-1);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: calc(100% - 48px);
  justify-self: center;
  box-shadow: var(--shadow-card);
}
.auth-card h2 { margin-bottom: 6px; font-size: 24px; }
.auth-card .auth-sub { color: var(--pulse-muted); margin-bottom: 22px; font-size: 13px; }

.form-row { margin-bottom: 14px; }
.form-row label {
  display: block; font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--pulse-muted);
  margin-bottom: 6px; font-weight: 700;
}
.form-row input {
  width: 100%;
  background: #fff;
  border: 1px solid var(--pulse-line-strong);
  border-radius: var(--radius-sm);
  color: var(--pulse-white);
  padding: 11px 14px; font-size: 14px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus {
  border-color: var(--pulse-yellow);
  box-shadow: 0 0 0 3px rgba(255,207,1,0.25);
}
.form-error {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(217,48,37,0.10);
  border: 1px solid rgba(217,48,37,0.30);
  border-radius: var(--radius-sm);
  color: var(--danger);
  font-size: 12.5px;
  display: none;
}
.form-error.show { display: block; }

.btn-block {
  display: block; width: 100%; justify-content: center;
  padding: 12px 16px; font-size: 13px;
}

.auth-switch {
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--pulse-line);
  text-align: center; font-size: 13px; color: var(--pulse-muted);
}
.auth-switch a { color: var(--pulse-yellow-text); font-weight: 700; cursor: pointer; }
.auth-switch a:hover { text-decoration: underline; }

/* ----- Layout cliente ----- */
.client-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 18px;
  align-items: start;
}
@media (max-width: 1100px) { .client-grid { grid-template-columns: 1fr; } }

/* ----- Tarjetas resumen (paquete) ----- */
.pkg-card {
  background:
    linear-gradient(135deg, rgba(255,207,1,0.18), rgba(255,207,1,0.04) 70%),
    var(--pulse-gray-1);
  border: 1px solid rgba(255,207,1,0.55);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.pkg-card .pkg-l { font-size: 10px; letter-spacing: 0.14em; color: var(--pulse-yellow-text); text-transform: uppercase; font-weight: 800; }
.pkg-card .pkg-name { font-family: var(--font-display); font-weight: 900; font-size: 18px; margin-top: 6px; }
.pkg-card .pkg-big { font-family: var(--font-display); font-weight: 900; font-size: 56px; color: #111; margin-top: 6px; line-height: 1; }
.pkg-card .pkg-big small { font-size: 14px; color: var(--pulse-muted); margin-left: 8px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.pkg-card .pkg-exp { margin-top: 10px; font-size: 12px; color: var(--pulse-muted); }
.pkg-card .pkg-exp b { color: var(--pulse-white); font-weight: 700; }

.pkg-empty { color: var(--pulse-muted); font-size: 13px; }

/* ----- Lista de clases (cliente) ----- */
.class-card {
  display: grid;
  grid-template-columns: 6px 80px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--pulse-gray-1);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  transition: all .15s;
  box-shadow: var(--shadow-card);
}
.class-card:hover { border-color: var(--pulse-yellow); transform: translateY(-1px); }
.class-card .stripe { width: 6px; height: 56px; border-radius: 4px; background: var(--c, var(--pulse-yellow)); }
.class-card .ctime {
  font-family: var(--font-display); font-weight: 900;
  font-size: 22px; color: #111; line-height: 1;
}
.class-card .ctime small { display: block; font-size: 10px; color: var(--pulse-muted); margin-top: 4px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.class-card .cname { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.class-card .cmeta { font-size: 12.5px; color: var(--pulse-muted); margin-top: 4px; }
.class-card .cright { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.class-card .cspots { font-size: 11px; color: var(--pulse-muted); }
.class-card .cspots b { color: #111; font-weight: 800; font-size: 13px; }

.class-card.is-mine {
  border-color: var(--success);
  background: linear-gradient(90deg, rgba(30,142,62,0.08), transparent 60%), var(--pulse-gray-1);
}
.class-card.is-full { opacity: 0.85; }

.btn-book { background: var(--pulse-yellow); color: #000; }
.btn-book:hover { background: var(--pulse-yellow-dim); }
.btn-cancel {
  background: transparent;
  color: var(--danger);
  border: 1px solid rgba(217,48,37,0.35);
}
.btn-cancel:hover { background: rgba(217,48,37,0.08); border-color: var(--danger); }

.day-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.day-tab {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--pulse-gray-2);
  border: 1px solid var(--pulse-line);
  font-size: 12px;
  font-weight: 600;
  color: var(--pulse-white);
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px;
  transition: all .15s;
}
.day-tab small { font-size: 10px; color: var(--pulse-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.day-tab b { font-family: var(--font-display); font-size: 16px; }
.day-tab:hover { border-color: var(--pulse-yellow); }
.day-tab.active {
  background: var(--pulse-yellow);
  border-color: var(--pulse-yellow);
  color: #000;
  box-shadow: var(--shadow-glow);
}
.day-tab.active small, .day-tab.active b { color: #000; }

.filter-row {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  margin-bottom: 12px;
}
.filter-row select {
  background: #fff;
  border: 1px solid var(--pulse-line-strong);
  border-radius: var(--radius-sm);
  color: var(--pulse-white);
  padding: 8px 12px; font-size: 13px;
  min-width: 180px;
}

/* ----- Hero / saludo arriba ----- */
.welcome {
  background:
    linear-gradient(120deg, rgba(255,207,1,0.10), transparent 60%),
    var(--pulse-gray-1);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  box-shadow: var(--shadow-card);
}
.welcome h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 22px; letter-spacing: 0.02em; text-transform: none;
}
.welcome p { font-size: 13px; color: var(--pulse-muted); margin-top: 2px; }

.empty-state {
  padding: 36px 20px; text-align: center;
  color: var(--pulse-muted); font-size: 14px;
}
.empty-state b { display: block; color: var(--pulse-white); font-size: 16px; margin-bottom: 6px; font-family: var(--font-display); }

/* ----- Paquetes (precios) ----- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.price-card {
  background: var(--pulse-gray-1);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: var(--shadow-card);
}
.price-card .pname { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.price-card .pprice { font-family: var(--font-display); font-weight: 900; font-size: 30px; color: #111; }
.price-card .pprice small { font-size: 12px; color: var(--pulse-muted); font-family: var(--font-body); font-weight: 600; letter-spacing: 0.04em; margin-left: 6px; }
.price-card .pdesc { font-size: 12.5px; color: var(--pulse-muted); min-height: 36px; }
.price-card .btn { margin-top: 6px; }
.price-card.featured {
  border-color: var(--pulse-yellow);
  background: linear-gradient(180deg, rgba(255,207,1,0.12), transparent 60%), var(--pulse-gray-1);
}
.price-card .badge {
  display: inline-block; padding: 3px 8px; border-radius: 999px;
  background: var(--pulse-yellow); color: #000;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  align-self: flex-start;
}

/* =========================================================
   Responsive — teléfonos (≤ 640px)
   ========================================================= */
.build-badge {
  position: fixed; bottom: 8px; left: 8px; z-index: 9999;
  background: rgba(0,0,0,0.72); color: #FFCF01;
  font: 700 11px/1 system-ui, sans-serif; padding: 6px 8px;
  border-radius: 6px; pointer-events: none; letter-spacing: 0.02em;
}
html.force-phone {
  /* Barra superior: marca + usuario en una fila, menú en su propia fila */
  .topbar {
    height: auto;
    flex-wrap: wrap;
    padding: 8px 14px;
    gap: 8px 14px;
    max-width: 100%;
    overflow-x: hidden;
  }
  .topbar-left  { order: 1; min-width: 0; }
  .topbar-right { order: 2; margin-left: auto; gap: 10px; min-width: 0; }
  .topnav {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 2px;
  }
  .topnav-link { white-space: nowrap; flex: 0 0 auto; padding: 8px 12px; }

  /* Contenido con menos margen */
  .view { padding: 16px 14px 56px; }
  .welcome, .view-head { flex-direction: column; align-items: flex-start; }
  .filter-row { gap: 8px; }
  .filter-row select { min-width: 0; flex: 1 1 100%; width: 100%; }

  /* Tarjetas de clase: el botón y los lugares pasan a una fila inferior */
  .class-card {
    grid-template-columns: 6px auto 1fr;
    gap: 8px 12px;
    padding: 12px;
  }
  .class-card .stripe { grid-row: 1 / 3; height: 100%; }
  .class-card .ctime  { font-size: 20px; }
  .class-card .cright {
    grid-column: 2 / 4;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
  }

  /* Pantalla de inicio (login/registro) */
  .auth-hero { height: auto; padding: 32px 24px; margin: 14px; }
  .auth-hero .hero-logo { font-size: 60px; }
  .auth-hero .hero-tagline { font-size: 18px; letter-spacing: 0.3em; }
}

/* =========================================================
   Modal — Picker de lugar (bici / mat / spot)
   ========================================================= */
.modal-spot { width: 720px; max-width: 100%; }
.modal-spot .spot-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, var(--pulse-gray-2) 0%, var(--pulse-gray-3) 100%);
  border: 1px solid var(--pulse-line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
}
.modal-spot .spot-coach-marker {
  position: absolute; left: 50%; top: 6px; transform: translateX(-50%);
  font-size: 9px; font-weight: 800; letter-spacing: 0.14em;
  color: var(--pulse-muted); pointer-events: none; text-transform: uppercase;
}
.modal-spot .spot {
  position: absolute;
  width: 8%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  background: #dbe8f7;
  border: 1px solid #a8c0db;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 800;
  color: rgba(0,0,0,0.75);
  transition: all 0.12s;
  box-shadow: 0 1px 3px rgba(16,24,40,0.10);
  user-select: none;
}
.modal-spot .spot:hover:not(.taken) {
  border-color: var(--pulse-yellow);
  transform: translate(-50%, -50%) scale(1.10);
  z-index: 5;
  box-shadow: 0 4px 12px rgba(255,207,1,0.35);
}
.modal-spot .spot.taken {
  background: var(--pulse-gray-4);
  border-color: var(--pulse-gray-5);
  color: var(--pulse-muted);
  cursor: not-allowed;
  opacity: 0.65;
}
.modal-spot .spot.mine {
  background: rgba(52, 211, 153, 0.22);
  border-color: #1e8e3e;
  color: #1e3a2a;
  cursor: default;
  opacity: 1;
}
.modal-spot .spot.selected {
  background: var(--pulse-yellow);
  border-color: var(--pulse-yellow-dim);
  color: #000;
  transform: translate(-50%, -50%) scale(1.12);
  z-index: 5;
  box-shadow: 0 4px 14px rgba(255,207,1,0.50);
}
.spot-legend {
  display: flex; gap: 14px; justify-content: center;
  font-size: 11px; color: var(--pulse-muted);
  margin-bottom: 4px;
}
.spot-legend i.dot {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 3px; margin-right: 5px; vertical-align: middle;
  border: 1px solid var(--pulse-line-strong);
}
.spot-legend i.dot-free { background: #fff; }
.spot-legend i.dot-taken { background: var(--pulse-gray-4); border-color: var(--pulse-gray-5); }
.spot-legend i.dot-selected { background: var(--pulse-yellow); border-color: var(--pulse-yellow-dim); }

/* Móvil: el picker se ajusta al ancho de pantalla */
@media (max-width: 640px), (pointer: coarse) {
  .modal-spot { padding: 18px 14px; }
  .modal-spot .spot { width: 9%; font-size: 9px; }
  .modal-spot .spot-stage { aspect-ratio: 4 / 3; }
}

/* =========================================================
   Modal: Comprar paquete (Stripe)
   ========================================================= */
.modal-buy {
  width: 460px; max-width: 100%;
  background: var(--pulse-black);
  color: var(--pulse-white);
  border: 1px solid var(--pulse-line-strong);
}
.modal-buy h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  color: var(--pulse-yellow);
  font-size: 20px;
}
.modal-buy .modal-close { color: var(--pulse-muted); }
.modal-buy .modal-close:hover { color: var(--pulse-white); }

.buy-summary {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--pulse-line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.buy-pname { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.buy-pprice {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 900;
  color: var(--pulse-yellow);
}
.buy-pprice small { font-size: 11px; font-weight: 400; margin-left: 4px; color: var(--pulse-muted); }
.buy-pdesc { font-size: 12px; color: var(--pulse-muted); margin-top: 6px; }

.modal-buy .form-row { margin-bottom: 14px; }
.modal-buy .form-row label {
  display: block; font-size: 11px; font-weight: 600;
  color: var(--pulse-muted); text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 6px;
}
.stripe-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--pulse-line-strong);
  border-radius: 8px;
  padding: 12px 14px;
  min-height: 22px;
}
.stripe-card.StripeElement--focus {
  border-color: var(--pulse-yellow);
}
.modal-buy .form-error {
  color: #ff5e3a; font-size: 13px;
  display: none; margin-bottom: 8px;
}
.modal-buy .form-error.show { display: block; }
.modal-buy .modal-actions {
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 10px;
}
.modal-buy .btn-yellow {
  background: var(--pulse-yellow); color: #000;
  border: 1px solid var(--pulse-yellow);
  font-weight: 700;
}
.modal-buy .btn-yellow:hover:not(:disabled) { background: #ffd933; }
.modal-buy .btn-yellow:disabled { opacity: 0.6; cursor: not-allowed; }
.modal-buy .btn-ghost {
  background: transparent; color: var(--pulse-white);
  border: 1px solid var(--pulse-line-strong);
}
