﻿.custom-pin {
    /* mavi pin için yumuşak gölge */
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35));
}

.marker-root {
    position: relative;
    display: inline-block;
}

.pin-label {
    position: absolute;
    left: 50%;
    bottom: 44px; /* pin yüksekliği + boşluk */
    transform: translateX(-50%);
    background: #fff;
    color: #1F2937;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none; /* tıklama marker'a gitsin */
}

    .pin-label::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -6px;
        transform: translateX(-50%);
        border: 6px solid transparent;
        border-top-color: #fff; /* baloncuk oku */
    }

/* İstersen dar ekranda balonu gizle */
@@media (max-width: 576px) {
    .pin-label {
        display: none;
    }
}
