/* ===============================================================
   MÓDULO MOD_INFO — Panel informativo compacto con iconos
   =============================================================== */

/* Posición del botón */
.mod-info-control {
    position: absolute;
    top: var(--info-top, 162px);
    left: var(--info-left, 8px);
}

/* Panel general */
.info-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: white;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.20);

    padding: 16px 22px;         /* panel compacto */
    max-width: 480px;
    width: auto;

    z-index: 99999;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* Mostrar / ocultar */
.info-panel.visible {
    opacity: 1;
    pointer-events: auto;
}

.info-panel.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Contenido interno */
.info-panel-content {
    position: relative;
    font-size: 14px;
    line-height: 1.15;      /* interlineado compacto */
    color: #333;
    padding-right: 26px;    /* espacio para botón cierre */
}

/* Botón de cierre */
.info-close-btn {
    position: absolute;
    top: 1px;               /* alineado con la primera fila */
    right: -10px;

    width: 26px;
    height: 26px;

    background: white;
    border: none;
    border-radius: 50%;

    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    font-size: 18px;

    cursor: pointer;
    transition: background 0.2s ease;
}

.info-close-btn:hover {
    background: #f0f0f0;
}

/* Fila de icono + texto */
.info-row {
    display: flex;
    align-items: center;     /* ✔ icono y texto alineados */
    gap: 4px;
    margin-bottom: 1px;
}

/* Última fila sin margen inferior */
.info-row:last-child {
    margin-bottom: 0;
}

/* Iconos */
.info-icon {
    width: 20px;
    height: 20px;
    opacity: 0.85;
    flex-shrink: 0;
}

/* Texto destacado */
.info-strong {
    font-weight: 600;
    color: #0A56C2;
}

.mod-info-control button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important; 
    line-height: normal !important;

    background-position: center !important;
    background-size: 70% auto !important;
}

.info-panel .info-row p {
    margin-top: 2px;
    margin-bottom: 0;
 margin: 8px 0;   /* abans estava al voltant de 20–24px */
    line-height: 1;
}

.info-panel .custom-attribution {
    color: #00009A;
    font-weight: bold;
}