/* reservas.css */
.reservas-layout {
  padding: 32px 24px 64px;
  max-width: 1800px; margin: 0 auto;
}
@media (min-width: 1000px) {
  .reservas-layout { padding: 48px 40px 80px; }
}

/* Overrides para bloque título en fondo claro */
.reservas-light .reservas-top {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.reservas-top {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 48px;
}
.reservas-top .page-title { flex: 0 0 auto; margin-bottom: 0; }
.sidebar-card {
  flex: 1 1 auto;
  align-self: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 32px 48px;
}
.sidebar-card-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar-card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent);
}
.sidebar-card-name {
  font-family: 'Big Shoulders Display','Space Grotesk'; font-weight: 700;
  font-size: clamp(28px, 3.5vw, 56px); letter-spacing: -0.04em; line-height: 0.9;
  text-transform: uppercase;
  color: var(--text);
}
.sidebar-card-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.sidebar-card-balls {
  display: flex;
  gap: 10px;
  align-items: center;
}
.sidebar-card-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-2);
}
.sidebar-card-status.active { color: var(--accent); }
.sidebar-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.sidebar-card-count {
  font-family: 'Big Shoulders Display','Space Grotesk'; font-weight: 700;
  font-size: clamp(64px, 7vw, 120px); letter-spacing: -0.05em; line-height: 1;
  color: var(--text);
}
.sidebar-card-count span {
  font-size: 0.35em; font-family: 'JetBrains Mono', monospace;
  font-weight: 400; color: var(--muted-2); letter-spacing: 0;
}
@media (max-width: 900px) {
  .reservas-top { flex-direction: column; align-items: center; text-align: center; }
  .reserva-panel { padding: 20px 16px; }
  .reserva-panel h3 { font-size: 20px; }
  .desglose { padding: 14px 16px; }
  .desglose-row { font-size: 13px; }
  .sidebar-card {
    width: 100%;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 16px 20px;
    overflow: hidden;
  }
  .sidebar-card-center { align-items: flex-start; grid-column: 1; }
  .sidebar-card-right { grid-column: 2; grid-row: 1; justify-content: center; }
  .sidebar-card-name { font-size: clamp(20px, 5.5vw, 36px); }
  .sidebar-card-count { font-size: clamp(42px, 11vw, 64px); }
  .sidebar-card-balls { gap: 6px; flex-wrap: nowrap; }
  .sidebar-card-balls .passport-ball,
  .sidebar-card-balls [style*="clamp(32px"] {
    width: 26px !important;
    height: 26px !important;
  }
  .sidebar-card-status { font-size: 9px; letter-spacing: 0.12em; }
}
.sidebar-name {
  font-family: 'Big Shoulders Display','Space Grotesk'; font-weight: 700;
  font-size: 28px; letter-spacing: -0.03em; line-height: 1;
  text-transform: uppercase;
}
.sidebar-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-top: 8px;
}
.sidebar-passport-count {
  font-family: 'Big Shoulders Display','Space Grotesk'; font-weight: 700;
  font-size: 48px; letter-spacing: -0.04em; line-height: 1;
}
.page-title {
  font-family: 'Big Shoulders Display','Space Grotesk'; font-weight: 700;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: -0.05em; line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.page-title-offset {
  display: inline-block;
  margin-left: 2.4em;
}
.date-pills {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-2) transparent;
  margin-bottom: 32px;
}
.date-pill {
  flex: 0 0 auto;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  min-width: 92px;
  text-align: center;
  transition: all 0.1s;
}
.date-pill-weekday {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted-2);
}
.date-pill-day {
  font-family: 'Big Shoulders Display','Space Grotesk'; font-weight: 700;
  font-size: 28px; letter-spacing: -0.03em;
  line-height: 1; margin-top: 4px;
}
.date-pill-month {
  font-size: 11px; color: var(--muted-2); margin-top: 4px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.date-pill:hover { border-color: var(--border-2); }
.date-pill.active {
  background: var(--accent); color: var(--bg); border-color: var(--accent);
}
.date-pill.active .date-pill-weekday, .date-pill.active .date-pill-month { color: var(--bg); }

.slots-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .slots-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .slots-grid { grid-template-columns: 1fr; }
}
.slot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 20px;
  cursor: pointer;
  transition: all 0.1s;
  position: relative;
}
.slot:hover { border-color: var(--accent); background: var(--surface-2); }
.slot-hour {
  font-family: 'Big Shoulders Display','Space Grotesk'; font-weight: 700;
  font-size: 32px; letter-spacing: -0.03em; line-height: 1;
}
.slot-price {
  font-size: 13px; color: var(--muted-2); margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
}
.slot-franja {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-top: 8px;
}
.slot.ocupado {
  border-left-color: var(--border);
  cursor: not-allowed;
  opacity: 0.5;
  background-image: repeating-linear-gradient(135deg, transparent 0 12px, rgba(255,255,255,0.02) 12px 24px);
}
.slot.ocupado:hover { border-color: var(--border); background-color: var(--surface); }
.slot.ocupado .slot-franja { color: var(--muted); }
.slot.ocupado-label {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-top: 8px;
}
.slot.selected {
  background: var(--accent); color: var(--bg); border-color: var(--accent);
  border-left-color: var(--accent);
}
.slot.selected .slot-price, .slot.selected .slot-franja { color: var(--bg); }

.reserva-panel {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--accent);
  padding: 28px;
}
.reserva-panel h3 {
  font-size: 28px; margin-bottom: 20px;
}
.desglose {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 20px;
  margin: 20px 0;
}
.desglose-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
}
.desglose-row.total {
  border-top: 1px solid var(--border); padding-top: 16px; margin-top: 8px;
  font-family: 'Big Shoulders Display','Space Grotesk'; font-weight: 700;
  font-size: 22px; letter-spacing: -0.02em;
}
.desglose-row.descuento { color: var(--accent); }
