.hhd-header-card .card-body {
  padding: 14px 16px;
}

.hhd-controls {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.hhd-controls .hhd-input,
.hhd-controls input.hhd-input.form-control {
  background: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 12px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  height: 38px;
  min-width: 260px;
}

.hhd-controls .hhd-input::placeholder {
  color: rgba(255, 255, 255, 0.50) !important;
}

.hhd-controls .hhd-input:focus {
  border-color: rgba(46, 204, 113, 0.70) !important;
  box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.42) !important;
}

.hhd-go {
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  height: 38px;
  padding: 0 18px !important;
}

.hhd-pill {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  min-height: 28px;
  white-space: nowrap;
}

.hhd-view-tabs > .nav,
.hhd-metric-tabs > .nav {
  border-bottom: 0 !important;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 8px 0;
}

.hhd-view-tabs .nav-tabs,
.hhd-metric-tabs .nav-tabs {
  border-bottom: 0 !important;
}

.hhd-view-tabs .nav-link,
.hhd-metric-tabs .nav-link {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  padding: 8px 16px !important;
}

.hhd-view-tabs .nav-link.active {
  background: rgba(46, 204, 113, 0.20) !important;
  border-color: rgba(46, 204, 113, 0.78) !important;
  box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.18);
  color: #2ecc71 !important;
}

.hhd-metric-tabs > .nav {
  gap: 6px;
  margin-top: 2px;
}

.hhd-metric-tabs .nav-link {
  background: rgba(120, 160, 255, 0.08) !important;
  border-color: rgba(120, 160, 255, 0.22) !important;
  color: rgba(210, 225, 255, 0.78) !important;
  font-size: 12px !important;
  padding: 6px 14px !important;
}

.hhd-metric-tabs .nav-link.active {
  background: rgba(120, 160, 255, 0.22) !important;
  border-color: rgba(120, 160, 255, 0.72) !important;
  color: #b9ccff !important;
}

.hhd-view-tabs .tab-content,
.hhd-metric-tabs .tab-content {
  border-top: 0 !important;
  padding-top: 0 !important;
}

@media (max-width: 720px) {
  .hhd-controls {
    flex-wrap: wrap;
  }

  .hhd-controls .hhd-input,
  .hhd-controls input.hhd-input.form-control {
    flex: 1 1 180px;
    min-width: 180px;
  }

  .hhd-pill {
    flex-basis: 100%;
    overflow-x: auto;
  }
}
.hhd-select,
.hhd-controls select.hhd-select.form-select {
  background-color: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 12px !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  height: 38px;
  min-width: 92px;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

.hhd-select-small,
.hhd-controls select.hhd-select-small.form-select {
  min-width: 116px;
}

.hhd-view-tabs,
.hhd-metric-tabs {
  margin-bottom: 14px;
}

.hhd-view-tabs > ul.nav,
.hhd-metric-tabs > ul.nav,
.hhd-view-tabs ul.nav-tabs,
.hhd-metric-tabs ul.nav-tabs {
  align-items: center !important;
  border-bottom: 0 !important;
  column-gap: 10px !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  margin-bottom: 14px !important;
  row-gap: 0 !important;
}

.hhd-metric-tabs > ul.nav,
.hhd-metric-tabs ul.nav-tabs {
  margin-bottom: 16px !important;
  margin-top: 8px !important;
}

.hhd-view-tabs .nav-item,
.hhd-metric-tabs .nav-item {
  line-height: 1 !important;
  margin: 0 !important;
}

.hhd-view-tabs .nav-link,
.hhd-metric-tabs .nav-link {
  align-items: center !important;
  display: inline-flex !important;
  height: 32px !important;
  justify-content: center !important;
  margin: 0 !important;
  min-width: 92px;
}

.hhd-view-tabs .nav-link {
  height: 34px !important;
  min-width: 104px;
}

.hhd-view-tabs .nav-link.active,
.hhd-metric-tabs .nav-link.active {
  border-bottom-color: currentColor !important;
  margin-bottom: 0 !important;
}

.hhd-view-tabs > .tab-content,
.hhd-metric-tabs > .tab-content,
.hhd-view-tabs .tab-content,
.hhd-metric-tabs .tab-content {
  border: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.hhd-plot-tabs {
  margin-bottom: 0;
}
.hhd-controls {
  flex-direction: row !important;
  width: 100%;
}

.hhd-controls > * {
  flex: 0 0 auto !important;
}

.hhd-controls .hhd-input,
.hhd-controls input.hhd-input.form-control {
  flex: 0 0 260px !important;
  width: 260px !important;
}

.hhd-controls .hhd-go {
  flex: 0 0 auto !important;
  width: auto !important;
}

.hhd-controls .hhd-select,
.hhd-controls select.hhd-select.form-select {
  flex: 0 0 92px !important;
  max-width: 92px !important;
  width: 92px !important;
}

.hhd-controls .hhd-select-small,
.hhd-controls select.hhd-select-small.form-select {
  flex-basis: 116px !important;
  max-width: 116px !important;
  width: 116px !important;
}

.hhd-controls .hhd-pill {
  flex: 0 1 auto !important;
  width: auto !important;
}
.hhd-plot-control-row {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 2px 0 14px 0;
}

.hhd-plot-control-row .hhd-select,
.hhd-plot-control-row select.hhd-select.form-select {
  background-color: #050807 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 12px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  flex: 0 0 92px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  height: 38px;
  max-width: 92px !important;
  width: 92px !important;
}

.hhd-plot-control-row .hhd-select-small,
.hhd-plot-control-row select.hhd-select-small.form-select {
  flex-basis: 116px !important;
  max-width: 116px !important;
  width: 116px !important;
}

.hhd-select option,
.hhd-plot-control-row .hhd-select option {
  background: #050807 !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

.hhd-view-tabs > ul.nav,
.hhd-metric-tabs > ul.nav,
.hhd-view-tabs ul.nav-tabs,
.hhd-metric-tabs ul.nav-tabs {
  border: 0 !important;
  box-shadow: none !important;
}

.hhd-view-tabs .nav-link,
.hhd-metric-tabs .nav-link,
.hhd-view-tabs .nav-link.active,
.hhd-metric-tabs .nav-link.active {
  border-bottom-width: 1px !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.hhd-heatmap-layout {
  align-items: stretch;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 4fr) minmax(220px, 1fr);
}

.hhd-heatmap-main {
  min-width: 0;
}

.hhd-stats-card {
  min-width: 0;
}

.hhd-stats-card .card-body {
  padding: 10px 12px;
}

.hhd-stat-row,
.hhd-node-row,
.hhd-outlier-row {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 8px;
  min-height: 26px;
}

.hhd-stat-row {
  grid-template-columns: 1fr auto;
}

.hhd-node-row {
  grid-template-columns: 1fr auto;
}

.hhd-outlier-row {
  grid-template-columns: 54px 1fr auto;
}

.hhd-stat-row span,
.hhd-node-row span,
.hhd-outlier-row span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
}

.hhd-stat-row b,
.hhd-node-row b,
.hhd-outlier-row b {
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.hhd-stats-title {
  color: #2ecc71;
  font-size: 11px;
  font-weight: 900;
  margin: 12px 0 4px 0;
  text-transform: uppercase;
}

.hhd-stats-list {
  display: flex;
  flex-direction: column;
}

.hhd-pos {
  color: #2ecc71 !important;
}

.hhd-neg {
  color: #ff4d5e !important;
}

@media (max-width: 1100px) {
  .hhd-heatmap-layout {
    grid-template-columns: 1fr;
  }
}
.hhd-view-tabs,
.hhd-metric-tabs,
.hhd-view-tabs > div,
.hhd-metric-tabs > div,
.hhd-view-tabs .nav,
.hhd-metric-tabs .nav,
.hhd-view-tabs .nav-tabs,
.hhd-metric-tabs .nav-tabs,
.hhd-view-tabs .tab-content,
.hhd-metric-tabs .tab-content {
  border-bottom: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
}

.hhd-view-tabs .nav-link,
.hhd-metric-tabs .nav-link,
.hhd-view-tabs .nav-link:hover,
.hhd-metric-tabs .nav-link:hover,
.hhd-view-tabs .nav-link.active,
.hhd-metric-tabs .nav-link.active {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  outline: 0 !important;
}

.hhd-heatmap-main .card-body {
  overflow-x: auto;
}

.hhd-heatmap-main .txe-heatmap-wrap,
.hhd-heatmap-main .txe-heatmap-scroll {
  max-width: 100%;
  overflow-x: auto !important;
}

.hhd-heatmap-main table {
  min-width: max-content !important;
  table-layout: fixed !important;
  width: max-content !important;
}

.hhd-heatmap-main th,
.hhd-heatmap-main td {
  min-width: 96px !important;
  width: 96px !important;
}

.hhd-heatmap-main th:first-child,
.hhd-heatmap-main td:first-child {
  min-width: 70px !important;
  width: 70px !important;
}

.hhd-node-row {
  grid-template-columns: 58px 1fr auto;
}

.hhd-outlier-row {
  grid-template-columns: 58px 1fr auto;
}
.hhd-stats-card .card-header {
  font-size: 14px !important;
}

.hhd-stats-card .card-body {
  padding: 12px 14px !important;
}

.hhd-stat-row,
.hhd-node-row,
.hhd-outlier-row {
  min-height: 32px !important;
}

.hhd-stat-row span,
.hhd-node-row span,
.hhd-outlier-row span {
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.hhd-stat-row b,
.hhd-node-row b,
.hhd-outlier-row b {
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.hhd-stats-title {
  font-size: 13px !important;
  margin: 14px 0 6px 0 !important;
}

.hhd-node-row,
.hhd-outlier-row {
  grid-template-columns: 70px 1fr auto !important;
}
.hhd-heatmap-main th,
.hhd-heatmap-main td {
  min-width: 124px !important;
  width: 124px !important;
}

.hhd-heatmap-main th:first-child,
.hhd-heatmap-main td:first-child {
  min-width: 82px !important;
  width: 82px !important;
}
.hhd-strike-row {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  min-height: 32px !important;
}

.hhd-strike-row span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1.2 !important;
}

.hhd-strike-row b {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px !important;
  font-weight: 900;
  line-height: 1.2 !important;
  white-space: nowrap;
}
.hhd-plot-control-row .hhd-dte-select,
.hhd-plot-control-row select.hhd-dte-select.form-select {
  flex-basis: 124px !important;
  max-width: 124px !important;
  width: 124px !important;
}

.hhd-date-range {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto !important;
}

.hhd-date-range .DateRangePickerInput,
.hhd-date-range .DateInput,
.hhd-date-range .DateInput_input {
  background: #050807 !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

.hhd-date-range .DateRangePickerInput {
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 12px !important;
  overflow: hidden;
}

.hhd-date-range .DateInput_input {
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  height: 36px !important;
  line-height: 36px !important;
  padding: 0 8px !important;
  width: 92px !important;
}

.hhd-date-range .DateRangePickerInput_arrow,
.hhd-date-range .DateRangePickerInput_clearDates {
  color: rgba(255, 255, 255, 0.58) !important;
}
.hhd-price-graph {
  height: 78vh !important;
  min-height: 760px !important;
  width: 100% !important;
}

.hhd-price-graph .js-plotly-plot,
.hhd-price-graph .plot-container,
.hhd-price-graph .svg-container,
.hhd-price-graph .main-svg {
  height: 100% !important;
  min-height: 760px !important;
  width: 100% !important;
}
.hhd-date-range .DateRangePicker_picker,
.hhd-date-range .DayPicker,
.hhd-date-range .DayPicker_focusRegion,
.hhd-date-range .DayPicker_transitionContainer,
.hhd-date-range .CalendarMonthGrid,
.hhd-date-range .CalendarMonth,
.hhd-date-range .CalendarMonth_table {
  background: #080c0b !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

.hhd-date-range .DateRangePicker_picker {
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.66) !important;
  overflow: hidden !important;
  z-index: 10000 !important;
}

.hhd-date-range .CalendarMonth_caption,
.hhd-date-range .DayPicker_weekHeader,
.hhd-date-range .DayPickerNavigation_button {
  color: rgba(255, 255, 255, 0.82) !important;
}

.hhd-date-range .DayPickerNavigation_button {
  background: #101715 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px !important;
}

.hhd-date-range .CalendarDay__default {
  background: #0d1412 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.84) !important;
}

.hhd-date-range .CalendarDay__default:hover {
  background: rgba(0, 212, 127, 0.22) !important;
  border-color: rgba(0, 212, 127, 0.45) !important;
  color: #ffffff !important;
}

.hhd-date-range .CalendarDay__blocked_out_of_range,
.hhd-date-range .CalendarDay__blocked_out_of_range:hover,
.hhd-date-range .CalendarDay__blocked_calendar,
.hhd-date-range .CalendarDay__blocked_calendar:hover {
  background: #060908 !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
  color: rgba(255, 255, 255, 0.18) !important;
  cursor: not-allowed !important;
  text-decoration: line-through !important;
}

.hhd-date-range .CalendarDay__selected,
.hhd-date-range .CalendarDay__selected:hover,
.hhd-date-range .CalendarDay__selected_span,
.hhd-date-range .CalendarDay__hovered_span {
  background: rgba(0, 212, 127, 0.34) !important;
  border-color: rgba(0, 212, 127, 0.72) !important;
  color: #ffffff !important;
}
