/* Custom Tooltip styles using theme variables for Bootstrap 5 look */
.custom-tooltip-text {
  font-size: 0.875rem;
  max-width: 200px;
  color: var(--theme-dark-color);
  background: var(--theme-light-color);
  border-radius: 0.25rem;
  opacity: 0.9;
  padding: 0.25rem 0.5rem;
  margin: 0;
  position: absolute;
  white-space: nowrap;
  z-index: 10001;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  border: 1px solid var(--theme-dark-color);
  transition: opacity 0.15s;
}
/* Status badge - Live, Next and Replay */

.status-badge {
  font-size: var(--status-badge-font-size);
  background: var(--status-badge-background-color);
  color: var(--status-badge-text-color);
  font-family: var(--status-badge-font-family);
  font-weight: var(--status-badge-font-weight);
  letter-spacing: var(--status-badge-letter-spacing);
  border-radius: var(--status-badge-border-radius);
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid var(--theme-light-color);
}

.status-badge:hover {
  opacity: 0.9;
}

.helpdesk-tooltip-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.custom-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  color: var(--theme-primary-color, #dddddd);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  z-index: 10001;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.custom-tooltip::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: #fff;
}

.helpdesk-tooltip-trigger:hover .custom-tooltip {
  opacity: 1;
  visibility: visible;
}
