/* public/css/inicio.css — estilos para reserva de café con alerta y animación */
.cafe-hero {
  text-align: center;
  margin-bottom: 1.5rem;
}
.icono-cafe {
  font-size: 3rem;
  display: inline-block;
  animation: floatCafe 3s ease-in-out infinite;
}
@keyframes floatCafe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.lista-pedidos {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.pedido-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .8rem 1rem;
  border-radius: var(--radio);
  background: var(--superficie);
  border: 1px solid var(--borde);
}
.pedido-item.alerta-activa {
  border-color: #2e7d32;
  background: var(--ok-fondo);
  animation: pulseCard 1s infinite alternate;
}
@keyframes pulseCard {
  from { box-shadow: 0 0 4px rgba(46,125,50,.3); }
  to { box-shadow: 0 0 16px rgba(46,125,50,.8); }
}
.modal-animacion {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 1rem;
}
.modal-animacion[hidden] {
  display: none !important;
}
.tarjeta-alerta {
  background: var(--superficie);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  animation: popIn .4s cubic-bezier(.175,.885,.32,1.275);
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.7); }
  to { opacity: 1; transform: scale(1); }
}
.animacion-taza {
  font-size: 4.5rem;
  display: inline-block;
  animation: shakeBell .8s infinite ease-in-out;
}
@keyframes shakeBell {
  0%, 100% { transform: rotate(0) scale(1); }
  25% { transform: rotate(-12deg) scale(1.1); }
  75% { transform: rotate(12deg) scale(1.1); }
}
.humo {
  display: block;
  font-size: 1.5rem;
  opacity: .8;
  animation: subirHumo 1.5s infinite linear;
}
@keyframes subirHumo {
  0% { transform: translateY(0); opacity: .8; }
  100% { transform: translateY(-16px); opacity: 0; }
}
