#map {
    height: calc(100vh - 110px);
    min-height: 500px;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
}
.card { border-radius: .375rem; }
select[multiple] { font-size: .85rem; }

/* ===== КАПЛЯ-МАРКЕР ===== */
.pin-marker {
    width: 36px;
    height: 46px;
    position: relative;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,.4));
    transition: transform .15s ease;
}
.pin-marker:hover {
    transform: scale(1.15);
    z-index: 1000 !important;
}
.pin-marker svg {
    width: 100%;
    height: 100%;
    display: block;
}
.pin-logo-bg { fill: #ffffff; }
.pin-logo { pointer-events: none; }

/* ===== КЛАСТЕРЫ — кастомные через iconCreateFunction ===== */
/* Сбрасываем стили по умолчанию от markercluster */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background: transparent !important;
    border: none !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background: transparent !important;
    border: none !important;
}

/* ===== ЛЕГЕНДА ===== */
#legend { box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
}
.legend-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: none;
}
.legend-logo img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.legend-logo-text {
    font-size: 10px;
    font-weight: 700;
    color: #000;
}

/* ===== МАРКЕР РЕЗУЛЬТАТА ПОИСКА ===== */
.search-result-icon {
    width: 32px;
    height: 32px;
    background: #000;
    border: none;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.search-result-icon::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 10px; height: 10px;
    background: #FFD700;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}