/* =========================================
   Global Settings & Imports
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto');

html * {
  font-family: 'Manrope', 'Roboto', sans-serif;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

/* =========================================
   1. Compact Horizontal Filters
   ========================================= */
.filter-grid-container {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 10px;
  gap: 5px;
  overflow: hidden; /* Prevents outer scroll */
}

/* The scrollable area */
.filter-section {
  display: flex;
  overflow-x: auto;      /* Horizontal Scroll */
  white-space: nowrap;   /* No wrapping */
  padding: 10px 0;
  gap: 8px;
  flex-grow: 1;
  -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
  scrollbar-width: none; /* Firefox: Hide scrollbar */
}

/* Hide scrollbar for Chrome/Safari */
.filter-section::-webkit-scrollbar {
  display: none;
}

/* Smaller, Pill-shaped Buttons */
.filter-item-small {
  background: white !important;
  color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 50px !important; /* Pill shape */
  padding: 5px 12px !important;   /* Compact padding */
  font-size: 1.1rem !important;   /* Smaller text */
  font-weight: 600 !important;
  margin: 0 !important;
  flex-shrink: 0;                 /* Prevents button squishing */
  transition: all 0.2s;
  height: auto !important;
}

.filter-item-small:hover, .filter-item-small.active {
  border-color: #066832 !important;
  color: #066832 !important;
  background-color: #f0fdf4 !important;
}

/* Clear Filter Button Wrapper */
.filter-grid-item:first-child {
  flex-shrink: 0;
}

/* =========================================
   2. Search & Tabs
   ========================================= */
#tabs_section {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px 10px;
  background: white;
  overflow-x: auto;
}

.search-mode {
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: 50px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  color: #1e293b;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  white-space: nowrap;
}

#search_section {
  background: white;
  padding: 0 15px 5px 15px;
}

.input-group {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

#searchplacetext {
  border: none;
  padding: 10px 15px;
  font-size: 1.4rem;
  box-shadow: none;
}

#btnGroupAddon {
  background-color: #066832 !important;
  border: none;
  color: white !important;
}