* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: #0f0f0f;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fondo-escritorio {
  width: 100%;
  min-height: 100vh;
  background-color: #111111;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contenedor-app {
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  background-color: #1a1a1a;
  display: flex;
  flex-direction: column;
}

.seccion-imagen {
  width: 100%;
  height: 51vh;
  background-color: #000;
  overflow: hidden;
}

.seccion-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.seccion-info {
  flex: 1;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel-estado {
  background-color: #222222;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dato {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icono {
  font-size: 22px;
  min-width: 28px;
  text-align: center;
  color: #ffffff;
  opacity: 0.7;
}

.etiqueta {
  color: #888888;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.valor {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
}

.valor.abierto {
  color: #22c55e;
}

.valor.cerrado {
  color: #ef4444;
}

.boton-reservar {
  background-color: #22c55e;
  color: #0f0f0f;
  border: none;
  border-radius: 14px;
  padding: 18px;
  font-size: 21px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

.boton-reservar:hover {
  background-color: #16a34a;
}

.boton-reservar:disabled {
  background-color: #444444;
  color: #888888;
  cursor: not-allowed;
}

@media (min-width: 500px) {
  .fondo-escritorio {
    background-color: #050505;
    background-image: repeating-linear-gradient(
      45deg,
      #111 0px,
      #111 1px,
      transparent 1px,
      transparent 10px
    );
  }
}

.cabecera-reserva {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background-color: #111111;
  border-bottom: 1px solid #2a2a2a;
}

.boton-volver {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
}

.titulo-reserva {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
}

.navegacion-semana {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.etiqueta-semana {
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
}

.btn-semana {
  background: #2a2a2a;
  border: none;
  color: #ffffff;
  font-size: 20px;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

.grilla-semana {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.dia-semana {
  background-color: #2a2a2a;
  border: none;
  border-radius: 10px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.dia-semana:hover {
  background-color: #22c55e;
}

.dia-nombre {
  color: #888888;
  font-size: 10px;
  text-transform: uppercase;
}

.dia-numero {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
}

.dia-inactivo {
  background-color: #1a1a1a;
  cursor: not-allowed;
  opacity: 0.4;
}

.dia-hoy {
  border: 2px solid #22c55e;
}

.panel-horarios {
  margin-top: 8px;
}

.titulo-dia {
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 12px;
  text-transform: capitalize;
}

.lista-horarios {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.horario-item {
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
}

.horario-libre {
  background-color: #22c55e;
  color: #ffffff;
}

.horario-ocupado {
  background-color: #2a2a2a;
  color: #555555;
  cursor: not-allowed;
}

.resumen-turno {
  background-color: #222222;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 8px;
}

.formulario {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-campo {
  background-color: #2a2a2a;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 14px;
  color: #ffffff;
  font-size: 15px;
  outline: none;
  width: 100%;
}

.input-campo:focus {
  border-color: #22c55e;
}

.boton-secundario {
  background: none;
  border: none;
  color: #888888;
  font-size: 14px;
  cursor: pointer;
  padding: 8px;
  text-align: center;
  width: 100%;
}

.panel-confirmacion {
  background-color: #222222;
  border-radius: 16px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.icono-ok {
  width: 60px;
  height: 60px;
  background-color: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  font-weight: bold;
}

.titulo-ok {
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
}

.texto-ok {
  color: #cccccc;
  font-size: 20px;
  line-height: 1.5;
}

.codigo-turno {
  color: #22c55e;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 4px;
}

.sin-horarios {
  color: #888888;
  font-size: 14px;
  text-align: center;
  padding: 16px;
}

.oculto {
  display: none;
}
.panel-error {
  border: 2px solid #ef4444;
}

.icono-error {
  width: 60px;
  height: 60px;
  background-color: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: white;
  font-weight: bold;
}

.titulo-error {
  color: #ef4444;
  font-size: 28px;
  font-weight: bold;
}