/* VIX trigger chart — styling for the panel rendered below the
   NAS100 bars chart in the Charts tab. Sibling stylesheet to
   bars-chart.css so the two charts can evolve independently. */

.vix-chart-tab {
  margin-top: 16px;
  padding: 10px 12px;
  background: #0d1117;
  border: 1px solid #1c2128;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
}

.vix-chart-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.vix-chart-range-group {
  display: flex;
  gap: 4px;
}

.vix-chart-range-group .vix-range-btn {
  background: #161b22;
  color: #888;
  border: 1px solid #30363d;
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
}

.vix-chart-range-group .vix-range-btn.active {
  background: #1f6feb;
  color: #fff;
  border-color: #1f6feb;
}

.vix-chart-header {
  display: flex;
  gap: 12px;
  align-items: center;
}

.vix-chart-title {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.vix-chart-current-vix {
  font-size: 13px;
  font-weight: 600;
  color: #fbc02d;
}

.vix-anchor-warning {
  background: #3a2a14;
  border: 1px solid #6a4a1c;
  color: #ffb74d;
  font-size: 11px;
  padding: 4px 8px;
  margin: 4px 0 6px 0;
  border-radius: 4px;
  cursor: help;
}

.vix-chart-canvas {
  position: relative;
  width: 100%;
  height: 440px;
}

.vix-chart-canvas .vix-overlay {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.vix-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 6px;
  font-size: 10px;
}

.vix-chart-legend .legend-item {
  color: #888;
}

.vix-chart-legend .legend-sep {
  color: #333;
}
