/* ---------- Center all the numeric inputs and make them 50% wide ---------- */
input[type="number"] {
  text-align: center;
}

/* helper when you used CENTER_50 */
.dash-input, .dash-textinput {
  text-align: center;
}

/* ---------- Dropdown look & feel (match Aggregate) ---------- */
.inl-dropdown .Select-control {
  height: 36px;
  min-height: 36px;
  border-radius: 6px;
  box-shadow: none;
  border: 1px solid rgba(0,0,0,.2);
  padding: 2px 6px;
}
.inl-dropdown .Select-placeholder,
.inl-dropdown .Select-value-label {
  line-height: 32px;
  text-align: center;          /* Center the selected label text */
  width: 100%;
}
.inl-dropdown .Select-input > input {
  text-align: center;          /* Center typed text too */
}
.inl-dropdown .Select-arrow-zone { padding-right: 6px; }

/* Keep dropdown 100% width like Aggregate */
.inl-dropdown { width: 100%; }

/* ---------- Dotted Slider (rail) like Aggregate ---------- */
.dotted-slider .rc-slider {
  width: 50%;
  margin: 0 auto;              /* center slider block */
}
.dotted-slider .rc-slider-rail {
  height: 6px;
  border-radius: 999px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(0,0,0,0.15) 0,
    rgba(0,0,0,0.15) 6px,
    rgba(0,0,0,0.05) 6px,
    rgba(0,0,0,0.05) 14px
  );
}
.dotted-slider .rc-slider-track {
  height: 6px;
  background-color: rgba(13,110,253,.65); /* bootstrap primary-ish; can inherit */
}
.dotted-slider .rc-slider-handle {
  width: 16px; height: 16px; margin-top: -6px;
  border: 2px solid rgba(13,110,253,.9);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
}

/* ---------- Center labels and helper text globally inside the left card ---------- */
.subcard .card-body .form-label,
.subcard .card-body small,
.subcard .card-body .text-muted {
  text-align: center;
  display: block;
}

/* ---------- Make all dash dcc Inputs visually 50% and centered ---------- */
.subcard .card-body input.dash-input,
.subcard .card-body input[type="number"],
.subcard .card-body input[type="text"] {
  width: 50% !important;
  margin-left: auto;
  margin-right: auto;
}

/* Wrap spacing (slightly tighter than default) */
.tabs-compact-wrap {
  margin-bottom: 6px;
}

/* Make tabs shorter and slimmer */
.tabs-compact .tab {
  padding: 4px 10px;         /* default is ~12-16px; this shrinks height */
  min-height: 28px;          /* keeps them short */
  line-height: 20px;
  font-size: 13px;           /* smaller text */
  border-bottom-width: 2px;  /* crisper selected underline */
}

/* Selected tab: keep it slim */
.tabs-compact .tab--selected {
  padding-bottom: 3px;
  border-bottom-width: 2px;
}

/* Optional: reduce gap around the tab bar itself */
.tabs-compact .tab-container,
.tabs-compact .tab-content {
  margin: 0;
  padding: 0;
}

/* Optional hover feedback while staying compact */
.tabs-compact .tab:hover {
  background-color: rgba(0,0,0,0.03);
}

/* make any dcc.Input with .center-50 fully centered */
.center-50 {
  width: 50% !important;
  margin: 0 auto !important;
  display: block;           /* so margin auto works */
  text-align: center !important;  /* center the text inside the input */
}