/* status_pulse.css */

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 15px;
  text-transform: uppercase;
}

.pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
  background-color: #00c18c;
  flex-shrink: 0;
  display: inline-block;
}

.pulse::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: pulseAnim 1.6s infinite;
  background-color: #00c18c;
  opacity: 0.5;
  z-index: -1;
}

.pulse.online {
  background-color: #00b388;
}

.pulse.online::before {
  background-color: #00b388;
}

.pulse.manutencao {
  background-color: #ffc107;
}

.pulse.manutencao::before {
  background-color: #ffc107;
}

.pulse.offline {
  background-color: #dc3545;
}

.pulse.offline::before {
  background-color: #dc3545;
}

@keyframes pulseAnim {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  25% {
    transform: scale(1.4);
    opacity: 0.55;
  }
  50% {
    transform: scale(2);
    opacity: 0.7;
  }
  75% {
    transform: scale(1.4);
    opacity: 0.55;
  }
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}
