/* Advanced Search Styles */
.advanced-search-btn {
    margin-bottom: 15px;
    background-color: #f7f7f7;
    border-color: #ddd;
    color: #333;
}

.advanced-search-btn.active {
    background-color: #e6e6e6;
    border-color: #adadad;
    color: #333;
}

.advanced-search-form {
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

.advanced-search-form label {
    font-weight: 600;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.advanced-search-form .form-group {
    margin-bottom: 15px;
}

.advanced-search-form .form-control {
    height: 40px;
}

.advanced-search-form .selectpicker {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .advanced-search-form .col-xs-12 {
        margin-bottom: 10px;
    }
}

/* Property Card Styles */
.property-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.property-tag {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    border-radius: 3px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.property-tag-featured {
    background-color: #ff5a5f;
}

.property-tag-cashflow {
    background-color: #6c1cff;
}

.property-tag-ndis {
    background-color: #28a745;
}

/* Property Stats */
.property-stats {
    margin: 15px 0;
}

.property-stats-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
}

.property-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 70px;
}

.property-stat-icon {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
    background-color: rgba(255, 90, 95, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.property-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.property-stat-label {
    font-size: 12px;
    color: #777;
}

/* Property Investment */
.property-investment {
    margin-top: 15px;
    padding: 15px;
    background-color: #f0f8ff;
    border-radius: 8px;
    border-left: 4px solid #6c1cff;
}

.property-investment-label {
    font-size: 14px;
    font-weight: 700;
    color: #6c1cff;
    margin-bottom: 10px;
}

.property-investment-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.investment-stat {
    flex: 1;
    min-width: calc(50% - 15px);
    text-align: center;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.investment-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.investment-stat-label {
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
}

.investment-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

/* Property Type */
.property-type {
    display: inline-block;
    padding: 3px 8px;
    font-size: 12px;
    background-color: rgba(255, 90, 95, 0.1);
    border-radius: 3px;
    color: #ff5a5f;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Property Date */
.property-date {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #777;
}

.property-date i {
    margin-right: 5px;
}

/* View Details Button */
.btn-detail {
    padding: 8px 15px;
    background-color: #ff5a5f;
    border-color: #ff5a5f;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-detail:hover {
    background-color: #e04146;
    border-color: #e04146;
    color: #fff;
}

/* Responsive adjustments for property cards */
@media (max-width: 767px) {
    .property-stats-inner {
        gap: 10px;
        padding: 10px;
    }
    
    .property-stat-icon {
        font-size: 16px;
        width: 30px;
        height: 30px;
    }
    
    .property-stat-value {
        font-size: 14px;
    }
    
    .investment-stat {
        min-width: 100%;
    }
}

/* Improve existing property card styles */
.property-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    background-color: #fff;
}

.property-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.item-thumb {
    position: relative;
    overflow: hidden;
}

.item-thumb img {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.item-thumb:hover img {
    transform: scale(1.05);
}

.price {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.item-body {
    padding: 15px;
}

.property-title {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0 5px;
    line-height: 1.3;
}

.property-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.property-title a:hover {
    color: #ff5a5f;
}

.property-address {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.property-address:before {
    content: '\f041';
    font-family: FontAwesome;
    margin-right: 5px;
    color: #ff5a5f;
}

.item-foot {
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
} 


.custom-attr-wrapper {
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 32, 61, 0.3);
}

.custom-attr-wrapper .custom-attr {
    background-color: #00203d;
    color: white;
    border-radius: 6px;
    padding: 5px;
    width: calc(50% - 2px);
}


h2.item-title {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
.item-amenities {
    padding: 15px 0 0;
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
}
.advanced-search-btn-popup img{
    height: auto;
    width: 20px;
}
