/* ============================================================
   YOUTAB · APPOINTMENT BOOKING UI
   ============================================================ */

.book-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 4rem;
  position: relative;
  z-index: 10;
  align-items: start;
}
@media (max-width: 900px) {
  .book-grid { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2rem; }
}

/* Service selector */
.svc-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}
@media (max-width: 600px) { .svc-picker { grid-template-columns: 1fr; } }
.svc-pick {
  border: 1px solid var(--border);
  background: rgba(0, 240, 255, 0.02);
  padding: 0.9rem 1rem;
  cursor: none;
  transition: border-color 0.25s, background 0.25s;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.svc-pick:hover { border-color: rgba(0, 240, 255, 0.4); }
.svc-pick.active {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.18);
}
.svc-pick .nm {
  font-family: var(--f-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #fff;
  text-transform: uppercase;
}
.svc-pick .meta {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--cyan);
}
.svc-pick .dur {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  color: rgba(180, 180, 220, 0.5);
}

/* Calendar */
.cal {
  border: 1px solid var(--border);
  background: var(--glass);
  padding: 1.4rem;
}
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.cal-head .month {
  font-family: var(--f-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-transform: uppercase;
}
.cal-head button {
  background: none;
  border: 1px solid var(--border);
  color: var(--cyan);
  font-family: var(--f-mono);
  font-size: 0.8rem;
  width: 32px;
  height: 32px;
  cursor: none;
  transition: background 0.25s;
}
.cal-head button:hover { background: rgba(0, 240, 255, 0.1); }
.cal-head button:disabled { color: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.08); cursor: not-allowed; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-dow {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: rgba(180, 180, 220, 0.4);
  text-align: center;
  padding: 0.35rem 0;
  text-transform: uppercase;
}
.cal-day {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  text-align: center;
  padding: 0.55rem 0;
  border: 1px solid transparent;
  background: rgba(0, 240, 255, 0.02);
  cursor: none;
  color: rgba(220, 220, 255, 0.7);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.cal-day:hover:not(:disabled) { border-color: var(--cyan); color: #fff; }
.cal-day.today { color: var(--gold); }
.cal-day.selected {
  background: var(--cyan);
  color: #000;
  font-weight: 700;
  border-color: var(--cyan);
}
.cal-day:disabled {
  color: rgba(255, 255, 255, 0.12);
  background: transparent;
  cursor: not-allowed;
}
.cal-day.other { color: rgba(255, 255, 255, 0.18); }

/* Time slots */
.slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}
@media (max-width: 600px) { .slots { grid-template-columns: repeat(3, 1fr); } }
.slot {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 0.55rem 0.4rem;
  border: 1px solid var(--border);
  background: rgba(0, 240, 255, 0.02);
  color: rgba(220, 220, 255, 0.75);
  text-align: center;
  cursor: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.slot:hover:not(:disabled) { border-color: var(--cyan); color: #fff; }
.slot.selected {
  background: var(--cyan);
  color: #000;
  font-weight: 700;
  border-color: var(--cyan);
}
.slot:disabled {
  color: rgba(255, 255, 255, 0.15);
  text-decoration: line-through;
  cursor: not-allowed;
}
/* Distinguish backend statuses (both disabled) */
.slot.booked  { text-decoration: line-through; opacity: 0.55; }
.slot.blocked { text-decoration: none; opacity: 0.4; border-style: dashed; }

/* Booking summary */
.booking-summary {
  border: 1px solid var(--border);
  background: rgba(0, 240, 255, 0.025);
  padding: 1.2rem;
  margin-top: 1.2rem;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  line-height: 1.7;
}
.booking-summary b { color: var(--cyan); letter-spacing: 0.08em; }
.booking-summary .row { display: flex; justify-content: space-between; padding: 0.2rem 0; }
.booking-summary .pending { color: rgba(180, 180, 220, 0.45); }

.book-step-tag {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--magenta);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

/* Admin login button (discreet) */
.nav-admin {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(180, 180, 220, 0.6);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  margin-right: 0.6rem;
  text-decoration: none;
  cursor: none;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.nav-admin:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.06);
}

/* Honeypot — must stay invisible to humans (anti-bot) */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
