#search-block .avatar-auto-size {
  width: 80% !important;
  height: auto !important;
  border-radius: 0;
}
#search-block .load {
  display: none !important;
}
.sllary-field {
  height: 68px;
  max-height: 68px;
  overflow: hidden;
}
.title-field {
  height: 68px;
  max-height: 60px;
  overflow: hidden;
}
#search-block .text-auto {
  font-size: 0.875rem ;
}
@media (min-width: 320px) {
  .search-block-bootom-offer {
    text-align: center !important;
  }
  .search-block-bootom-offer .text-end {
    text-align: center !important;
  }
}
@media (max-width: 990px) {
  #search-block .title-field {
    font-size: 3vh;
    height: 90px;
    max-height: 90px;
  }
  #search-block .sllary-field{
    font-size: 2.5vh;
    height: 90px;
    max-height: 90px;
  }
  #search-block .sllary-field *{
    font-size: 2.5vh;
    height: 90px;
    max-height: 90px;
  }
  #search-block .location-field{
    font-size: 2vh;
  }
  #search-block .btn-lg, .btn-group-lg > .btn {
    --bs-btn-padding-y: 1rem;
    --bs-btn-padding-x: 6rem;
    --bs-btn-font-size: 1.3rem;
    --bs-btn-border-radius: 0.5rem;
  }
  #search-block .text-auto {
    font-size: 1.1rem ;
  }
   
}

/* Style dla komponentu autocomplete */
.autocomplete-wrapper {
  position: relative;
  width: 100%;
}

.autocomplete-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 250px;
  overflow-y: auto;
  background-color: #fff;
  z-index: 1000;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  margin-top: 2px; /* Dodaje mały odstęp od pola input */
}

.autocomplete-item {
  padding: 8px 15px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background-color: #f5f5f5;
}

.autocomplete-loading {
  padding: 15px;
  text-align: center;
  color: #666;
}

/* Dostosowanie dla inputów */
.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  border-color: #86b7fe;
}

/* Poprawka na responsywność */
@media (max-width: 992px) {
  .autocomplete-results {
      position: absolute;
      top: 45px;
      left: 15px;
      right: 15px;
      max-width: calc(100% - 30px);
  }
}

/* To jest kluczowa część - ukrywa wszelkie błędy renderowania list Vue */
[v-cloak] .autocomplete-results,
[v-cloak] .autocomplete-item {
  display: none !important;
}



/* External form autocomplete styles */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.location-autocomplete {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
}

.location-autocomplete:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 5px rgba(0,124,186,0.3);
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 0 0 4px 4px;
}

.autocomplete-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    transition: background-color 0.2s;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background-color: #f8f9fa;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-loading,
.autocomplete-no-results {
    padding: 12px 15px;
    text-align: center;
    color: #666;
    font-style: italic;
}


.autocomplete-item.show-more {
    background-color: #f0f0f0;
    font-style: italic;
    color: #666;
    text-align: center;
}

.autocomplete-item.show-more:hover {
    background-color: #e0e0e0;
}