/* ============================================================
   SABROSIA — SCHEDULE CARD FIX
   Mejora la card de "categoría no disponible por horario"
   Agrega al final de style.css o como <link> separado
   ============================================================ */

/* ── Contenedor del mensaje de horario ────────────────────── */
.schedule-message {
  margin: 12px 14px 18px !important;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  border: none !important;
  text-align: left !important;
}

/* ── Card principal ───────────────────────────────────────── */
.schedule-message-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(90, 45, 27, 0.10);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow:
    0 4px 20px rgba(62, 31, 19, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule-message-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(62, 31, 19, 0.14);
}

/* ── Ícono del reloj ──────────────────────────────────────── */
.schedule-message-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3E1F13, #5A2D1B);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(62, 31, 19, 0.25);
}

/* ── Texto ────────────────────────────────────────────────── */
.schedule-message-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.schedule-message-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #3E1F13;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.schedule-message-time {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: #5A2D1B;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.schedule-message-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #7A6155;
  margin: 0;
  line-height: 1.3;
  font-style: italic;
}

/* ── Badge de estado ──────────────────────────────────────── */
.schedule-message-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.09);
  border: 1px solid rgba(239, 68, 68, 0.20);
  color: #dc2626;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.schedule-message-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dc2626;
  animation: schedulePulse 2s ease-in-out infinite;
}

@keyframes schedulePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

/* ── Responsive móvil ─────────────────────────────────────── */
@media (max-width: 480px) {
  .schedule-message {
    margin: 10px 10px 14px !important;
  }

  .schedule-message-card {
    padding: 13px 14px;
    gap: 11px;
  }

  .schedule-message-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 18px;
    border-radius: 10px;
  }

  .schedule-message-title {
    font-size: 12px;
  }

  .schedule-message-time {
    font-size: 16px;
  }

  .schedule-message-sub {
    font-size: 10px;
  }

  .schedule-message-badge {
    font-size: 9px;
    padding: 3px 8px;
  }
}