.footer-dark{
background:#000;
color:#e7eef7;
border-top:1px solid #1c2532;
}
.footer-dark .text-muted{ color:#8e9aab!important; }
.footer-dark a{ color:#e7eef7; text-decoration:none; }
.footer-dark a:hover{ color:#fff; text-decoration:underline; }

.footer-dark .social .btn{
border-color:#1c2532;
background:rgba(255,255,255,.04);
}
.footer-dark .social .btn:hover{
background:rgba(255,255,255,.1);
}

.footer-dark .link-list .nav-link{
color:#e7eef7; opacity:.9; padding:.25rem 0;
}
.footer-dark .link-list .nav-link .bi{ opacity:.7; margin-right:.5rem; }
.footer-dark .link-list .nav-link:hover{ opacity:1; }

.footer-dark .legal{
border-top:1px solid #1c2532;
}
.footer-dark .badge-inverse{
background:rgba(255,255,255,.08);
color:#e7eef7;
}
.navbar-brand img {
height: 40px;
width: auto;
}
/* Make navbar links bright by default */
.navbar-dark .navbar-nav .nav-link {
color: #f8f9fa; /* bright white */
font-weight: 500;
}

/* On hover/focus: accent blue */
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
color: #4ea1ff; /* your accent color */
}

/* Active state link */
.navbar-dark .navbar-nav .nav-link.active {
color: #ffffff;
border-bottom: 2px solid #4ea1ff; /* subtle underline accent */
}
/* ===========================
DARK THEME SEARCH BAR
=========================== */
.search-container {
  position: relative;
  max-width: 800px;            /* centers nicely */
  margin-left: auto;
  margin-right: auto;
}

.search-input {
  background-color: #0b0f14 !important;   /* dark bg */
  color: #f8fafc !important;              /* lighter text */
  border: 2px solid #64748b !important;   /* much lighter border */
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  font-size: 1rem;
  width: 100%;
  transition: all 0.2s ease-in-out;
}

.search-input::placeholder {
  color: #e2e8f0;                         /* lighter placeholder */
  opacity: 0.95;
}

.search-input:focus {
  border-color: #93c5fd !important;       /* brighter accent blue */
  box-shadow: 0 0 0 0.25rem rgba(147, 197, 253, 0.35);
  outline: none;
  background-color: #0f141b !important;
}

/* Lighter border variation for visibility */
.border-search {
  border-color: #94a3b8 !important;       /* even lighter slate/grey */
}

/* Search icon */
.search-icon {
  pointer-events: none;
  font-size: 1rem;
  color: #e2e8f0;                         /* lighter grey-blue */
}

/* ===========================
SEARCH DROPDOWN RESULTS
=========================== */
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1050;
  background-color: #0f141b;
  border: 1px solid #64748b;              /* lighter border */
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  max-height: 60vh;
  overflow-y: auto;
  display: none;
}

/* Force show when HTMX injects */
.search-dropdown.show {
  display: block;
}

/* Dropdown links/items */
.search-dropdown a {
  display: block;
  padding: 0.65rem 1rem;
  color: #f8fafc;                          /* brighter text */
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}

.search-dropdown a:hover {
  background-color: #1b2330;
  color: #ffffff;
}

/* Muted info text */
.search-dropdown .text-muted {
  color: #f1f5f9 !important;               /* very light muted */
}

/* ===========================
HTMX LOADING INDICATOR
=========================== */
.htmx-indicator {
position: absolute;
top: 50%;
right: 1rem;
transform: translateY(-50%);
opacity: 0;
transition: opacity 0.2s ease-in-out;
}

.htmx-request .htmx-indicator {
opacity: 1;
}