.landcomre-crm-properties {
    margin: 20px 0;
}

.crm-properties-filters {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.crm-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 20px 0;
}

.crm-properties-grid.featured-properties {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-type {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #0073aa;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.property-details {
    padding: 20px;
}

.property-title {
    font-size: 1.3em;
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.3;
}

.property-location {
    color: #7f8c8d;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-features {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid #ecf0f1;
    border-bottom: 1px solid #ecf0f1;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
    color: #5d6d7e;
}

.feature i {
    font-size: 16px;
    color: #0073aa;
}

.property-price {
    font-size: 1.5em;
    font-weight: 700;
    color: #27ae60;
    margin: 15px 0;
    text-align: center;
}

.property-actions {
    text-align: center;
}

.btn-inquire {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    width: 100%;
}

.btn-inquire:hover {
    background: #005a87;
}

.crm-no-properties {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #6c757d;
    font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .crm-properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .property-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .crm-properties-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .filter-btn {
        margin: 0;
        flex: 1;
        min-width: 100px;
        text-align: center;
    }
}

/* Loading state */
.crm-loading {
    text-align: center;
    padding: 40px;
}

.crm-loading::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}