html {
  background-color: #000000;
}

body {
  background-color: #000000 !important;
  padding: 16px 12px;
}

body.light {
  background-color: #ffffff !important;
}

.card {
  background-color: #111111 !important;
  padding: 12px 6px !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #ced4da !important;
}

.row {
  --bs-gutter-x: 0 !important;
}

/* Annotation */
g.annotation rect {
  rx: 5px;
  stroke: #555555 !important;
}

/* Button/Dropdown */
button {
  padding: 4px 9px;
}

button,
.dropdown {
  font-size: 14px;
  color: #cccccc;
  border: 1px solid #555555;
  background-color: #000000 !important;
  border-radius: 8px !important;
}

.Select,
.has-value.Select--single > .Select-control .Select-value .Select-value-label,
.has-value.is-pseudo-focused.Select--single
  > .Select-control
  .Select-value
  .Select-value-label {
  color: #cccccc !important;
  font-size: 14px;
}

.Select-control,
.Select-menu-outer,
.is-open > .Select-control {
  background-color: #000000 !important;
  border: 1px solid #555555 !important;
}

.Select-input > input {
  color: #cccccc !important;
}

/* Dropdown Sizing */
.Select-control {
  height: 12px !important;
  padding: 0 !important;
}

.Select-input {
  height: 100% !important;
  padding: 4px 8px 4px !important;
}

.Select-input > input {
  padding: 0px !important;
}

.Select-control .Select-value, .Select-placeholder {
  line-height: 28px !important;
}

/* Map */
.card.map-card-container {
  height: 100%;
  padding: 0 !important;
}

/* Slider */
.slider-container {
  text-align: center;
}

.slider-save-date {
  text-align: right;
}

.slider-save-date,
#save_date {
  font-style: italic;
  font-size: 12px;
}

.slider-header {
  color: #ced4da;
  font-size: 16px;
  font-weight: 600;
}

.rc-slider-mark-text {
  color: #adb5bd;
}

/* Switch */
#switch_container {
  display: flex;
  flex: 1;
}

.switch {
  position: relative;
  display: flex;
  align-items: center;
  width: 200px;
  height: 40px;
  border-radius: 8px;
  background-color: #000000;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.toggle-label {
  flex: 1;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  z-index: 2;
  color: var(--bs-body-color);
  transition: color 0.25s ease;
  height: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
}

.toggle-label {
  color: white;
}

.toggle-label.active {
  background-color: #87b8ce;
  color: #111111;
  border-radius: 8px;
}

/* Title */
#metadata-div {
  flex: 1 1 0;
  display: flex;
  justify-content: right;
  align-items: center;
}

.theme-switch-container {
  display: flex;
  align-items: center;
  margin-right: auto;
  flex: 1;
}

#title-text {
  color: #ced4da;
  font-size: 21px;
  font-weight: 600;
  font-style: semibold;
}

#title-card {
  padding: 8px 8px !important;
}

.title-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.title_container {
  text-align: center;
  display: flex;
}

/* Footer */
.footer_text {
  margin-bottom: 0;
  font-size: 12px;
}

.footer_container {
  text-align: center;
}

/* Selector Labels */
.dropdown-label, .datepicker-label {
  color: #CCCCCC;
  font-weight: 600;
  margin-bottom: 4px;
}

/* =========================
   DatePickerRange (dcc)
   ========================= */

/* ---- Input field ---- */
.DateRangePickerInput {
  background-color: #000000 !important;
  border: 1px solid #555555 !important;
  border-radius: 3px !important;
}

.DateInput,
.DateInput_input {
  background-color: #000000 !important;
  color: #cccccc !important;
  font-size: 14px;
  height: 38px;
  border: none !important;
}

.DateRangePickerInput_arrow {
  color: #cccccc;
}

.DateInput_input__focused {
  border-bottom: 1px solid #87b8ce !important;
}

/* ---- Calendar popup shell ---- */
.DateRangePicker_picker,
.DayPicker,
.DayPicker_transitionContainer,
.CalendarMonthGrid,
.CalendarMonth,
.CalendarMonth_table,
.CalendarMonth_week,
.DayPicker_focusRegion {
  background-color: #000000 !important;
}

/* Prevent right / bottom white bleed */
.DayPicker_transitionContainer {
  overflow: hidden !important;
}

/* ---- Month header & weekdays ---- */
.CalendarMonth_caption {
  color: #ced4da !important;
}

.DayPicker_weekHeader {
  color: #adb5bd;
}

/* ---- Days ---- */
.CalendarDay {
  background-color: #000000 !important;
  color: #cccccc !important;
  border: 1px solid #222222 !important;
}

.CalendarDay__hovered,
.CalendarDay__hovered_span {
  background-color: #222222 !important;
  color: #ffffff !important;
}

.CalendarDay__selected,
.CalendarDay__selected_start,
.CalendarDay__selected_end {
  background-color: #87b8ce !important;
  color: #111111 !important;
}

.CalendarDay__selected_span {
  background-color: #2b3a42 !important;
}

/* ---- Disabled days ---- */
.CalendarDay__blocked_out_of_range,
.CalendarDay__blocked_calendar {
  color: red !important;
}

/* ---- Navigation ---- */
.DayPickerNavigation_button {
  background-color: #000000 !important;
  border: 1px solid #555555 !important;
}

.DayPickerNavigation_svg {
  fill: #cccccc !important;
}

/* Dropdown Menu */
.dropdown-menu-toggle {
  font-size: 14px;
  color: #cccccc;
  background-color: #000000 !important;
  border: 1px solid #555555 !important;
  border-radius: 8px !important;
  padding: 4px 9px;
}
 
.dropdown-menu-toggle:hover,
.dropdown-menu-toggle:focus,
.dropdown-menu-toggle:active,
.show > .dropdown-menu-toggle {
  background-color: #000000 !important;
  box-shadow: none !important;
}
 

.dropdown-menu-toggle {
  background-image: none !important;
}
.dropdown-menu-btn .dropdown-menu {
  background-color: #111111 !important;
  /* border: 1px solid #555555 !important; */
  border-radius: 8px !important;
  padding: 4px 0 !important;
  min-width: 160px;
}
 
.dropdown-menu-btn .dropdown-item {
  font-size: 14px;
  color: #cccccc !important;
  padding: 7px 14px;
  background-color: transparent !important;
}
 
.dropdown-menu-btn .dropdown-item:hover {
  background-color: #1e1e1e !important;
  color: #ffffff !important;
}

.dropdown-toggle {
  border: 0px !important;
}

.dropdown-toggle:hover {
  color: #cccccc !important;
}


