/* =============================== */
/* ===== FORM CONTAINER WRAP ===== */
/* =============================== */
.region-top-header-form {
  padding: 0 !important;
  margin-top: 90px; /* Space below fixed navbar */
  min-height: 40px;
  position: relative;
  z-index: 998;
}

/* ===================== */
/* ===== FORM WRAP ===== */
/* ===================== */
.navbar-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  gap: 8px;
  padding: 10px;
background-color: #1F6CB5;
  border-radius: 10px;
  position: relative;
  z-index: 999;
}

/* ======================== */
/* ==== SEARCH INPUT ====== */
/* ======================== */
.navbar-form input[type="search"] {
  width: 600px;
  max-width: 100%;
  padding: 4px 8px;
  font-size: 18px;
  text-align: left;
  border: 1px solid #ccc;
  border-radius: 50px;
  box-sizing: border-box;
  flex: unset; /* prevent shrinking on desktop */
}

/* ======================== */
/* ==== SEARCH BUTTON ===== */
/* ======================== */
.navbar-form button {
  padding: 4px 10px;
  font-size: 16px;
  border-radius: 50px;
  border: none;
  background-color: #ffffff;
  color: #1F6CB5;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.navbar-form button:hover {
  background-color: #e6e6e6;
}

/* =========================== */
/* ===== RESPONSIVE RULES ==== */
/* =========================== */
@media (max-width: 1024px) {
  .navbar-form input[type="search"] {
    font-size: 16px;
    width: 100%;
    .block-search-form-block { text-align: center;}
  }
}

@media (max-width: 768px) {
  .navbar-form {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    padding: 10px;
    gap: 8px;
  }

  .navbar-form input[type="search"],
  .navbar-form button {
    width: 100%;
    font-size: 16px;
  }

  .region-top-header-form {
    margin-top: 70px; /* Less offset for smaller navbar */
  }
}
 
 
 #navbar-top {
    background-color: #1f6cb5 !important;
 	
 }
 
 .navbar-form{ padding: 0 !important;}
 .mb-3 { margin-bottom: 0px !important;}
 
 .region-top-header-form{margin-top: 82px !important;
 }
    