/* ==========================================================================
   Session UI Components
   Status badges, status dots, and next session highlighting
   ========================================================================== */

/* Status Badges */
.session-status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.session-status-planned {
  opacity: 0.4;
}

.session-status-live {
  opacity: 0.7;
}

.session-status-finished {
  background-color: var(--parchment-dark) !important;
  color: var(--warm-grey);
}

/* Next Session Highlight */

.next-session-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  background-color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.session-card-next {
  position: relative;
  box-shadow: 0 0 0 2px var(--parchment-light),
              0 0 8px var(--shadow-black-medium);
}

.session-card-next:hover {
  box-shadow: 0 0 0 2px var(--parchment-light),
              0 0 12px var(--shadow-black-heavy);
}

/* ==========================================================================
   Status Indicator Dots
   ========================================================================== */

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot-planned {
  background-color: #5b9bd5;
}

.status-dot-live {
  background-color: #70ad47;
  animation: pulse-live 2s ease-in-out infinite;
}

.status-dot-finished {
  background-color: #999;
}

@keyframes pulse-live {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}
