﻿.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

    .pagination a {
        padding: 10px 15px;
        margin: 0 5px;
        text-decoration: none;
        border: 1px solid #ddd;
        color: #333;
        border-radius: 5px;
    }

        .pagination a.active {
            font-weight: bold;
            color: #007bff;
        }

        .pagination a:hover {
            background-color: #f0f0f0;
        }

    .pagination span.disabled {
        padding: 10px 15px;
        margin: 0 5px;
        border: 1px solid #ddd;
        color: #999;
        background-color: #f9f9f9;
        border-radius: 5px;
        cursor: not-allowed;
        font-weight: bold;
    }




/* Filter css code start from here   */
.filtering__controls {
    width: 100%;
    background-color: white;
   
/*    margin-bottom: 40px;*/
margin-top: 15px;
    padding: 0 12px 12px 12px;
    box-shadow: 0px 0.1px 1px -2px rgba(0, 0, 0, 0.05), 0px 2px 8px -3px rgba(0, 0, 0, 0.1);
}

.filtering__header {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 8px;
    max-width: 1200px;
    margin-inline: auto;
}

.dropdown__main__container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}



/* Search bar code   */
.filtering__search__bar {
    position: relative;
    width: 300px;
    max-width: 400px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    padding: 3px 3px;
    z-index: 50;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

    .filtering__search__bar:hover {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        transform: translateY(-1px);
    }

.filtering__search__icon {
    display: flex;
    align-items: center;
    padding: 10px;
    justify-content: center;
    border-radius: 5px;
    background-color: #003e88;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    margin-right: 10px;
}

    .filtering__search__icon svg {
        fill: white;
        width: 18px;
        height: 18px;
        transition: fill 0.3s ease;
    }

    .filtering__search__icon:hover {
        background-color: #2848b11a;
        transform: scale(1.1);
    }

        .filtering__search__icon:hover svg {
            fill: #283db1;
        }

.filtering__search__input {
    width: 100%;
    height: 35px;
    max-width: 300px;
    font-size: 14px;
    padding-left: 15px;
    padding-right: 4px;
    border: none;
    border-radius: 50px;
    outline: none;
    color: #333;
    background-color: white;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
}

    .filtering__search__input::placeholder {
        color: #aaa;
        transition: color 0.3s ease;
    }

    .filtering__search__input:focus {
        background-color: #fff;
        padding-left: 20px;
    }

        .filtering__search__input:focus::placeholder {
            color: #003e88;
        }


.filtering__dropdown .budget_dropdown__menu {
    padding: 12px;
    width: max-content;
}

    .filtering__dropdown .budget_dropdown__menu .title {
        color: #191e3b;
        font-size: 18px;
        margin-bottom: 12px;
        font-weight: 500;
    }

    .filtering__dropdown .budget_dropdown__menu .valueInput {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        align-items: start;
    }

    .filtering__dropdown .budget_dropdown__menu .budget_drp_header {
        position: sticky;
        top: 0px;
        gap: 12px;
    }

    .filtering__dropdown .budget_dropdown__menu .budget__list__container {
        max-height: 200px;
        overflow-y: auto;
    }

    .filtering__dropdown .budget_dropdown__menu .valueInput input {
        border: 1px solid #818494;
        height: 30px;
        border-radius: 6px;
        padding-inline: 6px 0;
        font-size: 13px;
    }

    .filtering__dropdown .budget_dropdown__menu .valueInput label {
        margin-bottom: 4px;
        font-size: 16px;
    }

    .filtering__dropdown .budget_dropdown__menu .valueInput input::placeholder {
        color: #000;
    }

    .filtering__dropdown .budget_dropdown__menu .valueInput input::-webkit-inner-spin-button,
    .filtering__dropdown .budget_dropdown__menu .valueInput input::-webkit-outer-spin-button {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        margin: 0;
    }

    .filtering__dropdown .budget_dropdown__menu .submit__budget__btn {
        background: #05379a;
        color: #fff;
        height: 35px;
        width: 100px;
        text-align: center;
        display: flex;
        justify-content: center;
        border-radius: 90px;
        margin-top: 12px;
        margin-left: auto;
        align-items:center;
    }

.filtering__dropdown__menu div {
    display: block;
    flex-direction: row;
}
.filtering__dropdown__menu .flex__column{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.filtering__dropdown__menu .flex__column .valueInput{
    display:block;
}
.filtering__dropdown .budget_dropdown__menu .submit__budget__btn{
    width:max-content
}
/*.filtering__dropdown__menu input {
    display: none;
}*/
.filtering__dropdown__menu label {
    flex: 0 1 auto;
    display: block;
    text-align: center;
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 80px;
    background-color: white;
    color: rgb(96, 95, 95);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.filtering__dropdown__menu .filtering__dropdown__property__list {
    display: flex;
    width: max-content;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.filtering__dropdown__menu input:checked + label {
    background-color: #2848b11a;
    color: #283db1;
}

.property__type {
    padding: 12px;
    background-color: #f6f6f6e6;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}



/* construction status code  */
.construction__status__row {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    padding: 2px;
    border: 1px solid #ddd;
    border-radius: 5px;
    white-space: nowrap;
}

    .construction__status__row div {
        padding: 10px 8px;
        font-size: 14px;
        font-weight: 600;
        font-family: Manrope, sans-serif;
        color: #4b5563;
        border-radius: 4px;
        transition: all 0.3s;
        flex-shrink: 0;
    }

        .construction__status__row div:hover {
            background-color: #2848b11a;
            color: #283db1;
        }

        .construction__status__row div.selected {
            background-color: #003c85;
            color: white;
            font-weight: 600;
        }

    .construction__status__row::-webkit-scrollbar {
        display: none;
    }

    .construction__status__row input {
        visibility: hidden;
        width: 0px;
    }
    .construction__status__row > div {
        cursor: pointer;
    }


/* City Dropdown code   */
.city__dropdown__container {
    position: relative;
    max-width: 200px;
    width: 100%;
}

/* city Dropdown Button */
.city__dropdown__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-family: Manrope, sans-serif;
    padding: 12px 12px;
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #2b2b2b;
    width: 100%;
    transition: all 0.3s ease;
}

    .city__dropdown__button:hover {
        background-color: #2848b11a;
    }

    .city__dropdown__button svg {
        fill: #283db1;
        width: 20px;
        height: 20px;  
        transition: transform 0.3s ease;
    }

    .city__dropdown__button:hover .down__icon {
        transform: rotate(180deg);
    }

/*.city__dropdown__menu {
    display: none;
    position: absolute;
    overflow: hidden;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px solid #dcdcdc;
    font-family: Manrope, sans-serif;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
    z-index: 15;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}*/

/*.city__dropdown__container.open .city__dropdown__menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}*/

/*.city__dropdown__item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 12px;
    color: #333;
    transition: all 0.3s ease;
}

    .city__dropdown__item:hover {
        background-color: #f4f7fa;
        color: #4f9be8;
    }

.city__dropdown__menu::-webkit-scrollbar {
    width: 6px;
}

.city__dropdown__menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

    .city__dropdown__menu::-webkit-scrollbar-thumb:hover {
        background: #bbb;
    }*/


    .city__dropdown__container {
    position: relative;
    display: inline-block;
    width: 250px;
}

/*.city__dropdown__button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    text-align: left;
    border-radius: 5px;
}
*/
/*.city__dropdown__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}*/

/*.city__dropdown__container.open .city__dropdown__menu {
    display: block;
}
*/
.city__search__input {
    width: calc(100% - 20px);
    padding: 8px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.city__list {
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none; 
}

    .city__list::-webkit-scrollbar {
        display: none;
    }

.city__dropdown__item {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.city__dropdown__item:hover {
    background: #f0f0f0;
}

.city__image {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.no-results {
    padding: 10px;
    text-align: center;
    color: #777;
}




/* Property and bhk Dropdown Styles   */
.dropdown__container {
    position: relative;
    display: inline-block;
    width: auto;
}

.dropdown__button {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Manrope, sans-serif;
    padding: 12px 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .dropdown__button:hover {
        background-color: #2848b11a;
    }

    .dropdown__button .down__icon {
        fill: #283db1;
        width: 18px;
        height: 18px;
        transition: transform 0.3s ease;
    }

    .dropdown__button:hover .down__icon {
        transform: rotate(180deg);
    }

/* Dropdown Menu */
.citydropdown  .dropdown__menu{
    display:block;
    position:static;
    max-width:max-content;
    max-height:max-content;
    overflow-y: none;
}
.dropdown__menu {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: max-content;
    padding: 12px;
    margin-top: 10px;
    z-index: 10;
    transition: opacity 0.3s ease-in-out;
    max-height: 300px;
    overflow-y: auto;
    max-width: 350px;
    right: 0;
    left: auto;
}

    .dropdown__menu.open {
        display: block;
        opacity: 1;
    }

/* Dropdown Option Styles */
.dropdown__options-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    /*    justify-content: space-evenly;*/
    max-width: 100%;
}

    .dropdown__options-list input[type="checkbox"] {
        display: none;
    }

    .dropdown__options-list label {
        display: block;
        text-align: center;
        padding: 8px 15px;
        background-color: #fff;
        border-radius: 20px;
        cursor: pointer;
        font-size: 14px;
        color: #555;
        transition: all 0.3s ease;
        border: 1px solid #ddd;
    }

        .dropdown__options-list label:hover {
            background-color: #2848b11a;
        }

    .dropdown__options-list input:checked + label {
        background-color: #002a5b;
        color: white;
        border: none;
        border: 1px solid #2848b11a;
    }


.dropdown__button--property-type .down__icon {
    transform: rotate(0deg);
}


.dropdown__menu--property-type label {
    width: 120px;
    text-align: center;
}


.dropdown__menu--bhk {
    right: auto;
    left: 0;
}

.dropdown__button--bhk svg {
    transform: rotate(0deg);
}

.dropdown__menu--bhk label {
    width: 100px;
    text-align: center;
}

.dropdown__container,
.dropdown__button,
.dropdown__menu {
    transition: all 0.3s ease;
}





/* Budget Dropdown  code  */
.filtering__budget-dropdown {
    position: relative;
}

    .filtering__budget-dropdown .filtering__dropdown__button {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 12px 12px;
        background-color: white;
        font-family: Manrope, sans-serif;
        border: 1px solid #ddd;
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
        color: #333;
        font-weight: 600;
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }

        .filtering__budget-dropdown .filtering__dropdown__button:hover {
            background-color: #2848b11a;
        }

.filtering__dropdown__button .down__icon {
    fill: #283db1;
    transition: transform 0.3s ease;
}

.filtering__dropdown__button:hover .down__icon {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.filtering__dropdown__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    /*width: 250px;*/
    padding: 10px;
    margin-top: 5px;
    z-index: 10;
    transition: opacity 0.3s ease-in-out;
    overflow: hidden;
    box-sizing: border-box;
}

.budget_dropdown__menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.filtering__dropdown__menu.open {
    display: block;
    opacity: 1;
}

.budget_dropdown__menu .title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #283db1;
}

.flex__column {
    display: flex;
    gap: 20px;
}

.valueInput {
    display: flex;
    flex-direction: column;
}

    .valueInput select {
        padding: 8px;
        font-size: 14px;
        border: 1px solid #ddd;
        border-radius: 5px;
        background-color: #2848b11a;
        color: #333;
        cursor: pointer;
        font-weight: 500;
        width: 100px;
        transition: border-color 0.3s ease;
    }

        .valueInput select:hover {
            border-color: #283db1;
        }

.submit__budget__btn {
    padding: 10px;
    background-color: #283db1;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
}

    .submit__budget__btn:hover {
        background-color: #283db1;
    }




/* Property Listing Dropdown */
.property__type {
    padding: 12px 10px;
    font-family: Manrope, sans-serif;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .property__type:hover,
    .property__type:focus {
        background-color: #2848b11a;
        outline: none;
    }

    .property__type option {
        padding: 10px;
        background-color: white;
        color: #333;
        transition: background-color 0.3s ease;
    }

        .property__type option:hover {
            background-color: #f5f7ff;
        }

@media (max-width: 767px) {
    .filtering__headerr {
        justify-content: start;
        font-size: 12px;
    }

    .construction__status__row div {
        font-size: 12px;
    }

    .budget_dropdown__menu .title {
        font-size: 12px;
    }

    .valueInput select {
        padding: 6px;
        font-size: 12px;
    }

    .submit__budget__btn {
        padding: 8px;
        font-size: 12px;
    }

    .dropdown__options-list label {
        font-size: 12px;
    }

    .dropdown__button--bhk {
        /* padding: 12px 40px; */
        /*        min-width: 154px;*/
        justify-content: center;
        font-size: 12px;
    }

    .property__type {
        padding: 12px 90px;
        font-size: 12px;
    }

    .dropdown__button {
        padding: 12px 20px;
        font-size: 12px;
    }

    .filtering__budget-dropdown .filtering__dropdown__button {
        font-size: 12px;
        padding: 12px 10px;
    }

    .filtering__dropdown__menu {
        right: auto;
        left: 0;
        font-size: 12px;
        /* max-width: 100vw; */
        left: calc(-100% + 20px);
        width: 100%;
        min-width: max-content;
    }
}

#construction__ready {
    visibility: hidden;
    width: 5px;
}





#filter__submit__btn {
    align-items: center;
    background-color: #003c85;
    border: 0;
    border-radius: 50px;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: -apple-system, system-ui, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 20px;
    max-width: 480px;
    gap: 10px;
    min-height: 40px;
    min-width: 0px;
    overflow: hidden;
    padding: 14px;
    margin-left: 4px;
/*    margin-top: 5px;*/
    text-align: center;
    touch-action: manipulation;
    transition: background-color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, box-shadow 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s;
    user-select: none;
    -webkit-user-select: none;
    vertical-align: middle;
    transition: all .5s ease-in-out;
}
    #filter__submit__btn span {
        font-size: 18px;
        font-weight: 500;
    }

    #filter__submit__btn:hover,
    #filter__submit__btn:focus {
        background-color: #002c62;
        color: #ffffff;
    }

    #filter__submit__btn:active {
        background: #09223b;
        color: rgb(255, 255, 255, .7);
    }

    #filter__submit__btn:disabled {
        cursor: not-allowed;
        background: rgba(0, 0, 0, .08);
        color: rgba(0, 0, 0, .3);
    }









.city__dropdown__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 250px;
    overflow-y: auto;
    z-index: 50;  
}
.city__dropdown__item {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .city__dropdown__item:hover {
        background: #f4f7fa;
    }

    .city__dropdown__item img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
        border-radius: 50%;
    }

.city-tag {
    display: inline-flex;
    align-items: center;
    background: #003e88;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 5px;
    font-size: 12px;
}

    .city-tag .remove-city {
        margin-left: 8px;
        cursor: pointer;   
        font-weight: bold;
    }

    .city-tag more-tag {
        cursor: pointer !important;
        font-weight: bold;
        font-size: 18px !important;
    }



.selected-cities {
    display:flex;
    justify-content:left;
    flex-wrap:wrap;
    width:100%;
}

.more-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 250px;
    overflow-y: auto;
    padding: 10px;
    width: max-content;
    min-width: 200px;
    z-index: 100;
}

    .more-dropdown .city-tag {  
        display: block;
        width: 100%;
        margin: 5px 0;
    }

.more-tag {
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    padding: 4px 10px;
    background: #003e88;
    color: white;
    border-radius: 20px;
    display: inline-block;
}

.more-dropdown .city__dropdown__item {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    background: #003e88;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 5px;
    font-size: 12px;
}
