@charset "UTF-8";
.search-results__search {
  margin-bottom: 2rem;
}

.search-results-wrapper {
  /* Filtry */
}
.search-results-wrapper .search-results-wrapper.employee-zone-b {
  /* Specjalne style dla strefy pracownika */
}
.search-results-wrapper .search-results {
  position: relative;
}
.search-results__filters {
  margin-bottom: 2rem;
}

.search-results__filters-title-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.search-results__filters-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
}

/* Przyciski filtrów */
.button--gray-white {
  background: #f5f5f5;
  color: #333;
}

.button--red-white {
  background: #e30613;
  color: #fff;
}

.button:hover {
  opacity: 0.9;
}

/* Mobilne filtry */
.search-results__filters-mobile {
  display: none;
  align-items: center;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  margin-top: 1rem;
}

.search-results__filters-mobile-title {
  font-size: 1rem;
  margin: 0;
  margin-right: auto;
}

.search-results__add-filter,
.search-results__reset-filters,
.search-results__filters-close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

/* Ikony */
[class*=-icon] {
  display: inline-block;
  width: 24px;
  height: 24px;
}

/* Pole wyszukiwania */
.megamenuSearch__content {
  margin-bottom: 2rem;
}

.megamenuSearch__field {
  max-width: 600px;
  margin: 0 auto;
}

.megamenuSearch__label {
  display: block;
  margin-bottom: 0.5rem;
}

.megamenuSearch__input-wrapper {
  position: relative;
}

.megamenuSearch__input {
  width: 100%;
  padding: 1rem;
  padding-right: 3rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

/* RWD */
@media (max-width: 768px) {
  .search-results__filters-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    overflow-y: auto;
  }
  .search-results__filters-mobile {
    display: flex;
  }
  .search-results__filters-wrapper.is-active {
    display: block;
  }
}
/* Pomocnicze */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.search-results__search .box-1440 {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.no-margin-bottom {
  margin-bottom: 0;
}

.info-too-short,
.no-results {
  margin: 2em 0 3rem 0;
  font-weight: bold;
}

/* Podstawowy styl dla select */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding: 12px 40px 12px 16px;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

/* Stan hover */
select:hover {
  border-color: #999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Stan focus */
select:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

/* Stylizacja opcji */
select option {
  padding: 12px;
  font-size: 14px;
  line-height: 1.4;
  background-color: #fff;
  color: #333;
}

select option:hover,
select option:focus,
select option:checked {
  background-color: #f5f5f5;
}

/* Disabled stan */
select:disabled {
  background-color: #f5f5f5;
  border-color: #ddd;
  color: #999;
  cursor: not-allowed;
}

/* Multiple select */
select[multiple] {
  padding: 8px;
  height: auto;
  background-image: none;
}

select[multiple] option {
  padding: 8px;
  border-radius: 4px;
  margin: 2px 0;
}

/* Ciemny motyw */
@media (prefers-color-scheme: dark) {
  select {
    background-color: #2d2d2d;
    color: #fff;
    border-color: #444;
  }
  select option {
    background-color: #2d2d2d;
    color: #fff;
  }
  select:hover {
    border-color: #666;
  }
  select:focus {
    border-color: #0077ff;
    box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.2);
  }
  select:disabled {
    background-color: #222;
    border-color: #333;
    color: #666;
  }
  select option:hover,
  select option:focus,
  select option:checked {
    background-color: #3d3d3d;
  }
}
/* Responsywność */
@media (max-width: 768px) {
  select {
    font-size: 16px; /* Lepszy rozmiar dla urządzeń mobilnych */
    padding: 14px 40px 14px 16px; /* Większy padding dla łatwiejszego kliknięcia */
  }
}
/* Wrapper dla lepszego pozycjonowania */
.select-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px; /* lub inna preferowana szerokość */
}

/* Animowany label (opcjonalnie) */
.select-wrapper label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #666;
  pointer-events: none;
  transition: all 0.2s ease;
}

.select-wrapper select:focus ~ label,
.select-wrapper select:not(:placeholder-shown) ~ label {
  top: -8px;
  left: 12px;
  font-size: 12px;
  background-color: #fff;
  padding: 0 4px;
}