/* --- Main Container - Glassmorphism Effect --- */
.search-engine-container {
    font-family: "jabutinski", Sans-serif;
    direction: rtl;
    max-width: 530px;
    margin: 40px auto;
    padding: 35px 30px;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-engine-container * {
    font-family: "jabutinski", Sans-serif;
}

.search-engine-container br {
    display: none !important;
}

/* --- Title --- */
.search-title {
    text-align: start;
    font-size: 26px !important;
padding-bottom: 15px;
border-bottom: 1px solid #FFFFFF57;
    margin-bottom: 25px;
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* --- General Form Styling --- */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: normal; /* Less bold than before */
    color: #ffffff;
    text-align: right;
    font-size: 19px;
    line-height: 1;
}

/* --- Custom Select Dropdowns --- */
.custom-select-container {
  position: relative;
}

.custom-select-container .select-trigger {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    text-align: right;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 19px;
    line-height: 1;
    color: #ffffff;
    transition: background-color 0.3s;
	max-width: 100%;
    font-weight: 300;
}
.custom-select-container .select-trigger:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.select-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}
.select-arrow path {
    stroke: #ffffff;
    fill: none;
}
.custom-select-container.is-open .select-arrow {
    transform: rotate(180deg);
}
.options-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: none;
    background-color: #2c2c2c;
    color: #ffffff;
    z-index: 10;
    max-height: 150px;
    overflow-y: auto;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.option {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px;
    cursor: pointer;
}
.option:hover {
    background-color: #444444;
}
.option input[type="checkbox"] {
    margin-left: 10px;
}

.property-filter form {
	align-items: flex-end !important;
}

.property-filter form .rs-modal-wrap .rs-modal-trigger {
	max-width: 100% !important;
    font-weight: 300 !important;
}

.property-filter form > div {
	margin-bottom: 0 !important;
}

.property-filter form button.submit-btn {
	min-width: 150px !important;
}

/* --- Standard Input[type=number] Styles (For Price and Rooms) --- */
#property-search-form input[type="number"] {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    text-align: right;
    font-size: 16px;
    line-height: 1;
    color: #ffffff;
}
#property-search-form input[type="number"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
#property-search-form input[type="number"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

/* --- Specific styling for the "Rooms" range inputs --- */
.range-group .range-inputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.range-group input {
    width: 42% !important; /* Keep original width ratio */
}
.range-group span {
    color: #ffffff; /* Make the "עד" text white */
}

/* --- Submit Button --- */
.search-engine-container .submit-btn {
    width: 100%;
    background-color: #ffffff;
    color: #333333;
    padding: 16px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
    transition: background-color 0.3s;
}
.search-engine-container .submit-btn:hover {
    background-color: #f0f0f0;
    color: #000;
}

.options-container {
  scrollbar-width: thin;
  scrollbar-color: #888 #2c2c2c;
}

.options-container::-webkit-scrollbar {
  width: 6px;
}

.options-container::-webkit-scrollbar-track {
  background: #2c2c2c;
}

.options-container::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

.options-container::-webkit-scrollbar-thumb:hover {
  background-color: #aaa;
}