.bar text.value {
  fill: white;
}

.axis {
  shape-rendering: crispEdges;
}

.axis path {
  fill: none;
}

.x.axis line {
  stroke: #fff;
  stroke-opacity: 0.8;
}

.y.axis path {
  stroke: black;
}

.point-label {
  pointer-events: none;
}

.dr-point.unhighlighted,
.point-label.unhighlighted,
.point-container.unhighlighted {
  fill-opacity: 0.1 !important;
}

#d3Tooltip {
  background-color: rgba(255, 255, 255, 0.90);
  color: #000000;
  border-radius: 4px;
  box-shadow: 3px 2px 2px rgba(0, 0, 0, 0.3);
  position: absolute;
  display: none;
  border: 1px solid black;
  padding: 5px;
  z-index: 2;
  pointer-events: none;
}

#d3-plot-container {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(80px, 1fr) repeat(2, minmax(0, 600px)) minmax(80px, 1fr);
}

#togglePlotSettings {
  position: absolute;
  right: 32px;
  /* top: 60px; */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: rgba(34, 45, 50, 0.35);
  cursor: pointer;
  text-decoration: none;
  z-index: 10;
}

#togglePlotSettings:hover,
#togglePlotSettings:focus,
#togglePlotSettings:visited {
  color: rgba(34, 45, 50, 0.8);
  text-decoration: none;
}

#plot-settings-icon {
  position: static;
}

#plotSettings {
  position: absolute;
  right: 88px;
  /* top: 60px; */
  width: 180px;
  padding: 12px 14px 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
  z-index: 9;
}

#plotSettings .shiny-input-container {
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
}

#plotSettings .control-label {
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

#plotSettings .irs {
  height: 34px;
}

#plotSettings .irs-line,
#plotSettings .irs-bar {
  top: 19px;
  height: 4px;
}

#plotSettings .irs-line {
  background: rgba(0, 0, 0, 0.14);
  border: 0;
}

#plotSettings .irs-line::before,
#plotSettings .irs-bar::before {
  cursor: ew-resize !important;
}

#plotSettings .irs-bar {
  background: #222d32;
  border: 0;
}

#plotSettings .irs-handle {
  top: 13px;
  width: 16px;
  height: 16px;
  border: 2px solid #222d32;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#plotSettings .irs-handle i {
  display: none;
}

#plotSettings .irs-min,
#plotSettings .irs-max {
  display: none;
}

#plotSettings .irs-single {
  top: -1px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #222d32;
  font-size: 10px;
}
