.bpl-property-listing {
    margin: 30px 0;
}

.bpl-map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .bpl-map-container {
        grid-template-columns: 1fr;
    }
}

.bpl-interactive-map {
    position: relative;
    width: 100%;
}

.bpl-interactive-map img {
    width: 100%;
    height: auto;
    display: block;
}

.bpl-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bpl-overlay polygon,
.bpl-overlay .bpl-polygon,
.bpl-overlay .bpl-lot {
    pointer-events: all;
    cursor: pointer;
    transition: all 300ms ease;
    fill: rgba(76, 175, 80, 0.3); /* Warna hijau muda default */
    stroke: #4CAF50;
    stroke-width: 0.2;
    transform: scale(1);
    transform-origin: center;
    filter: drop-shadow(0 0 1px rgba(0,0,0,0));
}

.bpl-overlay polygon.available,
.bpl-overlay .bpl-polygon.available,
.bpl-overlay .bpl-lot.available {
    fill: rgba(76, 175, 80, 0.3);
    stroke: #4CAF50;
}

.bpl-overlay polygon.unavailable,
.bpl-overlay .bpl-polygon.unavailable,
.bpl-overlay .bpl-lot.unavailable {
    fill: rgba(244, 67, 54, 0.3); /* Merah untuk lot tidak tersedia */
    stroke: #F44336;
}

.bpl-overlay polygon:hover,
.bpl-overlay .bpl-polygon:hover,
.bpl-overlay .bpl-lot:hover,
.bpl-overlay polygon.active,
.bpl-overlay .bpl-polygon.active,
.bpl-overlay .bpl-lot.active {
    fill-opacity: 0.7;
    stroke-width: 0.2;
    transform: scale(1.02);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); /* Efek timbul saat hover */
    z-index: 1;
}

.bpl-lots-list {
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
}



.bpl-lots-subtitle {
    color: #64748b;
    margin-bottom: 2rem;
}

.bpl-lots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.bpl-lot-card {
    position: relative;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 300ms ease;
}

.bpl-lot-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.bpl-lot-card.active {
    border-color: #2563eb;
    box-shadow: 0 4px 6px rgba(37,99,235,0.1);
}

.bpl-lot-status {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: #ef4444;
    color: #fff;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.bpl-lot-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.bpl-lot-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bpl-lot-acres {
    color: #64748b;
    font-size: 0.875rem;
}

.bpl-lot-price {
    color: #1e3a8a;
    font-weight: 600;
}

.bpl-lot-card.unavailable {
    opacity: 0.7;
    cursor: not-allowed;
    
}

.bpl-lot-card.unavailable:hover {
    transform: none;
    box-shadow: none;
}

.bpl-lot-item {
    padding: 10px;
    margin: 5px 0;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.bpl-lot-item:hover,
.bpl-lot-item.active {
    background-color: #f0f0f0;
}

.bpl-lot-details {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}


.bpl-lot-contact {
    margin-top: 10px;
}

.bpl-lot-contact-button {
    background: #fbbf24;
    padding: 8px 18px;
color:#1e3a8a !important;
font-weight: 600;
}

.contact-button-header {
    margin-left:24px;
}


/* hide .contact-button-header in mobile */
@media (max-width: 768px) {
    .contact-button-header {
        display: none !important;
    }
    .mobile-contact-button-header {
        margin-top:24px;
    }
}