/* mapainter style */

/* --- TUS BOTONES Y GRILLAS (NO SE TOCAN) --- */
.marco-botones {
    border: 1px solid #ccc;
    padding: 2px;
    margin-bottom: 2px;
}

.titulo-mapa-principal {
    background-color: #2e7d32;
    color: white;
    padding: 5px;
    font-size: 0.95rem;
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    margin-bottom: 2px;
}

.grilla-espacios {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    margin-bottom: 2px;
}

.rectangulo-verde {
    background-color: #c8e6c9;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    font-family: sans-serif;
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.rectangulo-verde:hover {
    background-color: #2e7d32;
    color: white;
}

.titulo-obras-marron {
    background-color: #5d4037;
    color: white;
    padding: 4px;
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    margin-bottom: 2px;
}

.grilla-obras {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
}

.rectangulo-marron {
    background-color: #d7ccc8;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    font-family: sans-serif;
    font-size: 0.75rem;
}

.rectangulo-marron:hover {
    background-color: #5d4037;
    color: white;
}

/* --- ESTRUCTURA DEL MAPA --- */
.contenedor-borde-mapa {
    width: 100%;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    padding: 15px 0;
    margin-top: 2px;
}

.mapa-posicion-relativa {
    position: relative;
    width: 60%;
    /* Tu escala original */
}

.mapa-posicion-relativa img {
    width: 100% !important;
    height: auto;
    display: block;
}

/* --- LAS LUCECITAS (Sin números y verdes) --- */
.punto-lucita {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #FFFF00 !important;
    border: 0.5px solid #000000 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 10px #00FF00;
    z-index: 100;
    /* Empiezan invisibles */
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    /* Esto quita cualquier número que asome */
    color: transparent !important;
    display: block;
}


