/* ==========================================================================
   Live Business Schedule Status Pill Badge (Foto V-MAG Inspired)
   LiteSpeed Cache Safe: Evaluated client-side from data-schedule attribute
   ========================================================================== */

.kebab-live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8, 8px);
  padding: 6px 14px;
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid var(--color-border-glass, rgba(201, 169, 98, 0.3));
  border-radius: var(--radius-pill, 9999px);
  font-family: var(--font-body, "Lexend", sans-serif);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-cream, #F5F0E8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  min-height: 32px;
}

.kebab-live-status-pill:hover {
  border-color: var(--color-gold, #C9A962);
  box-shadow: 0 0 16px rgba(201, 169, 98, 0.2);
}

.kebab-live-status-pill .status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background-color: #888;
  position: relative;
  flex-shrink: 0;
}

/* Open state: Vibrant emerald green */
.kebab-live-status-pill.is-open .status-indicator-dot {
  background-color: #2ECC71;
  box-shadow: 0 0 8px #2ECC71;
}

.kebab-live-status-pill.is-open .status-indicator-dot::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #2ECC71;
  opacity: 0.6;
  animation: kebab-pulse-dot 2s infinite ease-out;
}

/* Closed state: Coral / Red */
.kebab-live-status-pill.is-closed .status-indicator-dot {
  background-color: #EE5862;
  box-shadow: 0 0 8px #EE5862;
}

@keyframes kebab-pulse-dot {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kebab-live-status-pill.is-open .status-indicator-dot::after {
    animation: none !important;
  }
}
