:root{
    --primPurple : #713770; 
    --darkerPurple: #5a1f59; 
    --white:#fff;
    --textLightGray:#9199A3;
    --textDarkGray:#636972;
    --sublineGray:#5E6670;
}
.searchBarFrame{
    padding: 2px;
    border: 2px solid var( --mainDBlue);
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    background-color: white;
    /* margin: 20px 0px; */
    width: 100%;
    /* margin-left: 15px; */

}


.searchBtn{
    font-family: 'poppins';
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    background-color: var( --mainDBlue);
    border: solid 1px var( --mainDBlue);
    border-radius: 4px;
    padding: 4px 18px;
    flex: 0 0 auto;
    
}
.searchBtn:hover{
    background-color: rgb(12, 12, 94);
}


.inputFrame{
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    margin-left: 8px;
    align-items: center;
}
.inputFrame input{
    width: 100%;
    border: none;
    outline: none;
}
.inputFrame i{
    margin-right: 7px;
    font-size: large;
    cursor: pointer;
    color: var(--primPurple);

}

.searchbarFooter{
    font-family: 'poppins';
    color:var(--textLightGray);
    text-align: center;
    font-size: 10px;
    margin-top: 17px;
}
.searchbarFooter strong{
    color: var(--textDarkGray);
}

@media screen and (max-width: 450px) {
    .searchBarFrame{
        flex-direction: column;
    }
    .inputFrame{
        width: 100%;
        margin-bottom: 10px;
    }
}

.search-form{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
}
.search-form input{
    flex: 1;
}

/* === Filtered CSS for Location Dropdown with Sublocations === */

/* Dropdown button style */
.location-select {
    background-color: rgb(255, 255, 255);
    transition: background-color 0.3s ease;
    border-color: #d3d3d3;
}

/* Highlight selected */
.bg-select-active {
    background-color: #3eabe7a8 !important;
}

/* Dropdown menu */
.dropdown-menu {
    background-color: #e9f8ff;
    white-space: normal;
    width: 200px;
    max-height: 500px;
    overflow-y: auto;
    font-size: 11px;
    border: 1px solid #ddd;
    border-radius: 5px;
    z-index: 9999;
}

/* Location option */
.dropdown-item.location-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    cursor: pointer;
}

/* Hover style */
.location-option:hover,
.location-option:focus {
    background-color: #0d6efd !important;
    color: white !important;
}

/* Arrow next to main location */
.dropdown-arrow {
    font-size: 0.75rem;
    margin-left: auto;
    transition: transform 0.3s ease;
}

/* Sublocation list (initially hidden) */
.hover-reveal-sublist {
    display: none;
}

/* Show sublocation on hover */
.hover-reveal-group:hover .hover-reveal-sublist {
    display: block;
}

/* Sublocation item */
.hover-reveal-sublist .dropdown-item {
    font-size: 0.85rem;
    padding-left: 1.5rem;
    white-space: nowrap;
}

/* Optional smoother transition for mobile toggle later */
.dropdown-arrow.open {
    transform: rotate(180deg);
}

/* Ensure sublocations are slightly smaller than main items */
.hover-reveal-sublist .dropdown-item {
    font-size: 11px !important;
    padding-left: 1.5rem;
    white-space: nowrap;
}

/* Apply background only to the select box */
/* .bg-select-active {
    background-color: #e9f8ff !important;
} */

/* Prevent dropdown options from inheriting the background */
.bg-select-active option {
    background-color: white !important;
    color: black !important;
}

/* Optional: default radio spacing */
.radio-label input[type="radio"] {
    accent-color: #0d6efd; /* optional, for blue circle if supported */
}

/* Blue text when selected */
.radio-label input[type="radio"]:checked + span,
.radio-label input[type="radio"]:checked ~ span {
    color: #0d6efd;
    font-weight: 500;
}

.rotate-180 {
    transform: rotate(180deg);
}
[x-cloak] {
    display: none !important;
}
