#map {
    width: 100%;
    height: 100%;
}

.pin {
    position: relative;
    cursor: pointer;
}

.pin-icon-svg {
    width: 36px;
    height: 36px;
    transform: translate(-50%, -50%);
}

.pin-icon-svg svg {
    display: block;
    width: 100%;
    height: 100%;
}

.pin-icon-circle {
    width: 30px;
    height: 30px;
    background: var(--app-primary);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
}

.pin-balloon {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    background: #fff;
    border-radius: 10px;
    padding: 14px 18px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    z-index: 1001;
    min-width: 300px;
    pointer-events: auto;
}

.pin-balloon::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #fff;
}

.pin-balloon.visible {
    display: block;
}

.pin-balloon .close-btn {
    position: absolute;
    top: 6px;
    right: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #999;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.pin-balloon .close-btn:hover {
    color: #333;
}