#searchbar-filter-verfuegbarkeit h3 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 8px;
  margin-bottom: 15px;
}

#searchbar-filter-verfuegbarkeit .icon-left {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

#custom-verfuegbarkeit-toggle::after {
  content: "▼";
  position: absolute;
  right: 15px;
  top: 43%;
  transform: translateY(-50%);
  font-size: 12px;
  pointer-events: none;
  color: gray;
}

#custom-verfuegbarkeit-toggle.open::after {
  content: "▲";
}

#custom-verfuegbarkeit-list {
  overflow-y: auto;
  max-height: 300px;
  z-index: 1000;
}

#custom-verfuegbarkeit-list::-webkit-scrollbar {
  width: 8px;
}

#custom-verfuegbarkeit-list::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 8px;
}

#custom-verfuegbarkeit-list::-webkit-scrollbar-thumb {
  background-color: #8964ef;
  border-radius: 8px;
}

body.dark-mode #custom-verfuegbarkeit-list::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

body.dark-mode #custom-verfuegbarkeit-list::-webkit-scrollbar-thumb {
  background-color: #6200ea;
}

.custom-dropdown {
  position: relative;
  width: 100%;
  font-family: Arial, sans-serif;
  justify-self: center;
}

#custom-verfuegbarkeit-toggle {
  width: 100%;
  padding: 10px 12px;
  cursor: pointer;
   background-color: var(--bg-light); 
  color: var(--text-light);            
  border: 1px solid var(--border-light); 
  border-radius: 25px;
  text-align: center;
  margin-bottom: 5px;
}

body.dark-mode #custom-verfuegbarkeit-toggle {
background-color: var(--bg-dark); 
  color: var(--text-dark);            
  border: 1.5px solid var(--border-light);
}

#custom-verfuegbarkeit-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  border: 1px solid var(--border-light);
  background-color: var(--bg-light); 
  position: absolute;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  border-radius: 15px;
  z-index: 1000;
}

body.dark-mode #custom-verfuegbarkeit-list {
  border: 1.5px solid var(--border-light);
  background-color: var(--bg-dark);  
}

#custom-verfuegbarkeit-list.show {
  display: block;
}

#custom-verfuegbarkeit-list li {
  padding: 8px 12px;
  cursor: pointer;
}

#custom-verfuegbarkeit-list li:hover {
 background-color: rgba(98, 0, 234, 0.1);
}

 #custom-verfuegbarkeit-toggle.open {
  border-color: #8964ef;
  background-color: transparent;
  box-shadow: 0 8px 16px rgba(137, 100, 239, 0.3);
}

#custom-verfuegbarkeit-toggle.highlighted {
  border: 1px solid #6200ea; /* Lila Ton */
  box-shadow: 0 0 5px rgba(98, 0, 234, 0.8);
  outline: none;
}

body.dark-mode #custom-verfuegbarkeit-toggle.highlighted {
  border: 1px solid #6200ea; /* Lila Ton */
  box-shadow: 0 0 5px rgba(98, 0, 234, 0.8);
  outline: none;
}

