/* ============================================================
   BLOQUE 1: LUCES DEL MAPA (SVG)
   ============================================================ */
/* ELIMINÁ LO ANTERIOR Y PEGÁ ESTO */
/* Esto es solo para las luces, no afecta a tus tarjetas de mapa */
circle.punto-rojo {
    fill: #ff0000 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.punto-activo {
    opacity: 1 !important;
    fill: #ff0000 !important;
}

#infoBoxQueque {
    min-height: 60px;
    background: #ffffff;
    border: 2px solid #2c3e50;
    border-radius: 10px;
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    max-width: 500px;
}

/* ============================================================
   BLOQUE 2: BOTONES DE ACCESO Y MODALES (CORREGIDO 1100px)
   ============================================================ */

/* El contenedor que envuelve a los dos rectángulos */
.botones-container-queque {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px auto;
    width: 100%;
    max-width: 1100px;
    /* Alineado con la sección de Datos */
}

/* Los rectángulos (Mapa y 360) */
.tarjeta-mapa {
    background: #ffffff;
    border: 2px solid #2c3e50;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    /* Estira los botones para ocupar el ancho total */
    min-width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tarjeta-mapa:hover {
    background: #2c3e50;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Cambio de color de textos en hover */
.tarjeta-mapa:hover span,
.tarjeta-mapa:hover b,
.tarjeta-mapa:hover small,
.tarjeta-mapa:hover .titulo-mapa,
.tarjeta-mapa:hover .subtitulo-mapa,
.tarjeta-mapa:hover .icono-mapa {
    color: white !important;
}

/* Estilos de texto internos de las tarjetas */
.icono-mapa {
    font-size: 45px;
    color: #2c3e50;
}

.titulo-mapa {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
}

.subtitulo-mapa {
    font-size: 14px;
    color: #7f8c8d;
}

/* VENTANA MODAL - FONDO */
.map-window {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* CONTENIDO DEL MODAL - AHORA A 1100px */
.modal-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    width: 95%;
    max-width: 1100px;
    /* Agrandado para que el mapa luzca */
    position: relative;
}

/* BOTÓN CERRAR */
.close-btn {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 35px;
    cursor: pointer;
    color: #333;
    z-index: 10;
}

/* IFRAME DEL MAPA */
.modal-content iframe {
    width: 100% !important;
    height: 500px;
    /* Altura generosa para el mapa */
    border-radius: 8px;
    border: none;
    display: block;
}

/* Ajuste para que en móviles se vea uno abajo del otro */
@media (max-width: 768px) {
    .tarjeta-mapa {
        flex: 1 1 100%;
    }

    .modal-content iframe {
        height: 350px;
    }
}