/* ===== 건물 추정가 오버레이 스타일 ===== */
.building-price-overlay {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.price-label {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #F35757;
    border-radius: 10px;
    padding: 6px 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    min-width: 80px;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}

.price-label:hover {
    background: #F35757;
    color: white;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 6px 16px rgba(243, 87, 87, 0.5);
    border-color: #d63030;
}

.building-name {
    font-size: 10px;
    color: #666;
    margin-bottom: 3px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    line-height: 1.2;
}

.price-label:hover .building-name {
    color: rgba(255, 255, 255, 0.95);
}

.price-amount {
    font-size: 13px;
    font-weight: 800;
    color: #F35757;
    white-space: nowrap;
    letter-spacing: -0.3px;
}

.price-label:hover .price-amount {
    color: white;
}

/* 작은 화면용 최적화 */
@media (max-width: 768px) {
    .price-label {
        padding: 5px 10px;
        min-width: 70px;
        border-width: 1.5px;
    }

    .building-name {
        font-size: 9px;
        max-width: 100px;
        margin-bottom: 2px;
    }

    .price-amount {
        font-size: 11px;
    }
}

/* 애니메이션 효과 */
@keyframes pricePopIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    60% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.building-price-overlay {
    animation: pricePopIn 0.3s ease-out;
}