.heading-1-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.right-heading-1 {
    display: flex;
}
.right-heading-1 .item{
    margin: 0 16px;
}
.right-heading-1 .item:last-child{
    margin-right: 0;
}
.property-container .card-item {
    display: none; /* Hide all card items initially */
}

.property-container .card-item.active {
    display: block; /* Only show card items that are marked as active */
}
.load-more {
    text-align: center;
    margin-bottom: 332px;
}
.btn.black{
    background-color: #222529;
    color: rgba(241, 243, 245, 0.8);
    padding: 12px 36px 12px 45px;
    border-radius: 40px;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
    display: inline-block;
    position: relative;
}
.btn.black:hover{
    text-decoration: none;
    background-color: rgba(34, 37, 41, 0.8);
}
.btn.black::before{
   content: '';
   width: 9px;
   height: 9px;
   position: absolute;
   background-image: url(../svg/arrow.svg);
   top: 50%;
   left: 20%;
   transform: translate(-50%, -50%);
}
.favorites-property{
    display: flex;
    justify-content: space-between;
}
.f-left{
    width: 1180px;
}
.f-right{
    width: 313px;
}
.sidebar {
    background: #191B1C;
    padding: 32px 22px 29px;
    color: #fff;
}
.sidebar h2{
    font-family: var(--font-body);
    margin: 12px 0 80px;
    color: #FFF;
    font-weight: 500;
    font-size: 32px;
    line-height: 42.24px;
}
.type-block {
    margin-bottom: 28px;
}
.type-block label{
    margin-bottom: 20px;
    display: block;
}
.name-type input[type="text"]{
    margin-bottom: 20px;
}
.property-container.tab-content{
    margin-top: 0;
}
.form-btn {
    display: flex;
    justify-content: space-between;
}
.btn-placeholder {
    flex: 1; 
}
.btn.back, .btn.next, .btn.send {
    flex: 1; 
    background: #F1F3F5;
    color: #222529;
    padding: 8px 28px;
    max-width: 110px;
    position: relative;
    font-size: 14px;
    font-family: var(--font-body);
    line-height: 24px;
}
.btn.next::after, .btn.send::after {
    content: '';
    width: 8px;
    height: 14px;
    position: absolute;
    background-image: url(../index.html);
    top: 50%;
    right: 22%;
    transform: translate(50%, -50%);
}
.btn.back{
    background: transparent;
    border: 1px solid #FFFFFF33;
    color: #F1F3F5;
}
.btn.back::before {
    content: '';
    width: 8px;
    height: 14px;
    position: absolute;
    background-image: url(../index.html);
    top: 50%;
    left: 15%;
    transform: translate(50%, -50%);
}
.last-step{
    min-height: 265px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 123px;
}
.form-group select,
.form-group input{
    border: none;
    background: transparent;
    border-bottom: 1px solid #FFF;
    border-radius: 0;
    padding: 12px 0;
    color: #FFF;
    font-size: 12px;
    font-weight: 300;
    font-family: var(--font-body);
}
.form-group select{
    background-image: url(../index.html);
    background-repeat: no-repeat;
    background-position: 100% 50%;
}
.form-group select option{
    color: #FFF;
    background-color: #191B1C;
}
.form-group input::placeholder{
    color: #FFF;
}
.checkbox-group {
    display: flex;
    justify-content: space-between;
}
.quel-left{
    width: 45%;
}
.quel-right{
    width: 45%;
}
.quel-left span, .quel-right span {
    display: flex;
    align-items: normal;
}

input[type="checkbox"] {
    margin-right: 10px;
    max-width: 15px;
    margin-top: 0;
}
.heading-type-1{
    margin: 150px 0;
}
.favorites-property .card-images-slider img{
    object-fit: cover;
}
.favorites-property .card-images-slider .swiper-slide{
    height: 374px;
}
.card-heading {
    width: 50%;
}
.property-type .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
    color: #FFF;
    font-size: 12px;
    font-weight: 300;
}
.property-type .select2-container .select2-search--inline .select2-search__field{
    font-size: 12px;
}
select[multiple] {
    width: 100%; 
    height: auto; 
    overflow-y: auto; 
}
select[multiple] option {
    padding: 3px 0;
}
/* Webkit browsers like Chrome, Safari */
select[multiple]::-webkit-scrollbar {
    display: none; 
}

/* Firefox */
select[multiple] {
    scrollbar-width: none; /* Hides scrollbar for Firefox */
}

.property-type .select2-container--default .select2-selection--multiple .select2-selection__choice{
    background: transparent;
    font-size: 12px;
}
.property-type .select2-container--default .select2-selection--multiple{
    border: none;
    border-bottom: 1px solid #FFF;
    background: transparent;
    border-radius: 0;
}
.property-type .select2-container--default.select2-container--focus .select2-selection--multiple{
    border: none;
    border-bottom: 1px solid #FFF;
}
.property-type .select2-container{
    background-image: url(../index.html);
    background-repeat: no-repeat;
    background-position: 100% 0;
}
.select2-results__options li.select2-results__option:first-child{
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.select2-results__options li.select2-results__option:last-child{
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.select2-container--open .select2-dropdown--below{
    border-radius: 15px !important;
}
.favorites-page .form-content ul#country-select {
    position: absolute;
    display: none;
    top: 0;
    background: #191B1C;
    z-index: 2;
}
#agency-select .vscomp-options-container{
    border-radius: 15px;
    border: 1px solid;
    background: #fff;
}
#agency-select .vscomp-dropbox{
    background: transparent;
}
#agency-select .pop-comp-wrapper{
    background: transparent;
}
#agency-select .vscomp-options-container::-webkit-scrollbar {
    width: 0; /* width of the entire scrollbar */
}
.favorites-page .form-content ul#country-select li img {
    width: 32px;
    height: auto;
}

.favorites-page .form-content #selected-flag img {
    width: 32px;
    height: auto;
}

.favorites-page .form-content span#selected-flag {
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
}

.favorites-page .form-content span#selected-flag svg {
    height: 32px;
    margin-left: 10px;
}

.favorites-page .form-content span#selected-flag.active svg{
    transform: rotateX(180deg);
}
.favorites-page .phone-group {
    display: flex;
    justify-content: space-between;
}
.favorites-page #flats {
    width: 69px;
    margin-right: 16px;
    position: relative;
}
/* .form-group .phone-group{
    border-bottom: 1px solid #fff;
}
.form-group .phone-group input{
    border-bottom: none;
} */
@media (max-width: 1750px) {
    .f-left {
        width: 65%;
    }
    .load-more{
        margin-bottom: 100px;
    }
    .favorites-property .card-images-slider .swiper-slide{
        height: auto;
    }
}
@media (max-width: 1440px) {
    .heading-type-1 .heading-block {
        padding-bottom: 0;
    }
    .favorites-property .card-images-slider .swiper-slide {
        height: auto;
    }
    .infor-items{
        flex-wrap: wrap;
    }
    .infor-items .info-item{
        width: 50%;
    }
}
@media (max-width: 1200px) {
    .f-left {
        width: 50%;
    }
    .favorites-property .card-item{
        width: 100%;
        margin: 0 0 60px;
    }
}

@media (max-width: 767px) {
    .heading-type-1{
        margin: 48px 0 120px;
    }
    .heading-1-section {
        align-items: flex-start;
        flex-direction: column;
    }
    .right-heading-1 .item:first-child{
        margin-left: 0;
    }
    .heading-type-1 .heading-block {
        padding-left: 0; 
    }
    .heading-type-1 h1.title{
        font-size: 32px;
    }
    .heading-type-1 .sub-title{
        font-size: 22px;
        display: block;
        line-height: 1.2;
    }
    .favorites-property{
        flex-wrap: wrap;
    }
    .f-left,
    .f-right{
        width: 100%;
    }
    .f-right{
        margin-bottom: 40px;
    }
    .load-more{
        margin-bottom: 60px;
    }
    .favorites-property .card-item {
        margin: 0 0 40px;
    }
}
