/* Real Estate Custom Styles */

/* Developer Item Styles */
.developer-item {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.developer-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.developer-logo {
    text-align: center;
    margin-bottom: 15px;
}

.developer-logo img {
    max-height: 80px;
    width: auto;
}

.developer-title {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
}

.developer-cities, .developer-provinces {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.developer-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 13px;
}

.stat-item {
    background: #f9f9f9;
    padding: 5px 10px;
    border-radius: 3px;
}

.developer-excerpt {
    margin-bottom: 15px;
    font-size: 14px;
}

/* Developer Detail Page */
.developer-header {
    margin-bottom: 30px;
}

.developer-header .developer-logo {
    text-align: center;
    margin-bottom: 20px;
}

.developer-header .developer-logo img {
    max-height: 120px;
}

.developer-meta {
    background: #f9f9f954 !important;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    color:#000;
}

.developer-meta > div {
    margin-bottom: 10px;
}

.developer-meta > div:last-child {
    margin-bottom: 0;
}

.developer-investments {
    margin-top: 40px;
}

.investment-item {
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.investment-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.investment-image img {
    width: 100%;
    height: auto;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.investment-content {
    padding: 15px;
}

.investment-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.investment-status {
    display: inline-block;
    padding: 3px 10px;
    background: #e9f7ef;
    color: #27ae60;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 10px;
}

.investment-excerpt {
    font-size: 14px;
    margin-bottom: 15px;
}

/* Property Item Styles */
.property-item {
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.property-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.property-image img {
    width: 100%;
    height: auto;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.property-content {
    padding: 15px;
}

.property-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.property-price {
    font-size: 18px;
    font-weight: bold;
    color: #2980b9;
    margin-bottom: 10px;
}

.property-specs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    font-size: 13px;
}

.property-specs span {
    margin-right: 15px;
    background: #f9f9f9;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 5px;
}

/* Review Form Styles */
.developer-review-form {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.rating-input {
    display: flex;
    margin-bottom: 10px;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label {
    cursor: pointer;
    width: 30px;
    height: 30px;
    background: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
    border-radius: 3px;
}

.rating-input input[type="radio"]:checked + label {
    background: #f39c12;
    color: white;
}

/* Review List Styles */
.developer-reviews {
    margin-top: 40px;
}

.review-item {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.review-author {
    font-weight: bold;
}

.review-date {
    color: #777;
    font-size: 13px;
}

.review-investment {
    font-style: italic;
    margin-bottom: 10px;
    color: #555;
}

.review-ratings {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.rating-item {
    margin-right: 15px;
    margin-bottom: 5px;
}

.rating-stars {
    color: #f39c12;
}

.review-content {
    font-size: 14px;
}

/* Property Contact Form */
.property-contact {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .developer-stats {
        flex-direction: column;
    }
    
    .stat-item {
        margin-bottom: 5px;
    }
    
    .property-specs {
        flex-direction: column;
    }
    
    .property-specs span {
        margin-right: 0;
    }
    
    .review-header {
        flex-direction: column;
    }
    
    .review-date {
        margin-top: 5px;
    }
    
    .review-ratings {
        flex-direction: column;
    }
}