:root {
  color-scheme: light;
}

html { scroll-behavior: smooth; }

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.kiosk-step { animation: step-in 220ms ease-out both; }
@keyframes step-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slot-btn {
  position: relative;
  padding: 0.55rem 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: 1px solid #e6e2d8;
  background: #fff;
  color: #142fbd;
  transition: all 140ms ease;
  cursor: pointer;
  text-align: center;
}
.slot-btn:hover:not(:disabled) {
  border-color: #142fbd;
  background: #f0f3ff;
}
.slot-btn:disabled {
  background: #f3f0e8;
  color: #b3ad9e;
  border-color: #ece7da;
  cursor: not-allowed;
  text-decoration: line-through;
}
.slot-btn.is-selected {
  background: #f79e1b;
  border-color: #f79e1b;
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(247,158,27,0.7);
}

.day-tab {
  flex: 0 0 auto;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #e6e2d8;
  background: #fff;
  text-align: center;
  cursor: pointer;
  min-width: 4.25rem;
  transition: all 140ms ease;
}
.day-tab .dow { font-size: 0.7rem; color: #6b6b78; text-transform: uppercase; letter-spacing: 0.05em; }
.day-tab .dom { font-size: 1.05rem; font-weight: 600; color: #242833; }
.day-tab.is-active { background: #142fbd; border-color: #142fbd; }
.day-tab.is-active .dow, .day-tab.is-active .dom { color: #fff; }
.day-tab:hover:not(.is-active) { border-color: #142fbd; }

.service-card {
  text-align: left;
  border: 1px solid #e6e2d8;
  background: #fff;
  border-radius: 1rem;
  padding: 0.9rem;
  cursor: pointer;
  transition: all 160ms ease;
}
.service-card:hover { border-color: #142fbd; transform: translateY(-1px); }
.service-card.is-selected { border-color: #142fbd; box-shadow: 0 0 0 3px rgba(20,47,189,0.12); background: #f0f3ff; }
.service-card .name { font-weight: 600; color: #242833; }
.service-card .meta { font-size: 0.75rem; color: #6b6b78; }

.admin-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.6rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.08);
  font-size: 0.8rem;
}
.admin-slot.is-full { background: #eb001b; color: #fff; }
.admin-slot button {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.admin-slot.is-full button { background: rgba(255,255,255,0.2); }

.agenda-row {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem 0.25rem;
  font-size: 0.875rem;
}
.agenda-row .time { font-weight: 600; color: #142fbd; }
.agenda-row .who { color: #242833; }
.agenda-row .svc { font-size: 0.7rem; color: #6b6b78; }
.agenda-row .pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #142fbd;
}
.agenda-row.is-open .pill { background: #f1ecda; color: #8a6a13; }
.agenda-row.is-full .pill { background: #fde2e4; color: #a8001a; }
