
.search-chip{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 180px;      /* apne UI ke hisab se 180-220px kar sakte ho */
    padding: 4px 10px;
    border-radius: 20px;
}

.search-chip .chip-text{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 1;
}

.search-chip i{
    flex-shrink: 0;
}


 .filter-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.filter-chip-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Hover */
.filter-chip:hover {
    border-color: #C41E3A;
}

/* Checked */
.filter-chip:has(.filter-chip-input:checked) {
    background: #C41E3A;
    border-color: #C41E3A;
    color: #fff;
}

/* Optional active effect */
.filter-chip:has(.filter-chip-input:checked):hover {
    background: #a81830;
    border-color: #a81830;
}

.filter-chip.selected {
    background: #C41E3A;
    border-color: #C41E3A;
    color: #fff;
}


.dropdown-bhk{
    display:none;
}


.filter-location{
    position: relative;
}

#locationList{
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;

    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;

    box-shadow: 0 8px 24px rgba(0,0,0,.12);

    max-height: 300px;
    overflow-y: auto;

    z-index: 99999;

    display: none;
}

#locationList .loc-item{
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
}

#locationList .loc-item:last-child{
    border-bottom: 0;
}

#locationList .loc-item:hover{
    background: #f8f8f8;
}

#locationError{
    margin-top: 6px;
    color: red;
    font-size: 13px;
}


.user-menu{
    display:flex;
    align-items:center;
    gap:4px;
}

.user-menu .bi-person-circle{
    font-size:20px;
}

.menubar-chevron{
    font-size:10px;   /* small arrow */
    line-height:1;
}

    .spin{
    display:inline-block;
    animation:spin .8s linear infinite;
}

@keyframes spin{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }

}


.search-input-wrapper{

    display:flex;

    align-items:center;

    flex-wrap:wrap;

    width:100%;

    min-height:42px;

}

#selectedTags{

    display:flex;

    flex-wrap:wrap;

    gap:6px;

}

.search-chip{

    background:#eef5ff;

    color:#0d6efd;

    border:1px solid #b9d8ff;

    border-radius:20px;

    padding:5px 10px;

    display:flex;

    align-items:center;

    font-size:13px;

}

.search-chip i{

    margin-left:8px;

    cursor:pointer;

}

#locationSearch{

    border:none;

    outline:none;

    flex:1;

    min-width:150px;

}

    /*=========================================================
99ACRES SEARCH
=========================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

.search-card{

    position:relative;

    background:#fff;

    border-radius:18px;

    overflow:visible;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

    border:1px solid #ececec;

}


/*==================================================
TOP TABS
==================================================*/

.top-tabs{

    display:flex;

    align-items:center;

    border-bottom:1px solid #ededed;

    height:50px;

    background:#fff;

}

.top-tabs .tab{

    padding:0 28px;

    height:52px;

    display:flex;

    align-items:center;

    cursor:pointer;

    font-size:16px;

    font-weight:600;

    color:#555;

    position:relative;

    transition:.3s;

}

.top-tabs .tab:hover{

    color:#85280C;

}

.top-tabs .tab.active{

    color:#85280C;

}

.top-tabs .tab.active::after{

    content:"";

    position:absolute;

    left:18px;

    right:18px;

    bottom:0;

    height:3px;

    background:#85280C;

    border-radius:50px;

}

.dot{

    width:8px;

    height:8px;

    border-radius:50%;

    background:#ff2e55;

    margin-left:6px;

}


/*==================================================
POST PROPERTY
==================================================*/

.post-property{

    margin-left:auto;

    padding-right:25px;

}

.post-property a{

    color:#111;

    font-weight:600;

    text-decoration:none;

}

.free-badge{

    background:#16a34a;

    color:#fff;

    padding:3px 8px;

    font-size:11px;

    border-radius:5px;

    margin-left:8px;

}


/*==================================================
SEARCH ROW
==================================================*/

.search-row{

    display:flex;

    align-items:center;

    height:62px;

    position:relative;

}


/*==================================================
LEFT DROPDOWNS
==================================================*/

.custom-select{

    width:190px;

    height:65px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 20px;

    cursor:pointer;

    border-right:1px solid #efefef;

    font-weight:600;

    transition:.3s;

}

.custom-select:hover{

    background:#fafafa;

}

.custom-select i{

    font-size:12px;

    color:#777;

}


/*==================================================
LOCATION
==================================================*/

.location-box{

    flex:1;

    display:flex;

    align-items:center;

    padding:0 25px;

}

.location-box i{

    color:#888;

    font-size:22px;

    margin-right:12px;

}

.location-box input{

    width:100%;

    border:none;

    outline:none;

    font-size:16px;

    background:transparent;

}

.location-box input::placeholder{

    color:#9ca3af;

}


/*==================================================
BUTTONS
==================================================*/

.circle-button{

    width:46px;

    height:46px;

    border:none;

    border-radius:50%;

    background:#eef5ff;

    color:#85280C;

    margin-right:10px;

    transition:.3s;

}

.circle-button:hover{

    background:#85280C;

    color:#fff;

}

.main-search-btn{

    height:48px;

    border:none;

    border-radius:10px;

    background:#85280C;

    color:#fff;

    font-weight:600;

    padding:0 32px;

    margin-right:20px;

    transition:.3s;

}

.main-search-btn:hover{

    background:#85280C;

}


/*==================================================
BOTTOM FILTERS
==================================================*/

.bottom-filters{

    display:flex;

    align-items:center;

    gap:14px;

    padding:18px 20px;

    border-top:1px solid #f2f2f2;

}

.bottom-filters button{

    border:1px solid #ddd;

    background:#fff;

    border-radius:30px;

    padding:10px 18px;

    font-weight:600;

    transition:.3s;

}

.bottom-filters button:hover{

    color:#0078ff;

    border-color:#0078ff;

}


/*==================================================
DYNAMIC FILTER
==================================================*/

#dynamicFilterArea{

    display:none;

    padding:20px;

}
/*==================================================
LISTING POPUP
==================================================*/

.listing-popup{

    position:absolute;

    top:84px;

    left:0;

    width:180px;

    background:#fff;

    border-radius:14px;

    box-shadow:0 15px 45px rgba(0,0,0,.12);

    display:none;

    z-index:9999;

    overflow:hidden;

    border:1px solid #ececec;

}

.listing-option{

    padding:14px 18px;

    cursor:pointer;

    font-size:15px;

    font-weight:600;

    transition:.25s;

}

.listing-option:hover{

    background:#f5f8ff;

}

.listing-option.active{

    background:#EEF5FF;

    color:#0078ff;

}


/*==================================================
PROPERTY POPUP
==================================================*/

.property-popup{

    position:absolute;

    top:84px;

    left:180px;

    width:720px;

    background:#fff;

    border-radius:18px;

    border:1px solid #ececec;

    box-shadow:0 20px 60px rgba(0,0,0,.15);

    display:none;

    z-index:9999;

    overflow:hidden;

}

.popup-wrapper{

    display:flex;

    min-height:420px;

}


/*==================================================
LEFT MENU
==================================================*/

.popup-left{

    width:220px;

    background:#fafafa;

    border-right:1px solid #ececec;

}

.popup-category{

    padding:18px 24px;

    cursor:pointer;

    font-size:15px;

    font-weight:600;

    color:#444;

    transition:.3s;

    position:relative;

}

.popup-category:hover{

    background:#f5f8ff;

}

.popup-category.active{

    background:#EEF5FF;

    color:#0078ff;

}

.popup-category.active:before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    bottom:0;

    width:4px;

    background:#0078ff;

}


/*==================================================
RIGHT PANEL
==================================================*/

.popup-right{

    flex:1;

    background:#fff;

    padding:25px;

    overflow:auto;

    max-height:420px;

}

.popup-header{

    border-bottom:1px solid #ececec;

    padding-bottom:12px;

    margin-bottom:20px;

}

.popup-header h5{

    margin:0;

    font-size:18px;

    font-weight:700;

}


/*==================================================
CHECKBOX
==================================================*/

.popup-check{

    display:flex;

    align-items:center;

    padding:10px 0;

    cursor:pointer;

}

.popup-check input{

    width:18px;

    height:18px;

    margin-right:12px;

    accent-color:#0078ff;

}

.popup-check span{

    font-size:15px;

    color:#444;

}

.popup-check:hover span{

    color:#0078ff;

}


/*==================================================
SCROLLBAR
==================================================*/

.popup-right::-webkit-scrollbar{

    width:6px;

}

.popup-right::-webkit-scrollbar-thumb{

    background:#d8d8d8;

    border-radius:20px;

}


/*==================================================
SELECTED CHIP
==================================================*/

.selected-chip{

    display:inline-flex;

    align-items:center;

    padding:8px 14px;

    border-radius:30px;

    background:#EEF5FF;

    color:#0078ff;

    font-size:13px;

    font-weight:600;

    margin:5px;

}

.selected-chip i{

    margin-left:8px;

    cursor:pointer;

}

/*==================================================
FILTER POPUP
==================================================*/

.filter-popup{

    position:absolute;

    top:84px;

    background:#fff;

    width:340px;

    border-radius:16px;

    border:1px solid #ececec;

    box-shadow:0 18px 50px rgba(0,0,0,.12);

    display:none;

    z-index:9999;

    padding:20px;

}

.popup-title{

    font-size:18px;

    font-weight:700;

    margin-bottom:18px;

}

.popup-body{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.filter-row{

    display:flex;

    gap:15px;

}

.filter-col{

    flex:1;

}

.filter-col label{

    display:block;

    margin-bottom:8px;

    font-size:14px;

    font-weight:600;

}

.filter-col select{

    width:100%;

    height:44px;

    border:1px solid #ddd;

    border-radius:10px;

    padding:0 12px;

    outline:none;

}

.filter-radio{

    display:flex;

    align-items:center;

    gap:10px;

    cursor:pointer;

    font-size:15px;

}

.filter-radio input{

    accent-color:#0078ff;

}


/*==================================================
SEARCH SUGGESTION
==================================================*/

.search-suggestion{

    position:absolute;



    background:#fff;

    border-radius:18px;

    border:1px solid #ececec;

    box-shadow:0 18px 55px rgba(0,0,0,.12);

    display:none;

    overflow:hidden;

    z-index:99999;
    
    

    top:100%;
    left:0;
    width:100%;
  

}

.suggestion-section{

    padding:18px 20px;

    border-bottom:1px solid #f2f2f2;

}

.suggestion-title{

    display:flex;

    justify-content:space-between;

    font-size:15px;

    font-weight:700;

    margin-bottom:15px;

}

#clearRecent{

    color:#0078ff;

    cursor:pointer;

    font-size:13px;

}

.suggestion-item{

    display:flex;

    align-items:center;

    gap:12px;

    padding:12px;

    border-radius:10px;

    cursor:pointer;

    transition:.3s;

}

.suggestion-item:hover{

    background:#f5f8ff;

}

.suggestion-item i{

    color:#0078ff;

}

#ajaxSearchResult{

    max-height:280px;

    overflow-y:auto;

}

#ajaxSearchResult::-webkit-scrollbar{

    width:6px;

}

#ajaxSearchResult::-webkit-scrollbar-thumb{

    background:#ddd;

    border-radius:20px;

}

/*==========================================
SMOOTH ANIMATION
==========================================*/

.search-card,
.property-popup,
.listing-popup,
.filter-popup,
.search-suggestion{

    transition:all .25s ease;

}

.popup-show{

    animation:popupFade .25s ease;
}

@keyframes popupFade{

    from{

        opacity:0;

        transform:translateY(10px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/*==========================================
SELECTED STYLE
==========================================*/

.popup-check input:checked + span{

    color:#0078ff;

    font-weight:600;

}

.popup-check:hover{

    background:#f7faff;

    border-radius:8px;

}


/*==========================================
BUTTON HOVER
==========================================*/

.circle-button:hover{

    transform:scale(1.05);

}

.main-search-btn:hover{

    transform:translateY(-1px);

    box-shadow:0 10px 20px rgba(0,120,255,.25);

}

.bottom-filters button:hover{

    background:#EEF5FF;

}


/*==========================================
TABLET
==========================================*/

@media(max-width:992px){

.top-tabs{

overflow-x:auto;

white-space:nowrap;

}

.post-property{

display:none;

}

.search-row{

flex-wrap:wrap;

height:auto;

padding:15px;

}

.custom-select{

width:100%;

border:1px solid #eee;

border-radius:12px;

margin-bottom:10px;

}

.location-box{

width:100%;

border:1px solid #eee;

border-radius:12px;

padding:15px;

margin-bottom:10px;

}

.circle-button{

margin-bottom:10px;

}

.main-search-btn{

width:100%;

margin-right:0;

}

.property-popup{

width:95%;

left:2.5%;

}

.search-suggestion{

width:95%;

left:2.5%;

}

}


/*==========================================
MOBILE
==========================================*/

@media(max-width:576px){

.top-tabs{

height:60px;

}

.top-tabs .tab{

padding:0 18px;

font-size:14px;

}

.custom-select{

height:60px;

}

.location-box{

padding:12px;

}

.location-box input{

font-size:14px;

}

.main-search-btn{

height:45px;

font-size:15px;

}

.bottom-filters{

overflow-x:auto;

}

.bottom-filters button{

white-space:nowrap;

}

.popup-wrapper{

flex-direction:column;

}

.popup-left{

width:100%;

display:flex;

overflow-x:auto;

border-right:none;

border-bottom:1px solid #eee;

}

.popup-category{

white-space:nowrap;

}

.popup-right{

max-height:280px;

}

}


/*==========================================
SCROLLBAR
==========================================*/

::-webkit-scrollbar{

width:6px;

height:6px;

}

::-webkit-scrollbar-thumb{

background:#cfcfcf;

border-radius:20px;

}


/*==========================================
FOCUS
==========================================*/

.location-box input:focus{

outline:none;

}

.custom-select:focus{

outline:none;

}

    .sellrent-dropdown{

    display:none;
    position:absolute;
    top:60px;
    left:0;

    width:120px;

    background:#fff;

    border-radius:12px;

    box-shadow:0 8px 25px rgba(0,0,0,.15);

    overflow:hidden;

    z-index:99999;

}


.sellrent-item{

    padding:14px 18px;

    font-size:14px;

    cursor:pointer;

}


.sellrent-item:hover,
.sellrent-item.active{

    background:#f0f6ff;
    color:#0066ff;

}
