/* =============================================================
   GRADE DE HORÁRIOS
============================================================= */

/* -------------------------------------------------------------
   PAINEL · HORÁRIOS
------------------------------------------------------------- */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 0.78rem;
}

.schedule-note {
  display: grid;
  gap: 3px;
  margin: 14px 0 20px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--soft);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.schedule-note strong {
  margin-bottom: 2px;
  color: var(--brand);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 9px 2px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.slot:hover {
  transform: translateY(-1px);
  border-color: var(--rose);
}

.slot small {
  font-size: 0.65rem;
}

.slot.free {
  background: var(--rose);
  color: var(--on-rose);
}

.slot.busy {
  background: repeating-linear-gradient(45deg, var(--soft), var(--soft) 5px, var(--surface) 5px, var(--surface) 10px);
  color: var(--ink);
}

.slot.booked {
  background: var(--brand);
  color: var(--brand-ink);
  cursor: default;
}

.slot.booked:hover {
  transform: none;
  border-color: transparent;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.dayhead {
  margin: 26px 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: capitalize;
}
