button {
  outline-width: 0;
  border: 0;
}

.button--text {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.75rem;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 0;
  height: 2.5rem;
  text-align: center;
  text-decoration: none;
  line-height: 36px;
  width: 100%;
}

.button--effect-transform:hover {
  transform: scale(1.05);
}

.button--effect-outline {
  outline: #fff solid;
  outline-offset: -3px;
  outline-width: 0;
  transition: transform 0.2s, outline-width 0.05s;

  &:hover {
    outline-width: 2px;
    outline-color: #fff8;
  }
  &.active {
    transition: outline-width 0.15s;
    outline-width: 3px;
    outline-color: #fff;
  }
}

.effect--box-shadow {
  box-shadow: none;
  transition: box-shadow 0.15s;

  &:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  &.active,
  &:active,
  &:focus {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  }
}

input.effect--box-shadow {
  &:placeholder-shown {
    box-shadow: none;
  }
  &:not(:placeholder-shown) {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  }
}

.button--teal {
  background-color: var(--teal);
  color: #fff;
}
.button--violet {
  background-color: var(--violet-200);
}

.button--pink {
  background-color: #d8288a;
}

.button--red {
  background-color: #d30404;
}

.button--square {
  height: 5.5rem;
  width: 5.5rem;
  border-radius: 100vw;
  margin: auto;
  grid-column: 1 / 2;
  + & {
    grid-column: -2 / -1;
  }
}

.button-row {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: 10px;
  flex-wrap: wrap;
}

.button-row button {
  flex: 1 1 30%;
  min-width: 0;
  white-space: nowrap;
  text-align: center;
}

input {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  padding: clamp(6px, 2vw, 14px);
  border-radius: clamp(6px, 1vw, 12px);
}

.toggle-results-btn {
  width: auto;
  height: 2rem;
  line-height: 28px;
  padding: 0 10px;
  margin-left: var(--sidebar-w);
  border-radius: 0.5rem;
}

.error-msg {
  text-wrap: nowrap;
  opacity: 0;
  background-color: #ba2121;
  color: #fff;
  font-size: 0.85rem;
  margin-block: 0;
  padding-inline: 6px;
  padding-block: 0;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
}
.error-msg.visible {
  margin-block: 10px;
  padding-block: 0.5rem;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}

.result-card .help-icons img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: -3px;
}

.leaflet-div-icon.svg-pin {
  background: transparent;
  border: none;
}
.svg-pin svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

:root {
  --btn-ring: rgba(255, 255, 255, 0.25);
}

.help-filter.active {
  background-color: var(--teal);
  color: #fff;
}

.pagination button {
  background: none;
  color: inherit;
  font-weight: normal;
  width: auto;
  height: auto;
  padding: 0.5em 0.75em;
}

body,
input,
button,
select,
textarea {
  font-family: "Acumin Pro", "Acumin", Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
}

.load-more-btn {
  font-family: "Acumin Pro", "Acumin", Arial, sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.85rem !important;
  background: var(--teal) !important;
  color: #fff !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  padding: 6px 14px !important;
  margin: 10px auto !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.1s;
}
.load-more-btn:hover {
  box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 10px 0;
}

.pagination button {
  font-family: "Acumin Pro", "Acumin", Arial, sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.8rem !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 6px !important;
  background: var(--teal) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pagination button:hover,
.pagination button:focus {
  box-shadow: 0 0 0 2px #fff inset, 0 4px 10px rgba(0, 0, 0, 0.2);
}
