/* Place filters inside existing modal body */
.filter-group {
  border-bottom: 1px solid #eeeff1;
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group-list {
  padding: 0 18px 6px;
}

/* Checkbox rows styled similar to .desktop-sr-item but simpler */
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #1a1a2e;
  cursor: pointer;
}

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* More/less block */
.filter-more {
  display: none;
}

.filter-group-list[data-collapsed="false"] .filter-more {
  display: block;
}

/* Show more / less button */
.filter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 18px 10px;
  padding: 4px 0;
  background: none;
  border: none;
  color: #2563eb;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  cursor: pointer;
}

/* Sticky footer inside modal */
.filter-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid #eeeff1;
    background: #fff;
    position: sticky;
    bottom: 0;
}

.filter-btn-reset {
    flex: 1;
    padding: 10px 0;
    background: none;
    border: 1px solid #d1d5db;
    border-radius: 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
    transition: background 0.2s;
}

.filter-btn-reset:hover {
    background: #f3f4f6;
}

.filter-btn-show {
    flex: 2;
    padding: 10px 0;
    background: var(--color-primary);
    border: none;
    border-radius: 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.filter-btn-show:hover {
    background: #1d4ed8;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}