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;
}

/* Enhanced Navbar Brand Visibility */
.navbar-brand {
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  color: #0c5f8f !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.navbar-brand:hover {
  color: #0052a3 !important;
}

.navbar-brand i {
  color: #1fa088;
  margin-right: 0.5rem;
}

.navbar-brand span {
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Branding Header */
.branding-header {
  width: 89%;
  background-color: var(--primary-color);
  color: white;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   HMIS360 Universal Live Search & AJAX Results Styling
   ========================================================================== */
.live-search-loading {
  opacity: 0.55 !important;
  pointer-events: none !important;
  transition: opacity 0.18s ease-in-out;
}

.live-search-spinner-active {
  color: #0c5f8f !important;
}

/* Subtle progress bar indicator for live search container */
.live-search-container {
  position: relative;
}

.live-search-bar {
  display: none;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #0c5f8f 0%, #1fa088 50%, #0c5f8f 100%);
  background-size: 200% 100%;
  animation: liveSearchSlide 1.2s infinite linear;
  border-radius: 3px 3px 0 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.live-search-loading > .live-search-bar {
  display: block;
}

@keyframes liveSearchSlide {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}