.map-container {
    min-height: 700px;
    height: 700px;
    position: relative;
    box-shadow: 5px 5px 5px #DFDFDF;
}

.map-container-layer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    height: 100%;
}

.map-layer {
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
    max-height: 100%;
    top: 0;
    left: 0;
    right: 0;
    cursor: pointer;
    transition: filter 0.3s ease;
}

.map-layer.highlight {
    filter: brightness(1.3) drop-shadow(0 0 10px #00f);
}


.parent-layer {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.div1-layer {
    grid-area: 1 / 1 / 6 / 4;
}

.div2-layer {
    grid-area: 1 / 4 / 3 / 6;
}

.div3-layer {
    grid-area: 3 / 4 / 6 / 6;
}

.container_buttons-layer {
    display: flex;
    gap: 10px;
    flex-direction: column;
    z-index: 999;
    bottom: 50%;
    left: 15%;
    position: relative;
    width: 70%;
    align-items: center;
    justify-content: center;
}

.legend {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    width: 100%;
}

.legend-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    & p, h1, h2, h3, h4, h5, h6 {
        margin-bottom: 0;
    }
}

.legend-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.color {
    width: 50px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #ccc;
}


/* Colores personalizados */
.ad3 {
    background-color: #cccc99;
}

.ad4 {
    background-color: #999966;
}

.frio {
    background-color: #98c4fd;
}

.loro {
    background-color: #c598b5;
}

.arenoso {
    background-color: #99e6fd;
}

.ceibas {
    background-color: #99b6c5;
}


.display-badger {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin: 10px;
}

.badge-layer {
    padding: 10px;
    white-space: inherit !important;
    width: 100%;
    align-content: center;

    & p, h1, h2, h3, h4, h5, h6 {
        color: #fff !important;
        margin-bottom: 0;
    }

    & strong {
        color: #fff;
        font-weight: bold;
    }
}