.custom-hint {
    display: inline-block;
    width: fit-content;
    min-width: 200px;
    max-width: 400px;

    background: #F5F5F5;
    border: 1px solid #dee2e6;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    position: relative;
}

.map-wrapper {
    position: relative;
}

.map-info {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    background: #F5F5F5;
    border: 1px solid #dee2e6;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: none;
}

.map-info.active {
    display: block;
}

.map-info__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    line-height: 1;

    transition: all 0.2s ease;
}

.map-info__close:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #000;
}

@media (max-width: 420px) {
    .map-info {
        right: 10px;
        left: 10px;
    }
}