/* Bot Status Styles */
.bot-status-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: default;
  user-select: none;
}

.bot-status-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(108, 117, 125, 0.1) 0%, rgba(108, 117, 125, 0.05) 100%);
  border: 1px solid rgba(108, 117, 125, 0.2);
  border-radius: 8px;
  color: var(--text-gray);
  font-size: 0.95rem;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

.bot-status-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.bot-status-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 2s infinite;
}

.bot-status-indicator {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 1;
}

.bot-status-dot {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  box-shadow: 0 0 8px currentColor;
}

.bot-status-text {
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 1;
}

.bot-status-icon {
  font-size: 1.1rem;
}

.bot-status-name {
  font-weight: 600;
}

/* Online Status */
.bot-status-content.online {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.05) 100%);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #28a745;
}

.bot-status-content.online .bot-status-dot {
  background: #28a745;
}

/* Offline Status */
.bot-status-content.offline {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(220, 53, 69, 0.05) 100%);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #dc3545;
}

.bot-status-content.offline .bot-status-dot {
  background: #dc3545;
  animation: none;
  opacity: 0.6;
}

/* Unknown Status */
.bot-status-content.unknown {
  background: linear-gradient(135deg, rgba(108, 117, 125, 0.15) 0%, rgba(108, 117, 125, 0.05) 100%);
  border: 1px solid rgba(108, 117, 125, 0.3);
  color: var(--text-gray);
}

.bot-status-content.unknown .bot-status-dot {
  background: var(--text-gray);
  animation: none;
}

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

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .bot-status-content {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .bot-status-text {
    gap: 4px;
  }

  .bot-status-name {
    display: none;
  }
}
