.serach_content_wrapper{
    position:sticky;
    top:0px;
    background:#1f1f2a;
    padding:10px;
    z-index:9999;
}
.search_bar_div{
    width:95%;
    z-index:999;
    margin:0;
    margin:auto;
}

/* Modern app search */
.serach_content_wrapper{
    top:0;
    padding:14px 12px;
    background:#1f1f2a;
    box-shadow:0 8px 24px rgba(15,23,42,.14);
    display:flex;
    align-items:center;
    gap:10px;
}
.search_back_btn{
    width:54px;
    height:54px;
    min-width:54px;
    border:0;
    border-radius:17px;
    background:#33334e;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
}
.search_back_btn i{
    font-size:34px;
    line-height:1;
}
.serach_content_wrapper .search_bar_div{
    width:100%;
    flex:1;
    min-height:54px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 14px;
    border-radius:17px;
    background:#33334e;
    color:#fff;
}
.serach_content_wrapper .search_bar_div i{
    display:flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    color:#fff;
    font-size:18px;
}
.serach_content_wrapper .search_bar_div span{
    color:#fff;
    font-size:16px;
    line-height:22px;
    font-weight:750;
}
.search_filter_modal.modal2{
    left:50%!important;
    top:0!important;
    width:min(100vw, 430px)!important;
    max-width:430px!important;
    height:100dvh!important;
    transform:translateX(-50%)!important;
    align-items:stretch!important;
    justify-content:center!important;
    overflow:hidden!important;
    background:#f3f5fb!important;
}
.search_filter_modal .modal-content2{
    width:100%!important;
    max-width:430px!important;
    height:100%!important;
    max-height:100%!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#f3f5fb!important;
    box-shadow:none!important;
    overflow:hidden!important;
}
.search_modal_container{
    width:100%!important;
    max-width:100%!important;
    height:100%;
    margin:0!important;
    padding:0 12px 96px!important;
    overflow:auto;
    background:#f3f5fb;
}
.search_modal_container > div{
    min-height:100%;
}
.search_modal_title{
    position:sticky;
    top:0;
    z-index:4;
    min-height:82px;
    display:flex;
    align-items:center;
    margin:0 -12px 12px!important;
    padding:0 18px!important;
    background:#1f1f2a;
    color:#fff;
    font-size:26px!important;
    line-height:30px!important;
    font-weight:900!important;
    letter-spacing:0;
}
.search_modal_container hr{
    display:none;
}
.search_filter_modal .modal-close2{
    top:18px!important;
    right:16px!important;
    width:42px;
    height:42px;
    z-index:5;
    border-radius:15px;
    background:#33334e;
}
.search_filter_modal .modal-close2::before,
.search_filter_modal .modal-close2::after{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:18px;
    height:2px;
    border-radius:999px;
    background:#fff;
}
.search_filter_modal .modal-close2::before{
    transform:translate(-50%,-50%) rotate(45deg);
}
.search_filter_modal .modal-close2::after{
    transform:translate(-50%,-50%) rotate(-45deg);
}
.search_main_div_inside{
    padding:18px 20px 20px;
    border:1px solid #e5eaf2;
    border-radius:8px;
    background:#fff!important;
    box-shadow:0 14px 34px rgba(15,23,42,.06);
}
.search_main_div_inside .wrapper{
    display:grid!important;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:6px;
    margin-bottom:26px;
    padding:6px;
    border-radius:8px;
    background:#f3f6fb!important;
}
.search_main_div_inside .wrapper .option{
    min-height:54px;
    padding:0 6px!important;
    border:0!important;
    border-radius:8px!important;
    background:transparent!important;
    gap:0!important;
}
.search_main_div_inside .wrapper .option .dot{
    display:none;
}
.search_main_div_inside .wrapper .option span{
    color:#26364d!important;
    font-size:15px!important;
    line-height:18px;
    font-weight:800;
    letter-spacing:0;
    white-space:nowrap;
}
.search_main_div_inside .wrapper #option-1:checked:checked ~ .option-1,
.search_main_div_inside .wrapper #option-2:checked:checked ~ .option-2,
.search_main_div_inside .wrapper #option-3:checked:checked ~ .option-3,
.search_main_div_inside .wrapper #option-4:checked:checked ~ .option-4{
    background:#0b66c3!important;
    box-shadow:0 8px 18px rgba(11,102,195,.22);
}
.search_main_div_inside .wrapper #option-1:checked:checked ~ .option-1 span,
.search_main_div_inside .wrapper #option-2:checked:checked ~ .option-2 span,
.search_main_div_inside .wrapper #option-3:checked:checked ~ .option-3 span,
.search_main_div_inside .wrapper #option-4:checked:checked ~ .option-4 span{
    color:#fff!important;
}
.search_filter_div{
    grid-template-columns:1fr!important;
    gap:14px;
    margin-bottom:20px;
}
.search_filter_div.Property_div{
    grid-template-columns:repeat(3, 1fr)!important;
    gap:10px;
    margin-top:0;
}
.search_filter_div .form-select,
.search_filter_div select,
.search_bar_div_inside input,
.business_sub_cat select{
    min-height:64px;
    width:100%;
    border:1px solid #dfe5ef!important;
    border-radius:8px!important;
    background:#f8fafc!important;
    color:#071226;
    font-size:18px!important;
    line-height:24px!important;
    font-weight:750;
    letter-spacing:0;
    box-shadow:none!important;
    outline:0!important;
}
.search_bar_div_inside{
    width:100%;
    padding:0!important;
    margin-top:0;
}
.search_bar_div_inside input{
    padding:0 18px;
    color:#071226!important;
    font-size:18px!important;
    font-weight:700!important;
}
.search_bar_div_inside input::placeholder{
    color:#6b7788!important;
    opacity:1;
    font-size:18px!important;
    font-weight:700!important;
}
.property_radio_div label.container{
    min-height:56px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:100%;
    margin:0;
    padding:0 8px;
    border:1px solid #dfe5ef;
    border-radius:8px;
    background:#f8fafc;
    color:#334155;
    font-size:16px;
    line-height:20px;
    font-weight:800;
}

.property_radio_div label.container input{
    width:16px;
    height:16px;
    margin:0 8px 0 0;
    position:static!important;
    opacity:1!important;
}

.property_radio_div label.container .checkmark{
    display:none!important;
}

.Business_div,
.News_div,
.Jobs_div{
    align-items:stretch;
}

.search_filter_div .state_select_div,
.search_filter_div .city_select_div,
.search_filter_div > div{
    width:100%;
}

.search_filter_div select{
    padding-left:18px!important;
    padding-right:42px!important;
}
.location_popup_buttons{
    left:50%!important;
    bottom:0!important;
    width:min(100vw, 430px)!important;
    max-width:430px!important;
    transform:translateX(-50%);
    gap:10px!important;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;
    background:rgba(255,255,255,.94);
    border-top:1px solid #e5eaf2;
    backdrop-filter:blur(12px);
}
#saveButton,
#cancelButton{
    min-height:58px;
    border-radius:8px!important;
    padding:0 18px!important;
    font-size:19px;
    line-height:23px;
    font-weight:850;
    letter-spacing:0;
}
#saveButton{
    background:#0b66c3!important;
    box-shadow:0 10px 24px rgba(11,102,195,.22);
}
#cancelButton{
    background:#eef2f7!important;
    color:#334155!important;
}
@media (max-width:380px){
    .search_main_div_inside .wrapper{
        grid-template-columns:repeat(2, 1fr);
    }
    .search_filter_div.Property_div{
        grid-template-columns:1fr!important;
    }
}

@media (max-width:430px){
    .search_modal_container{
        padding:0 14px 104px!important;
    }
    .search_modal_title{
        margin:0 -14px 16px!important;
        padding:0 20px!important;
    }
    .search_main_div_inside{
        padding:18px 18px 20px;
    }
    .search_main_div_inside .wrapper .option span{
        font-size:14px!important;
    }
}

/* Search result cards use the same visual language as home/category feeds. */
.news_component_div,
.business_component_div,
.job_component_div,
.property_component_div{
    padding:10px 8px 92px;
}

.search_results_wrapper{
    display:flex;
    flex-direction:column;
    gap:14px;
    padding:12px 10px 104px!important;
}

.search-result-item{
    width:100%;
    display:block;
}

.search-result-item > *{
    margin:0!important;
}

.search_results_wrapper .property_feed_card,
.search_results_wrapper .job_box_div,
.search_results_wrapper .business_card,
.search_results_wrapper .news_feed_card{
    border-radius:8px!important;
    border:1px solid #e2e8f0!important;
    box-shadow:0 12px 28px rgba(15,23,42,.08)!important;
    overflow:hidden;
}

.search_result_loader,
.search_result_empty{
    display:none;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin:10px 10px 98px;
    min-height:54px;
    border:1px solid #e2e8f0;
    border-radius:8px;
    background:#fff;
    color:#64748b;
    font-size:13px;
    font-weight:850;
}

.search_result_loader.active,
.search_result_empty.active{
    display:flex;
}

.search_result_loader span{
    width:22px;
    height:22px;
    border-radius:50%;
    border:3px solid #dbeafe;
    border-top-color:#0b66c3;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    to{transform:rotate(360deg);}
}
.news_component_div .news_component,
.business_component_div .business_feed_card,
.job_component_div .job_box_div,
.property_component_div .property_component{
    max-width:100%;
}
.business_component_div .business_feed_card .business_card,
.property_component_div .property_feed_card,
.job_component_div .job_box_div{
    border-radius:14px!important;
    border:1px solid #e7eaf1!important;
    box-shadow:0 12px 30px rgba(15,23,42,.08)!important;
    margin:0 0 14px!important;
}
.business_component_div .business_feed_card .news_image,
.property_component_div .property_feed_card .property_image_div,
.property_component_div .property_feed_card .property_image_div .carousel-inner{
    border-radius:0!important;
}
.business_component_div .business_feed_card .business_badge_row,
.property_component_div .property_feed_card .property_badge_row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
}
.property_component_div .property_feed_card .property_type_div,
.property_component_div .property_feed_card .property_date{
    position:static!important;
    inset:auto!important;
    margin:0!important;
    max-width:52%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    border-radius:999px!important;
    line-height:1!important;
    z-index:auto!important;
}
.property_component_div .property_feed_card .property_type_div{
    background:#0f766e!important;
    color:#fff!important;
    padding:7px 10px!important;
    font-size:11px!important;
    font-weight:800!important;
}
.property_component_div .property_feed_card .property_date{
    background:#f3f5f9!important;
    color:#475569!important;
    padding:7px 9px!important;
    font-size:10px!important;
    font-weight:800!important;
}
.property_component_div .property_feed_card .carousel-control-prev{
    left:6px!important;
}
.property_component_div .property_feed_card .carousel-control-next{
    right:6px!important;
}
.business_component_div .job_box_sub_3 .job_btn img,
.property_component_div .property_contact_button_div .property_btn img,
.job_component_div .job_box_sub_3 .job_btn img{
    width:18px!important;
    height:18px!important;
    object-fit:contain;
}
.business_component_div .job_box_sub_3 .job_btn_call img,
.property_component_div .property_btn_call img,
.job_component_div .job_box_sub_3 .job_btn_call img{
    filter:brightness(0) invert(1);
}
.business_component_div .news_action_div > .d-flex,
.property_component_div .news_action_div > .d-flex{
    align-items:center;
}
.business_component_div .news_action_div .action_div,
.property_component_div .news_action_div .action_div{
    min-width:36px;
    min-height:36px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
}
.business_component_div .news_action_div .action_div img,
.property_component_div .news_action_div .action_div img{
    width:18px!important;
    height:18px!important;
    object-fit:contain;
}
.job_component_div .job_box_div{
    padding:14px!important;
}
.job_component_div .job_box_div .clickable_div{
    display:block;
}
.job_component_div .job_box_div .job_box_sub_1{
    grid-template-columns:96px minmax(0, 1fr)!important;
    gap:12px!important;
}
.job_component_div .job_box_div .job_box_sub_1 .img_div{
    width:96px!important;
    height:96px!important;
    border-radius:12px!important;
}
.job_component_div .job_box_div .job_box_sub_1 .img_div img{
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:cover!important;
}
.job_component_div .job_box_div .category_name{
    display:flex;
    align-items:center;
    min-width:0;
}
.job_component_div .job_box_div .category_name i{
    display:none;
}
.job_component_div .job_box_div .category_name span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.job_component_div .job_box_div .job_box_sub_3{
    border-top:1px solid #eef0f4;
    margin-top:12px;
}
.job_component_div .job_box_sub_3 .job_btn_call span,
.business_component_div .job_box_sub_3 .job_btn_call span,
.property_component_div .property_btn_call span{
    color:#fff!important;
}
.job_component_div .sponser_slider,
.business_component_div .sponser_slider,
.property_component_div .sponser_slider{
    margin:0 0 14px;
    border-radius:14px;
    overflow:hidden;
}
.business_component_div .business_feed_card .job_box_sub_3.has-map{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px;
}
.business_component_div .business_feed_card .job_box_sub_3 .job_btn_map{
    border:1px solid #d8e7fb;
    color:#075db1;
    background:#eef6ff;
    text-decoration:none;
}
.business_component_div .business_feed_card .business_map_link{
    color:#075db1!important;
    text-decoration:none;
}
@media (max-width:380px){
    .job_component_div .job_box_div .job_box_sub_1{
        grid-template-columns:82px minmax(0, 1fr)!important;
    }
    .job_component_div .job_box_div .job_box_sub_1 .img_div{
        width:82px!important;
        height:82px!important;
    }
}
