/* HR ZIP — shared list filter bar */

.hrzip-filter-bar {
  background: #fff;
  border-bottom: 1px solid #e8edf4;
  padding: 12px 0 14px;
  position: sticky;
  top: var(--cat-bar-sticky-top, 64px);
  z-index: 15;
}

.hrzip-filter-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page-pad-x);
  display: grid;
  gap: 10px;
}

.hrzip-filter-toggle {
  display: none;
  width: 100%;
  height: 40px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.hrzip-filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
}

.hrzip-filter-field {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.hrzip-filter-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #8b93a0;
  letter-spacing: -0.02em;
}

.hrzip-filter-select,
.hrzip-filter-date {
  height: 38px;
  min-width: 140px;
  max-width: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
}

.hrzip-filter-select:focus,
.hrzip-filter-date:focus {
  outline: none;
  border-color: #9cbcff;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12);
}

.hrzip-filter-range {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.hrzip-filter-range[hidden] {
  display: none !important;
}

.hrzip-filter-range__sep {
  color: #93a0ae;
  font-size: 12px;
}

.hrzip-filter-reset {
  height: 38px;
  padding: 0 14px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-left: auto;
}

.hrzip-filter-reset:hover {
  border-color: #9cbcff;
  color: var(--blue);
  background: #f5f8ff;
}

.hrzip-filter-count {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -0.03em;
}

.hrzip-filter-count strong {
  color: var(--blue);
}

.hrzip-filter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .hrzip-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hrzip-filter-controls {
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .hrzip-filter-controls.is-open {
    display: flex;
  }

  .hrzip-filter-select,
  .hrzip-filter-date,
  .hrzip-filter-reset {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .hrzip-filter-range {
    width: 100%;
  }

  .hrzip-filter-range .hrzip-filter-date {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .hrzip-filter-bar__inner {
    padding-left: var(--page-pad-x);
    padding-right: var(--page-pad-x);
  }
}
