.estaty-properties-container {
    margin: 20px 0;
}

.estaty-loading {
    padding: 20px;
    text-align: center;
    font-style: italic;
    color: #666;
}

.estaty-filters {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.estaty-filters h2 {
    margin-bottom: 15px;
}

.estaty-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.estaty-filter-group {
    margin-bottom: 15px;
}

.estaty-filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.estaty-filter-group input,
.estaty-filter-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.estaty-filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Property Cards */
.estaty-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.estaty-property-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.estaty-property-card:hover {
    transform: translateY(-5px);
}

.estaty-property-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.estaty-property-content {
    padding: 15px;
}

.estaty-property-title {
    margin: 0 0 5px;
    font-size: 1.1em;
}

.estaty-property-price {
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 10px;
}

.estaty-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #666;
}

.estaty-property-meta span {
    display: inline-block;
}

.estaty-view-details {
    display: block;
    width: 100%;
    padding: 8px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}

.estaty-view-details:hover {
    background: #005177;
}

/* Property Details */
.estaty-property-details {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
}

.estaty-back-button {
    background: #0073aa;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    margin-bottom: 20px;
    cursor: pointer;
}

.estaty-property-header {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.estaty-property-gallery {
    flex: 1 1 300px;
}

.estaty-property-info {
    flex: 1 1 300px;
}

.estaty-main-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 6px;
}

.estaty-property-meta-item {
    background: #f5f5f5;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}

.estaty-status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.estaty-property-description {
    margin: 20px 0;
    line-height: 1.6;
}

.estaty-property-features {
    margin-top: 20px;
}

.estaty-property-features span {
    display: inline-block;
    background: #e1f5fe;
    padding: 5px 10px;
    margin: 0 5px 5px 0;
    border-radius: 4px;
    font-size: 0.9em;
}

/* List layout */
.estaty-properties-list .estaty-property-card {
    display: flex;
}

.estaty-properties-list .estaty-property-thumbnail {
    flex: 0 0 250px;
}

.estaty-properties-list .estaty-property-thumbnail img {
    height: 100%;
}

@media (max-width: 768px) {
    .estaty-filters-grid {
        grid-template-columns: 1fr;
    }
    
    .estaty-properties-list .estaty-property-card {
        flex-direction: column;
    }
    
    .estaty-properties-list .estaty-property-thumbnail {
        flex: 0 0 auto;
    }
}