/* ── Calendario de días ───────────────────────────────────────────────────── */

.calendario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}

.cal-mes {
  grid-column: 1 / -1;
  font-weight: 700;
  color: #495057;
  padding: 6px 0 2px;
  border-bottom: 1px solid #dee2e6;
  margin-top: 8px;
  font-size: 0.95rem;
}

.cal-dia {
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  transition: all .15s ease;
  background: #fff;
  user-select: none;
}

.cal-dia:hover {
  border-color: #0d6efd;
  background: #e8f0fe;
}

.cal-dia.selected {
  border-color: #0d6efd;
  background: #0d6efd;
  color: #fff;
  font-weight: 700;
}

.cal-dia .dia-num {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

.cal-dia .dia-nombre {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .75;
}

/* ── Botones de horario ───────────────────────────────────────────────────── */

.btn-hora {
  width: 80px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid #0d6efd;
  background: #fff;
  color: #0d6efd;
  padding: 10px 0;
  cursor: pointer;
  transition: all .15s ease;
}

.btn-hora:hover {
  background: #e8f0fe;
}

.btn-hora.selected {
  background: #0d6efd;
  color: #fff;
}

.btn-hora.ocupado {
  border-color: #dee2e6;
  color: #adb5bd;
  cursor: not-allowed;
  background: #f8f9fa;
  text-decoration: line-through;
}

/* ── Utilidades ───────────────────────────────────────────────────────────── */

.card-header.bg-primary {
  background-color: #0d6efd !important;
}

.w-40 { width: 40%; }

/* Sidebar admin */
.nav-link {
  color: #495057;
  border-radius: 6px;
  padding: 8px 12px;
}

.nav-link:hover,
.nav-link.active {
  background: #e8f0fe;
  color: #0d6efd;
}
