html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}




/* custom.css */

.bg-custom-accentbrown {
  background-color: #733F2C !important; /* Custom blue color */
}
.bg-custom-accentgreen {
  background-color: #CCD96C !important; /* Custom green color */
}
.bg-custom-lightbrown {
  background-color: #E1D286 !important; /* Custom orange color */
}
.bg-custom-lightwhite {
  background-color: #F0EADC !important; /* Custom red color */
}
.bg-custom-lightblue {
  background-color: #d7ebe2 !important; /* Custom red color */
}
.bg-custom-littlebluebox {
  background-color: #89C4Ba !important; /* Custom red color */
}



html {
  font-size: 14px; /* base font size */
}

body {
  font-size: 1rem; /* scales relative to the html base size */
}

.small-text {
  font-size: 0.8rem; /* 0.8 x 15px = 12px */
}

.normal-text {
  font-size: 1rem; /* 1 x 15px = 15px */
}

.large-text {
  font-size: 1.5rem; /* 1.5 x 15px = 22.5px */
}

.extra-large-text {
  font-size: 2rem; /* 2 x 15px = 30px */
}


/* Override default btn-primary colors */
.btn-primary {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  border: none;
  color: #ffffff;
}

/* Override for the hover and focus states as well */
.btn-primary:hover,
.btn-primary:focus {
  opacity: 0.9;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
}

/* Disabled button styles */
.btn:disabled, button:disabled {
    background-color: grey !important;
    border-color: grey !important;
    color: white !important;
}

/* Outline-primary button hover state matches primary gradient */
.btn-outline-primary:hover {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  border-color: transparent;
  color: #ffffff;
}

/* Dropdown toggles styling: purple font and border, default background */
.dropdown-toggle {
  /* Maintain default background and border; only override text color */
  color: #2a5298;
}

.dropdown-toggle:focus,
 .dropdown-toggle:hover {
  color: #2a5298;
  background: transparent; /* remove any gradient/image and keep default background */
}

/* Prevent blue background when dropdown is expanded/open */
.dropdown-toggle.show,
.dropdown-toggle[aria-expanded="true"],
.dropdown-toggle.show:focus {
  background: transparent !important;
  color: #2a5298 !important;
  box-shadow: none !important;
}

/* Selected dropdown menu item uses primary gradient */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #ffffff;
}

/* Dropdown menu items hover state */
.dropdown-menu .dropdown-item:hover {
  background-color: #e0e7ff;
}
/* Program selector dropdown: transparent border only for this button */
#programSelector {
  border-color: transparent !important;
}
#programSelector:hover,
#programSelector:focus,
#programSelector.show,
#programSelector[aria-expanded="true"] {
  border-color: transparent !important;
  box-shadow: none !important;
}

.switch-program-toast {
  min-width: 280px;
  border-radius: 0.75rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.switch-program-toast .toast-body {
  font-weight: 500;
  padding: 0.85rem 1rem;
}

.switch-program-toast .toast-body i {
  font-size: 1.1rem;
  color: currentColor;
}
