/* custom monitoring styles for Uber-style dashboard */

/* Card styling */
.monitoring-card {
  background: var(--bg-primary);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gray);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px var(--shadow-light);
  height: 100%;
}

.monitoring-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Status Glow Effects */
.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  position: relative;
}

.status-up {
  background-color: #28a745;
  box-shadow: 0 0 10px #28a745;
  animation: pulse-green 2s infinite;
}

.status-down {
  background-color: #dc3545;
  box-shadow: 0 0 10px #dc3545;
  animation: pulse-red 2s infinite;
}

.status-unknown {
  background-color: #6c757d;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
}

/* Terminal Styling for Logs */
.log-terminal {
  background-color: #1e1e1e;
  color: #d4d4d4;
  font-family: 'Fira Code', 'Courier New', monospace;
  padding: 20px;
  border-radius: 8px;
  overflow: auto;
  max-height: 600px;
}

.log-level-INFO {
  color: #4ec9b0;
}
.log-level-WARN {
  color: #ce9178;
}
.log-level-ERROR {
  color: #f44747;
}
.log-level-DEBUG {
  color: #9cdcfe;
}

/* Metrics progress bars */
.metrics-progress {
  height: 8px;
  border-radius: 4px;
  background: #e9ecef;
}

.metrics-progress-bar {
  border-radius: 4px;
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}
