#map {
  width: 100%;
  height: calc(350px + 6vh);
}
.alignfull {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-sizing: border-box;
}
/* infowindow */
.infowindow {
  display: flex;
  flex-wrap: wrap;
  min-width: 300px;
  max-width: 400px;
  font-family: "Poppins", "Arial", sans-serif;
  color: #333;
  background: #ffffff;
}
.infowindow-image img {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.infowindow-content {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.infowindow-title {
  font-size: 1rem;
  font-weight: bold;
  margin: 0 0 8px;
  color: #333;
}

.infowindow-text {
  font-size: 0.875rem;
  margin: 0 0 12px;
  color: #555;
}

.infowindow-text:empty {
  display: none;
}

.infowindow-details {
  font-size: 0.775rem;
  color: #555;
}

.infowindow-details div {
  display: flex;
  margin-bottom: 4px;
}

.infowindow-details dt {
  font-weight: bold;
  margin-right: 8px;
  color: #333;
}

.infowindow-details dd {
  margin: 0;
  color: #555;
}
/* WYSZUKIWARKA */
/* Główna obudowa wyszukiwarki */
.search-box {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #fff;
  border: 3px solid #5a3885;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: "Arial", sans-serif;
}

/* Tytuł i opis */
.search-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
  color: #5a3885;
}

.search-description {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #666;
}

/* Formularz */
.search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Pojedyncze pole */
.search-field {
  display: flex;
  flex-direction: column;
}

.search-field label {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #5a3885;
}

/* Stylizacja custom select */
.custom-select {
  position: relative;
}

.select-container {
  position: relative;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.75rem;
  background: #fff;
  transition: border-color 0.3s ease;
}

.select-container:hover {
  border-color: #5a3885;
}

.select-container .selected {
  font-size: 1rem;
  color: #333;
}

.select-container .options {
  display: none;
  position: absolute;
  list-style: none;
  padding: 0;
  top: 100%;
  left: 0;
  width: 100%;
  border: 1px solid var(--e-globar-color-secondary);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.select-container .options li {
  padding: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  color: #333;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.select-container .options li:hover {
  background: rgba(90, 56, 133, 0.9);
  color: #fff;
}

/* Pokaż opcje, gdy select jest aktywny */
.select-container.active .options {
  display: block;
}

/* Input */
.search-field input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.search-field input:focus {
  border-color: #5a3885;
  outline: none;
  box-shadow: 0 0 5px rgba(90, 56, 133, 0.5);
}

/* Przycisk wyszukiwania */
.search-button {
  padding: 0.75rem;
  background-color: #5a3885;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.search-button:hover {
  background-color: #452266;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsywność */
@media (max-width: 480px) {
  .search-box {
    padding: 1rem;
  }

  .search-title {
    font-size: 1.25rem;
  }

  .search-description {
    font-size: 0.9rem;
  }
}
