/**
 * UI-only styling for the Schools geosearch exposed filter.
 *
 * Intentionally lightweight and scoped to avoid affecting other pages.
 */

.view-schools .views-exposed-form.csbb-geosearch-exposed {
  margin-bottom: 1.25rem;
}

.view-schools .csbb-geosearch-exposed__top {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.view-schools .csbb-geosearch-exposed__help {
  margin: 0;
  max-width: 170px;
  font-size: 1.05rem;
  line-height: 1.25;
  opacity: 0.85;
}

.view-schools .csbb-geosearch-exposed__row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  flex-wrap: wrap;
  flex: 1 1 360px;
}

.view-schools .csbb-geosearch-exposed__input {
  flex: 1 1 340px;
  min-width: 260px;
  max-width: 520px;
  height: 56px;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  font-size: 1.05rem;
}

.view-schools .csbb-geosearch-exposed__input:focus {
  outline: none;
  border-color: rgba(0, 92, 185, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 92, 185, 0.18);
}

.view-schools .views-exposed-form.csbb-geosearch-exposed .form-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
}

.view-schools .csbb-geosearch-exposed__submit,
.view-schools .csbb-geosearch-exposed__reset {
  height: 56px;
  padding: 0 1.35rem;
  border-radius: 16px;
  font-weight: 700;
}

.view-schools .csbb-geosearch-exposed__reset {
  background: #0585b3;
  border: 0;
  color: #fff;
}

.view-schools .csbb-geosearch-exposed__reset:hover,
.view-schools .csbb-geosearch-exposed__reset:focus {
  background: #04759e;
  color: #fff;
}

/* Keep submit accessible but hide visually (Enter in the field still submits). */
.view-schools .csbb-geosearch-exposed__submit--sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 575.98px) {
  .view-schools .csbb-geosearch-exposed__top {
    gap: 0.75rem;
  }
  .view-schools .csbb-geosearch-exposed__help {
    max-width: none;
  }
  .view-schools .csbb-geosearch-exposed__row {
    gap: 0.5rem;
  }
  .view-schools .csbb-geosearch-exposed__input {
    flex-basis: 100%;
    min-width: 0;
    max-width: none;
  }
}


