/* Estilos propios del flujo de reserva, encima de style.css */

.pasos {
  display: flex;
  gap: 6px;
  margin: 22px 0 18px;
}
.pasos .paso {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
}
.pasos .paso.activo { background: var(--burnt); }

.panel-paso { display: none; }
.panel-paso.visible { display: block; }

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cal-header .mes { font-weight: 700; color: var(--wine); text-transform: capitalize; }
.cal-header button {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 32px; height: 32px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--wine);
}
.cal-header button:disabled { opacity: .35; cursor: not-allowed; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}
.cal-grid .dow {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--taupe);
  padding-bottom: 4px;
}
.cal-grid .dia {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wine-2);
  background: var(--white);
  border: 1.5px solid var(--line);
  cursor: pointer;
}
.cal-grid .dia.vacio { visibility: hidden; }
.cal-grid .dia.deshabilitado { color: var(--taupe); background: var(--cream-2); border-color: var(--cream-2); cursor: not-allowed; }
.cal-grid .dia.seleccionado { background: var(--burnt); border-color: var(--burnt); color: var(--white); }
.cal-grid .dia:not(.deshabilitado):hover { border-color: var(--burnt); }

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.slot {
  padding: 10px 6px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--wine-2);
  cursor: pointer;
  text-align: center;
}
.slot.ocupado { color: var(--taupe); background: var(--cream-2); border-color: var(--cream-2); cursor: not-allowed; text-decoration: line-through; }
.slot.seleccionado { background: var(--burnt); border-color: var(--burnt); color: var(--white); }
.slot:not(.ocupado):hover { border-color: var(--burnt); }

.campo { margin-bottom: 16px; }
.campo label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--wine); margin-bottom: 6px; }
.campo input, .campo textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--wine-2);
}
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--burnt); }
.campo textarea { resize: vertical; min-height: 80px; }

.resumen-cita {
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 18px;
  font-size: 0.92rem;
}
.resumen-cita b { color: var(--wine); }

.transfer-datos {
  background: var(--white);
  border: 1.5px dashed var(--gold);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 14px 0;
  font-size: 0.9rem;
}
.transfer-datos dt { color: var(--taupe-2); font-weight: 600; margin-top: 8px; }
.transfer-datos dt:first-child { margin-top: 0; }
.transfer-datos dd {
  color: var(--wine); font-weight: 700;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.btn-copiar {
  font-family: var(--font);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--burnt);
  background: var(--cream-2);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-copiar:hover { background: var(--line); }
.btn-copiar.copiado { background: var(--gold); border-color: var(--gold); color: var(--white); }

.aviso {
  font-size: 0.82rem;
  color: var(--taupe-2);
  background: var(--cream-2);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 10px 0;
}
.aviso.error { color: #8c2e1a; background: #FBEAE3; border: 1px solid #ECC2AF; }

.exito {
  text-align: center;
  padding: 20px 0;
}
.exito .marca-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
