/* View Toggle Styles */
#btnContainer {
    margin-bottom: 0;
    display: flex;
    justify-content: flex-end;
}


span {
    color: #000000;
}

.btn-view {
    border: 1px solid var(--border-light);
    outline: none;
    padding: 8px 16px;
    background: var(--primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 4px;
    margin-right: 5px;
    color: var(--secondary);
}

.btn-view:hover {
    background: var(--secondary);
    color: #ffffff;
}

.btn-view.active {
    background: var(--main);
    border: 1px solid var(--secondary);
    color: var(--text);
}

/* Property Item Styles */
.property-item {
    margin-bottom: 30px;
    overflow: hidden;
    background: var(--gradient-card);
    border-radius: 8px;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
}

.property-item:hover {
    box-shadow: 0 5px 15px var(--shadow-light);
}

/* Property Image */
.img-property {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Content */
.property-content {
    padding: 15px;
    color: var(--text);
}

/* Grid View (default) */
.grid-view .property-col {
    width: 33.33%;
    float: left;
    padding: 10px;
}

/* List View */
.list-view .property-col {
    width: 100%;
    float: none;
    padding: 10px;
}

.list-view .property-item {
    display: flex;
    background: var(--gradient-card);
}

.list-view .property-item .img {
    width: 40%;
}

.list-view .property-item .img img {
    height: 300px;
    object-fit: cover;
}

.list-view .property-item .property-content {
    width: 60%;
}

/* Clearfix */
.row::after {
    content: "";
    display: table;
    clear: both;
}

/* Filter Field */
.filde_filter {
    background: var(--main);
    border: 1px solid var(--secondary);
    color: var(--text);
    padding: 10px;
    width: 200px;
    border-radius: 5px;
    transition: var(--transition-smooth);
}

.filde_filter:hover {
    background: var(--secondary);
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .grid-view .property-col {
        width: 50%;
    }
}

@media (max-width: 768px) {

    .grid-view .property-col,
    .list-view .property-col {
        width: 100%;
    }

    .list-view .property-item {
        display: block;
    }

    .list-view .property-item .img,
    .list-view .property-item .property-content {
        width: 100%;
    }
}