/* Component Status Indicators */
.status-indicator {
  position: relative;
  display: inline-block;
}

.status-indicator[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 4px;
  padding: 6px 12px;
  background-color: #1f2937;
  color: white;
  font-size: 0.75rem;
  font-weight: normal;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 1000;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.status-indicator[title]:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 12px;
  margin-bottom: -4px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  border-color: #1f2937 transparent transparent transparent;
  z-index: 1001;
}

/* Ensure the status dot animation for active status */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.status-indicator .bg-green-400 {
  animation: pulse 2s ease-in-out infinite;
}