.search-container {
    max-width: 800px;
    background: url('../../assets/img/berlin-black.jpg') no-repeat center center;
    background-size: cover;
    padding: 20px;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
	position:relative;
}
.search-container h3{
	color:white !important;
	
}


#search-immos{
	position:absolute;
	right:10px;
	top:100px;
	width: 25%;
	
}

#search-immos button{
	background-color: #CABE9F;
	border-radius: 0;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.1);
	font-size:22px;
	margin-bottom:10px;
}

#search-immos button:hover{
	background-color: #3f4448;
}

#locationSuggestions{
	border:0;
	width:100%;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    background-color: white;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.reset-filters{
	color:white !important;
}

.reset-filters:hover{
color: #B79853 !important;
}

.suggestions-list li {
    padding: 10px;
    cursor: pointer;
}

.suggestions-list li:hover {
    background-color: #f0f0f0;
}



.search-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: white;
}

.search-container input[type="text"], 
.search-container select, 
.search-container input[type="range"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #fff;
    border-radius: 5px;
    background-color: white;
    color: black;
}

.search-container input[type="text"],
.search-container select{
background: transparent;
  border-bottom: 1px solid white;
  border: none;
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
  border-bottom: 1px solid white;
  border-radius: 0;
  width: 95%;
  color: white;
  font-family: "marcellus";
  font-size: 16px;
}


/* Styling für den gesamten Schieberegler */
.search-container input[type="range"] {
    -webkit-appearance: none; /* Entfernt Standard-Styling in WebKit-Browsern */
    width: 100%;
    height: 1px; /* Höhe des Balkens */
    background: #ffffff; /* Weißer Balken */
    outline: none; /* Entfernt Fokusrahmen */
    border-radius: 0px; /* Runde Ecken für den Balken */
    opacity: 1;
	padding: 0px;
	margin-top: 10px;
  margin-bottom: 35px;
}

/* Schieberegler-Balken für WebKit-Browser (Chrome, Safari) */
.search-container input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 1px;
    background: #ffffff;
    border-radius: 5px;
    cursor: pointer;
}

/* Schieberegler-Balken für Firefox */
.search-container input[type="range"]::-moz-range-track {
    width: 100%;
    height: 1px;
    background: #ffffff;
    border-radius: 5px;
    cursor: pointer;
}

/* Anfasser (Thumb) für WebKit-Browser */
.search-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px; /* Größe des Anfassers */
    height: 20px;
    background: #cabe9f; /* Goldene Farbe für den Anfasser */
    border-radius: 50%; /* Runde Form */
    cursor: pointer;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5); /* Leichter Schatten */
    margin-top: -6px; /* Zentriert den Thumb im Track */
}

/* Anfasser für Firefox */
.search-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #cabe9f;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
}

.search-container select option{
	background-color:#cabe9f;
	border: 1px solid white;
	color:white;
}

.search-container .range-output {
    text-align: right;
    font-size: 12px;
    margin-bottom: 10px;
    margin-right: 10px;
    color: white;
}

.search-container .checkbox-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}



.search-container .checkbox-container label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: white;
}

.search-container input[type="checkbox"] {
    margin-right: 10px;
	width:25px;
	height:25px;
	border:none;

}

/* Goldener Hintergrund, wenn die Checkbox aktiviert ist */
.checkbox-container input[type="checkbox"]:checked {
    background-color: #cabe9f; /* Goldfarbe */
    color: white; /* Textfarbe für bessere Lesbarkeit */
}



.search-container button {
    width: 100%;
    padding: 15px;
    background-color: #d4a42a;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
}

.search-container button:hover {
    background-color: #c3931e;
}

/* Flexbox for layout */
.search-container .flex-container {
    display: flex;
    gap: 20px;
	width:70%;
	margin-top:25px;
}

.wohnen-section, .preis-section {
    flex: 1;
	position:relative;
}

.zimmer-section, .wohnflaeche-section {
    flex: 1;
	position:relative;
}

.stadt-section {
    flex-basis: 100%;
	width: 535px;
	float:left;
}

.stadt-section input{
	width:100% !important;
}

.radius-section{
	width: 150px;
  float: left;
  margin-left: 35px;
}

.clear{
	float:none;
	clear:both;
}

#sizeOutput, #priceOutput{
	position:absolute;
	
	bottom:0;
}

/* Responsive Anpassungen */
@media (max-width: 700px) {
    .search-container {
        margin: 20px;
        padding: 15px;
    }

    .search-container .flex-container {
        flex-direction: column;
    }
	
	.radius-section{
	width: 100%;
  float: none;
  margin-left: 0px;
}

.stadt-section{
	width:100%;
}
	
	#search-immos {
  position: static;
  width: 100%;
}

.wohnflaeche-section, .preis-section{
	width:95%;
}

.sortierungen{
	position:static !important;
}
#listContainer{
	margin-top: 240px;
}

#object_id{
	width:100% !important;
	margin:10px 0;
	padding:0 10px;
	height:50px;
}

#sortForm #sort{
	width:100% !important;
	margin:10px 0;
}

.stadt-section input {
  width: 95% !important;
}
	.search-container .flex-container {
  display: flex;
  gap: 0px;
  width: 100%;
  margin-top: 25px;
}
}
