/* Gauge Value Dropdown Overlay */
.gauge-dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.gauge-dropdown-overlay.visible {
  display: flex;
}

.gauge-dropdown-content {
  background: var(--card-bg);
  color: var(--text-color);
  width: 80%;
  max-width: 300px;
  max-height: 70vh;
  border-radius: 12px;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gauge-dropdown-header {
  padding: 15px;
  text-align: center;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
}

.gauge-dropdown-item {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  text-align: center;
  font-size: 1.2rem;
  transition: background 0.1s;
}

.gauge-dropdown-item:last-child {
  border-bottom: none;
}

.gauge-dropdown-item.selected {
  background: var(--accent-blue);
  font-weight: bold;
  color: white;
}

.gauge-dropdown-item:hover:not(.selected) {
  background: rgba(255, 255, 255, 0.1);
}
