/*General layout*/
body {
  margin: 0;
  font-family: 'Calibri', 'Arial', sans-serif;
}

/* change the background color */
.navbar-custom {
    background-color: #4433cc;
}

/* RangeSlider color */
.rc-slider-handle {
    border: solid 2px #0d6efd !important;
}
.rc-slider-dot {
    border: solid 2px #0d6efd !important;
}
.rc-slider-track {
    border: solid 2px #0d6efd !important;
}
.rc-slider-rail {
    background-color: lightgrey;
}

/* Target the dropdown menu items */
.VirtualizedSelectOption {
    background-color: white;
    color: black;
}

.VirtualizedSelectFocusedOption {
    background-color: #0d6efd; /* ADFC light blue*/
    color: #fff;
}

/* DatePickerRange */

/* Style the input boxes */
.DateInput_input,
.DateInput_input_1 {
    background-color: #fff !important;
    color: #212529 !important; /* Bootstrap black/grey font */
    font-style: inherit;
    font-size: 15px;
    font-weight: 400;
    width: 100px !important;
    height: 30px !important;
    border: none !important;
}

/* Style the calendar popup */
.DayPicker {
    background-color: #fff !important; /* Box shade white*/
    color: #fff !important;
    border-color: blue !important;
}

.DateRangePickerKeyboardShortcuts_showSpan {
    visible: False !important;
    background: fff !important;
    border-color: blue !important;
 }

/* Highlight selected dates */
.CalendarDay__selected_span,
.CalendarDay__selected_span_3 {
    background: #D7EDF2 !important; /* BZM light blue */
    color: #212529 !important; /* Bootstrap black/grey font */
    border-color: #DEDEDE !important; /* ADFC light grey */
}

/* Navigation arrows left and right*/
.DayPickerNavigation_button {
    background: #fff;
}

/* Range start and end */
.CalendarDay__selected_start,
.CalendarDay__selected_end {
    background: #0d6efd !important; /* Bootstrap blue */
    color: white;
}

/* border on focus - default is blue
 * shadow box around input box.  default is blue
 */
.dbc .is-focused:not(.is-open) > .Select-control {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.3);
}

.js-plotly-plot, .dash-graph {
    touch-action: none;
    -ms-touch-action: none;
}

.header-fixed {
  height: 1.0rem;        /* adjust to fit 1–2 lines */
  line-height: 1.0rem;
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
}

.col-flex {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* or space-between if you want spacing */
}

.header-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;    /* max lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}