.ol-tools-legend {
    position: absolute;
    bottom: 10px;
    left: 10px;

    padding: 6px 10px;

    background: #fff;
    border-radius: 8px;

    user-select: none;

    width: max-content;

    .ol-tools-legend-title {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .ol-tools-legend-content {
        cursor: pointer;
    }

    .ol-tools-legend-list-wrap {
        min-width: 60px;
    }

    .ol-tools-legend-list {
        max-width: 270px;
        max-height: 270px;
        overflow-y: auto;

        .ol-tools-legend-item {
            text-align: center;
            padding: 4px;
            min-width: 50px;
            display: flex;
            align-items: center;

            .ol-tools-legend-item-img {
                margin-right: 5px;
                max-width: 20px;
            }

            .ol-tools-legend-item-title {
                font-size: 14px;
            }
        }
    }
}

.ol-tools-legend-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}
