﻿
/* Modal Size */
.property-modal {
    max-width: 600px;
}

/* Main Card */
.property-card-modal {
    border-radius: 18px;
    overflow: hidden;
    border: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    background: #fff;
}

/* Image Section */
.property-image-section {
    position: relative;
}

.property-img {
    height: 280px;
    object-fit: cover;
}

/* Price Tag */
.price-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #ff3d00;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

/* Content */
.property-content {
    padding: 16px;
}

.property-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.property-location {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.info-box {
    background: #f9fafb;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #eee;
}

    .info-box span {
        font-size: 11px;
        color: #6b7280;
        display: block;
    }

    .info-box b {
        font-size: 14px;
        color: #111827;
    }

/* Footer */
.property-footer {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid #eee;
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 14px;
}

/* Mobile */
@media (max-width: 768px) {

    .property-modal {
        max-width: 95%;
    }

    .property-img {
        height: 200px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .property-footer {
        flex-direction: column;
        gap: 8px;
    }

        .property-footer button {
            width: 100%;
        }
}
