/* =========================================
   SISTEMA DE RESERVAS - RESTAURANTE PANAMÁ
   Integrado con el diseño existente del proyecto
   ========================================= */

/* ===== SECCIÓN PRINCIPAL ===== */
#reservation-form {
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #0a0a0a 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

#reservation-form::before {
  content: 'PANAMÁ';
  position: absolute;
  font-family: 'Forum', serif;
  font-size: 260px;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.025);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -8px;
}

.reservas-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.reservas-header {
  text-align: center;
  margin-bottom: 60px;
}

.reservas-header .section-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #E4C590;
  display: block;
  margin-bottom: 14px;
}

.reservas-header .section-title-res {
  font-family: 'Forum', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  color: #1A1A1A;
  line-height: 1.1;
  margin-bottom: 14px;
}

.reservas-header .section-title-res span {
  color: #E4C590;
  font-style: italic;
}

.reservas-header p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #555555;
  letter-spacing: 0.5px;
}

/* ===== LAYOUT PRINCIPAL ===== */
.reservas-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}

/* ===== PASOS / STEPS ===== */
.steps-bar {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.1);
  padding: 20px 28px;
}

.res-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.res-step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(26, 26, 26, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Forum', serif;
  font-size: 15px;
  color: #555555;
  background: transparent;
  transition: all 0.4s ease;
}

.res-step-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1A1A1A;
  transition: color 0.4s ease;
}

.res-step.active .res-step-circle {
  background: #E4C590;
  color: #1A1A1A;
  border-color: #E4C590;
  font-weight: 700;
}

.res-step.active .res-step-label { color: #E4C590; }

.res-step.done .res-step-circle {
  background: transparent;
  color: #E4C590;
  border-color: #E4C590;
}

.res-step.done .res-step-label { color: #E4C590; }

.res-step-line {
  height: 1px;
  flex: 1;
  background: rgba(26, 26, 26, 0.15);
  margin-bottom: 20px;
  transition: background 0.4s ease;
}

.res-step-line.done { background: #E4C590; }

/* ===== PANELES DEL FORMULARIO ===== */
.form-panel-res {
  display: none;
  animation: resFadeIn 0.4s ease;
}

.form-panel-res.active { display: block; }

@keyframes resFadeIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.form-panel-title {
  font-family: 'Forum', serif;
  font-size: 26px;
  font-weight: 400;
  color: #1A1A1A;
  margin-bottom: 6px;
}

.form-panel-title span { color: #E4C590; font-style: italic; }

.form-panel-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #444444;
  letter-spacing: 1px;
  margin-bottom: 28px;
}

/* ===== CAMPOS DEL FORMULARIO ===== */
.res-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.res-form-grid.triple { grid-template-columns: 1fr 1fr 1fr; }

.res-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.res-form-group.full { grid-column: 1 / -1; }

.res-form-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #1A1A1A;
}

.res-input, .res-select, .res-textarea {
  background: #FFFFFF;
  border: 1px solid rgba(228, 197, 144, 0.35);
  color: #1A1A1A;
  padding: 13px 15px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

.res-input:focus, .res-select:focus, .res-textarea:focus {
  border-color: #E4C590;
  background: rgba(201, 168, 76, 0.04);
}

.res-input::placeholder, .res-textarea::placeholder {
  color: #444;
  font-size: 13px;
}

.res-select option { background: #1a1a1a; color: #1A1A1A; }

.res-textarea { resize: none; height: 90px; }

.res-input.error { border-color: #c0392b !important; }

.res-field-error {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: #e05252;
  letter-spacing: 0.5px;
  display: none;
}

.res-form-group.has-error .res-input,
.res-form-group.has-error .res-select { border-color: #c0392b; }

.res-form-group.has-error .res-field-error { display: block; }

/* ===== SELECTOR DE PERSONAS ===== */
.personas-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.personas-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  background: transparent;
  color: #888888;
  font-family: 'Forum', serif;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.personas-btn:hover { border-color: #E4C590; color: #E4C590; }

.personas-btn.active {
  background: #E4C590;
  color: #1A1A1A;
  border-color: #E4C590;
  font-weight: 700;
}

.personas-btn.mas {
  width: auto;
  padding: 0 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
}

/* ===== HORARIOS ===== */
.horarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.horario-btn {
  border: 1px solid rgba(201, 168, 76, 0.18);
  background: transparent;
  color: #888888;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  padding: 11px 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  letter-spacing: 0.5px;
}

.horario-btn:hover { border-color: #E4C590; color: #E4C590; }

.horario-btn.active {
  background: #E4C590;
  color: #1A1A1A;
  border-color: #E4C590;
  font-weight: 500;
}

.horario-btn.no-disponible {
  opacity: 0.25;
  cursor: not-allowed;
  text-decoration: line-through;
  pointer-events: none;
}

/* ===== SELECTOR DE CIUDAD/SUCURSAL ===== */
.ciudad-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.ciudad-tab {
  background: transparent;
  border: none;
  color: #444444;
  padding: 10px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.ciudad-tab:hover { color: #E4C590; }
.ciudad-tab.active { color: #E4C590; border-bottom-color: #E4C590; }

.sucursales-lista {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.sucursal-card {
  border: 1px solid rgba(201, 168, 76, 0.15);
  background: transparent;
  color: #888888;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sucursal-card:hover { border-color: #E4C590; background: rgba(201, 168, 76, 0.03); }

.sucursal-card.active {
  border-color: #E4C590;
  background: rgba(201, 168, 76, 0.06);
}

.sucursal-card-check {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: all 0.2s;
  font-size: 10px;
  color: transparent;
}

.sucursal-card.active .sucursal-card-check {
  background: #E4C590;
  border-color: #E4C590;
  color: #0a0a0a;
}

.sucursal-card-info .suc-nombre {
  font-family: 'Forum', serif;
  font-size: 15px;
  color: #1A1A1A;
  display: block;
  margin-bottom: 3px;
}

.sucursal-card-info .suc-dir {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #444444;
  letter-spacing: 0.3px;
}

.sucursal-card.active .suc-nombre { color: #E4C590; }

/* ===== GRID DE MESAS ===== */
.mesas-grid-res {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.mesa-card {
  border: 1px solid rgba(201, 168, 76, 0.15);
  background: rgba(255,255,255,0.02);
  padding: 12px 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.mesa-card:hover:not(.ocupada) {
  border-color: #E4C590;
  background: rgba(201, 168, 76, 0.05);
}

.mesa-card.seleccionada {
  border-color: #E4C590;
  background: rgba(201, 168, 76, 0.1);
}

.mesa-card.ocupada {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
  pointer-events: none;
}

.mesa-card.dim {
  opacity: 0.3;
  pointer-events: none;
}

.mesa-num {
  font-family: 'Forum', serif;
  font-size: 18px;
  color: #E4C590;
  display: block;
  line-height: 1;
}

.mesa-cap {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
  display: block;
  margin-top: 4px;
}

.mesa-zona {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 1px;
  color: #444;
  display: block;
  margin-top: 2px;
}

.mesa-card.seleccionada .mesa-cap { color: #E4C590; }
.mesa-card.seleccionada .mesa-zona { color: #a07830; }

/* ===== RESUMEN / SUMMARY ===== */
.resumen-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201, 168, 76, 0.15);
  padding: 28px;
  margin-bottom: 20px;
}

.resumen-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.07);
}

.resumen-row:last-child { border-bottom: none; }

.resumen-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #444444;
}

.resumen-valor {
  font-family: 'Forum', serif;
  font-size: 17px;
  color: #1A1A1A;
  text-align: right;
  max-width: 60%;
}

.resumen-valor.dorado { color: #E4C590; }

/* ===== NAVEGACIÓN DEL FORMULARIO ===== */
.res-form-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.res-btn-back {
  background: transparent;
  border: 1px solid rgba(26, 26, 26, 0.25);
  color: #1A1A1A;
  padding: 13px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.res-btn-back:hover { border-color: #E4C590; color: #E4C590; }

.res-btn-next {
  background: #E4C590;
  border: none;
  color: #0a0a0a;
  padding: 14px 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.res-btn-next:hover { background: #e8c97a; transform: translateY(-1px); }

.res-btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.res-btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.res-spinner {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: #0a0a0a;
  border-radius: 50%;
  animation: resSpin 0.6s linear infinite;
}

@keyframes resSpin { to { transform: rotate(360deg); } }

/* ===== PANEL DE ÉXITO ===== */
.res-success {
  display: none;
  text-align: center;
  padding: 20px 0;
  animation: resFadeIn 0.5s ease;
}

.res-success.visible { display: block; }

.res-success-icon {
  width: 64px;
  height: 64px;
  border: 1px solid #E4C590;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 26px;
  color: #E4C590;
}

.res-success h3 {
  font-family: 'Forum', serif;
  font-size: 36px;
  font-weight: 400;
  color: #1A1A1A;
  margin-bottom: 10px;
}

.res-success h3 span { color: #E4C590; font-style: italic; }

.res-success p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #555555;
  line-height: 1.8;
  max-width: 460px;
  margin: 0 auto 28px;
}

.res-codigo {
  border: 1px solid rgba(26, 26, 26, 0.3);
  padding: 14px 28px;
  display: inline-block;
  margin-bottom: 28px;
}

.res-codigo .codigo-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 6px;
}

.res-codigo .codigo-num {
  font-family: 'Forum', serif;
  font-size: 26px;
  color: #E4C590;
  letter-spacing: 6px;
}

.res-success-info {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #555;
  line-height: 2;
  margin-bottom: 28px !important;
}

.res-success-info a { color: #E4C590; text-decoration: none; }

/* ===== PANEL DERECHO - PLANO DEL RESTAURANTE ===== */
.floor-panel {
  position: sticky;
  top: 100px;
  background: rgba(10,10,10,0.8);
  border: 1px solid rgba(201, 168, 76, 0.12);
  padding: 28px;
}

.floor-panel-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #E4C590;
  text-align: center;
  margin-bottom: 20px;
}

.floor-plan-wrap {
  background: #0f0f0f;
  border: 1px solid rgba(201, 168, 76, 0.08);
  padding: 12px;
  margin-bottom: 16px;
}

.floor-plan-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== LEYENDA ===== */
.mesa-leyenda {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.leyenda-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  color: #444444;
}

.leyenda-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.leyenda-color.disponible { background: #2a2a2a; border: 1.5px solid #E4C590; }
.leyenda-color.seleccionada { background: #E4C590; }
.leyenda-color.ocupada { background: #3a1515; border: 1.5px solid #8b2020; }

/* ===== INFO RÁPIDA EN SIDEBAR ===== */
.res-quick-info {
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.res-quick-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.res-quick-icon {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  color: #E4C590;
}

.res-quick-text .label {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #555;
  display: block;
}

.res-quick-text .value {
  font-family: 'Forum', serif;
  font-size: 14px;
  color: #888888;
  display: block;
  margin-top: 1px;
}

/* ===== BOTÓN GPS ===== */
.gps-btn-res {
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: #E4C590;
  padding: 10px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}

.gps-btn-res:hover { background: rgba(201, 168, 76, 0.08); border-color: #E4C590; }

.gps-status-res {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #444444;
  text-align: center;
  margin-bottom: 10px;
  min-height: 16px;
}

/* ===== MENSAJE NOTA/AVISO ===== */
.res-nota {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #444444;
  letter-spacing: 0.3px;
  line-height: 1.7;
  border-left: 2px solid rgba(201, 168, 76, 0.3);
  padding-left: 12px;
  margin-bottom: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .reservas-inner {
    grid-template-columns: 1fr;
  }
  .floor-panel {
    position: static;
    order: -1;
  }
  .floor-plan-wrap { max-height: 320px; overflow: hidden; }
}

@media (max-width: 640px) {
  #reservation-form { padding: 60px 0 80px; }
  .reservas-container { padding: 0 16px; }
  .res-form-grid { grid-template-columns: 1fr; }
  .res-form-grid.triple { grid-template-columns: 1fr 1fr; }
  .horarios-grid { grid-template-columns: repeat(3, 1fr); }
  .mesas-grid-res { grid-template-columns: repeat(3, 1fr); }
  .steps-bar { padding: 16px 12px; }
  .res-step-line { flex: 0 0 30px; }
  .floor-panel { padding: 16px; }
  .res-form-nav { flex-wrap: wrap; }
  .res-btn-next { flex: 1 0 100%; order: -1; }
}

/* ── Tema Panamá: fondo blanco para el formulario de reservas ── */
.reservas-wrapper,
.form-panel,
.res-step-number,
.mapa-panel {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
}

.form-panel-title span { color: #E4C590 !important; }

.res-step.active .res-step-number,
.personas-btn.active,
.horario-btn.active {
  background: #E4C590 !important;
  border-color: #E4C590 !important;
  color: #FFFFFF !important;
}

.res-step.active .res-step-label,
.res-step.done .res-step-label { color: #E4C590 !important; }
.res-step-line.done { background: #E4C590 !important; }

.personas-btn:hover,
.horario-btn:hover {
  border-color: #E4C590 !important;
  color: #E4C590 !important;
}

.ciudad-tab:hover,
.ciudad-tab.active {
  color: #E4C590 !important;
  border-bottom-color: #E4C590 !important;
}

.form-input,
.form-select,
.form-textarea {
  background: #F7F4F0 !important;
  border-color: rgba(228,197,144,0.2) !important;
  color: #1A1A1A !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #E4C590 !important;
}

/* =========================================================
   FIX COMPLETO LEGIBILIDAD — FONDO BLANCO/CREMA
   ========================================================= */

/* Título principal "Reserva Tu Mesa" */
.section-title-res {
  color: #1A1A1A !important;
}
.section-title-res span {
  color: #E4C590 !important;
}

/* Subtítulo "Asegura Tu Lugar" y texto descriptivo */
.reservas-header .section-subtitle {
  color: #E4C590 !important;
}
.reservas-header p {
  color: #555555 !important;
}

/* Pasos 1, 2, 3 — círculos y etiquetas */
.res-step-circle {
  color: #1A1A1A !important;
  border-color: rgba(26, 26, 26, 0.35) !important;
  background: transparent !important;
}
.res-step-label {
  color: #1A1A1A !important;
}
.res-step.active .res-step-circle {
  background: #E4C590 !important;
  border-color: #E4C590 !important;
  color: #1A1A1A !important;
}
.res-step.active .res-step-label {
  color: #E4C590 !important;
}
.res-step.done .res-step-circle {
  color: #E4C590 !important;
  border-color: #E4C590 !important;
}
.res-step.done .res-step-label {
  color: #E4C590 !important;
}
.res-step-line {
  background: rgba(26, 26, 26, 0.12) !important;
}
.res-step-line.done {
  background: #E4C590 !important;
}

/* Títulos de panel "Fecha y Hora", "Sucursal & Datos", "Confirmar" */
.form-panel-title {
  color: #1A1A1A !important;
}
.form-panel-title span {
  color: #E4C590 !important;
}
.form-panel-subtitle {
  color: #555555 !important;
}

/* Etiquetas de campo FECHA DE VISITA, NÚMERO DE PERSONAS, etc */
.res-form-label {
  color: #1A1A1A !important;
  font-weight: 500 !important;
}

/* Inputs, selects y textareas */
.res-input,
.res-select,
.res-textarea {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
  border: 1px solid rgba(26, 26, 26, 0.2) !important;
}
.res-input:focus,
.res-select:focus,
.res-textarea:focus {
  border-color: #E4C590 !important;
  box-shadow: 0 0 0 3px rgba(228, 197, 144, 0.15) !important;
}
.res-input::placeholder,
.res-textarea::placeholder {
  color: #AAAAAA !important;
}

/* Botones de número de personas y horario */
.personas-btn,
.horario-btn {
  color: #1A1A1A !important;
  border-color: rgba(26, 26, 26, 0.25) !important;
  background: #FFFFFF !important;
}

/* Tabs de ciudad (Culiacán, Mazatlán, Los Mochis) */
.ciudad-tab {
  color: #1A1A1A !important;
  font-weight: 500;
}

/* Sucursal cards */
.sucursal-card,
.sucursal-item {
  border-color: rgba(26, 26, 26, 0.15) !important;
  background: #FFFFFF !important;
  color: #1A1A1A !important;
}
.sucursal-nombre,
.sucursal-address {
  color: #1A1A1A !important;
}

/* Mesa grid — texto visible */
.mesa-item {
  color: #1A1A1A !important;
}
.mesa-num {
  color: #1A1A1A !important;
  font-weight: 600 !important;
}
.mesa-cap,
.mesa-zona {
  color: #555555 !important;
}

/* Resumen de confirmación */
.resumen-label {
  color: #888888 !important;
}
.resumen-value {
  color: #1A1A1A !important;
}

/* Panel derecho (mapa/plano) — mantener oscuro para contraste con mesas */
.mapa-panel,
.floor-panel {
  background: #1A1A1A !important;
}
.floor-panel-title,
.fp-legend-text {
  color: #EEEEEE !important;
}

/* =========================================================
   RESPONSIVE RESERVACIONES v13 — correcciones adicionales
   ========================================================= */

/* Steps bar — no hacer overflow en mobile */
@media (max-width: 480px) {
  .steps-bar {
    padding: 12px 8px;
    gap: 4px;
  }
  .res-step-circle {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .res-step-label {
    font-size: 7px;
    letter-spacing: 0.5px;
    text-align: center;
    max-width: 60px;
  }
  .res-step-line {
    flex: 0 0 20px;
    margin-bottom: 18px;
  }
}

/* Floor panel — fondo oscuro debe verse en cualquier ancho */
.floor-panel {
  overflow: hidden;
}

/* Resumen — responsive en pantallas pequeñas */
@media (max-width: 400px) {
  .resumen-card {
    padding: 14px 10px;
  }
  .resumen-label {
    font-size: 8px;
  }
  .resumen-valor {
    font-size: 13px;
    max-width: 52%;
  }
  .res-codigo {
    padding: 10px 16px;
  }
  .res-codigo .codigo-num {
    font-size: 20px;
    letter-spacing: 3px;
  }
}

/* Ciudad tabs — evitar overflow horizontal */
.ciudad-tabs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  padding-bottom: 2px;
}

.ciudad-tab {
  flex-shrink: 0;
  padding: 10px 14px;
}

/* Mesa grid — asegurar que sea siempre navegable */
.mesas-grid-res {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 360px) {
  .mesas-grid-res {
    grid-template-columns: repeat(3, 1fr);
  }
  .mesa-num {
    font-size: 14px;
  }
  .horarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Success panel — centrar en mobile */
@media (max-width: 640px) {
  .res-success {
    padding: 10px 0;
  }
  .res-success h3 {
    font-size: 26px;
  }
  .res-success-info {
    font-size: 11px;
  }
}

