/* ========== GLOBAL STYLES ========== */
body {
  font-family: 'Inter', sans-serif;
}

/* ========== BUTTONS ========== */
/* CBE-style button override */
.btn-secondary {
  background-color: #6CA0C1 !important;
  color: #FFFFFF !important;
  border: 1px solid #ccc !important;
  padding: 10px 18px !important;
  font-size: 17.5px;
  font-family: 'Inter', sans-serif;
  border-radius: 6px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease-in-out;
  white-space: nowrap;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: #6CA0C1 !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

/* ========== SPLASH SCREEN ========== */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 2000; /* Must be higher than dropdowns or other components */
}

/* ========== DROPDOWN STYLES ========== */
.pretty-dropdown {
  width: 100%;
  min-width: 180px;
  max-width: 280px;
  padding: 6px 12px;
  font-size: 16px;
  font-weight: 500;
  background-color: #f8f9fa;
  color: #212529;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.pretty-dropdown:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Optional helper to keep dropdowns flexible in flex layouts */
.responsive-dropdown {
  flex-grow: 1;
  max-width: 100%;
}

/* General dropdown style */
.scenario-dropdown {
  width: 100%;
  min-width: 140px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  padding: 6px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Base: outline green button style for all options */
.custom-green-toggle {
  color: #A8C351;
  background-color: white;
  border: 1px solid #A8C351;
  font-weight: bold;
  padding: 6px 12px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Selected button gets green fill and white text */
input:checked + .custom-green-toggle {
  background-color: #A8C351 !important;
  color: white !important;
  border-color: #A8C351 !important;
}

/* Superscripted, small info icon button */
.sup-info-icon {
  font-size: 10px;
  vertical-align: super;
  padding: 0;
  margin-left: 1px;
  background-color: transparent !important;
  border: none !important;
  color: #6CA0C1;
  cursor: pointer;
  line-height: 1;
}


@media screen and (max-width: 576px) {
  .slider-wrapper {
    height: 30px !important;
  }

  .btn.custom-green-toggle {
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
  }

  .form-check-inline {
    flex-wrap: nowrap !important;
  }

  .form-check-label {
    white-space: nowrap;
  }
}


@media screen and (max-width: 576px) {
  .pretty-dropdown {
    font-size: 14px;
    min-width: 100%;
  }
}
