.button-primary {
  background: linear-gradient(135deg, #0073aa, #005177);
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.button-primary:hover {
  background: linear-gradient(135deg, #005177, #003f5c);
}

.button-secondary {
  background: #f6f7f7;
  border: 1px solid #ccd0d4;
  color: #333;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
}

.button-secondary:hover {
  background: #eaf1f1;
}

.sentinelpro-pill-toggle {
  display: inline-block;
  border: 1px solid #ccd0d4;
  border-radius: 999px;
  padding: 6px 14px;
  margin: 5px;
  background: #f1f1f1;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  color: #000;
}

.sentinelpro-pill-toggle input[type="checkbox"] {
  display: none;
}

.sentinelpro-pill-toggle input[type="checkbox"]:checked + span {
  background-color: #0073aa;
  color: #fff;
}

.sentinelpro-chip {
  background: #e0f0ff;
  color: #0073aa;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sentinelpro-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}

.sentinelpro-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.sentinelpro-slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 20px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}

.sentinelpro-slider::before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 2px;
  top: 2px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

.sentinelpro-switch input:checked + .sentinelpro-slider {
  background-color: #1a73e8;
}

.sentinelpro-switch input:checked + .sentinelpro-slider::before {
  transform: translateX(18px);
}

.sentinelpro-tooltip {
  position: relative;
  cursor: help;
}

.sentinelpro-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #333;
  color: #fff;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 1000;
}

.sentinelpro-tooltip:hover::after {
  opacity: 1;
}

.sentinelpro-hidden {
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.sentinelpro-button-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

#chart-container.empty canvas,
#chart-container.empty #gauge-summary-cards {
  opacity: 0.15;
  pointer-events: none;
}
