/* =========================================================
   BASE BUTTON STYLES
========================================================= */

button {
  font: inherit;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
  min-height: 44px;
}

/* =========================================================
   PRIMARY BUTTON
========================================================= */

button.primary {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
}

/* =========================================================
   SECONDARY BUTTON
========================================================= */

button.secondary {
  background: #e5e7eb;
  color: #111;
}

/* =========================================================
   BACK BUTTON
========================================================= */

.back-btn {
  width: fit-content;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 10px 14px;
}

/* =========================================================
   FILTER MODAL TRIGGER BUTTON
========================================================= */

#open-filter-modal {
  margin-top: 8px;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 8px 12px;

  font-size: 13px;
  font-weight: 700;

  border-radius: 10px;

  background: var(--primary);
  color: #fff;

  border: 1px solid rgba(34, 197, 94, 0.35);

  cursor: pointer;
  transition: all 0.2s ease;
}

#open-filter-modal:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

#open-filter-modal:active {
  transform: translateY(0px);
}

/* =========================================================
   MAP CARD BUTTONS
========================================================= */

.map-card-close {
  position: absolute;
  top: 10px;
  right: 10px;

  width: 32px;
  height: 32px;

  border-radius: 999px;

  background: #f1f5f9;
}

.map-learn-more {
  width: 100%;
  margin-top: 18px;
}