.topbar {
    height: 40px;
}

#titulo_ayuda {
    float: left;
}

.toggle-btn {
    float: right;
    padding-top: 5px;
}

.class_h3 {
    text-align: left;
    padding-left: 5px;
    font-size: 12px;
    color: #95AFCF;
    font-family: 'Verdana';
}

.class_titulo_menu {
    /* --- Tus propiedades base originales --- */
    color: #6A82B3;
    text-align: left;
    padding-left: 5px;
    font-size: 12px;
    font-family: 'Verdana';
    /* font-weight: bold; */

    /* --- Nuevas propiedades para comportamiento de Enlace / Desplegable --- */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    /* Espacio entre el texto y la flecha */
    text-decoration: none;
    border-bottom: 1px dashed rgba(106, 130, 179, 0.5);
    /* Subrayado sutil discontinuo */
    padding-bottom: 1px;
    transition: all 0.2s ease-in-out;
    user-select: none;
}

/* Flechita desplegable (▾) agregada automáticamente vía CSS sin tocar el HTML */
.class_titulo_menu::after {
    content: "▾";
    font-size: 10px;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* --- Estado Hover (Al pasar el mouse por encima) --- */
.class_titulo_menu:hover {
    color: #00e5ff;
    /* Cambia a un azul neón brillante */
    border-bottom-color: #00e5ff;
    text-shadow: 0 0 6px rgba(0, 229, 255, 0.4);
    /* Resplandor sutil estilo app */
}

/* La flechita baje 1px y se vuelva 100% visible al pasar el mouse */
.class_titulo_menu:hover::after {
    opacity: 1;
    transform: translateY(1px);
}

/* --- Estado Active (Al hacer clic) --- */
.class_titulo_menu:active {
    opacity: 0.8;
    transform: scale(0.98);
}

.tooltip {
    position: relative;
    display: inline-block;
    float: none;
}


/* Tooltip text */
.tooltip .tooltiptext,
.tooltiptext_bottom,
.tooltiptext_up {
    visibility: hidden;
    width: 200px;
    background-color: #07264C;
    font-size: 11px;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    opacity: 0.9;
}

.tooltiptext {
    left: 30px;
}

.tooltiptext_bottom {
    top: 60px;
    left: 0px;
}

.tooltiptext_up {
    top: -35px;
    left: 0px;
}

.tooltip:hover .tooltiptext,
.tooltip:hover .tooltiptext_bottom,
.tooltip:hover .tooltiptext_up {
    visibility: visible;
}

.filtros {
    width: auto;
    text-align: left;

    background: #061528;

    /*border: 1px solid #1B4E85;*/
    border-radius: 6px;

    box-shadow:
        inset 0 1px 0 rgba(120, 180, 255, 0.20),
        /* brillo superior */
        inset 0 -1px 0 rgba(0, 0, 0, 0.45),
        /* sombra inferior */
        0 0 6px rgba(40, 120, 220, 0.35);
    /* resplandor exterior */
}

.filtros table td {
    font-size: 10px;
}



.recargar {
    background-image: url(../img/actualizar.png);
}



.filtros table {
    width: auto;
    border-collapse: collapse;
}

.filtros table tr {
    display: table-row !important;
}

.filtros table td {
    display: table-cell !important;
    width: auto !important;
    white-space: nowrap;
    vertical-align: middle;
}

/*************************************************************
*******************MEENU SUB***************************
*************************************************************/

.logo_menu {
    height: 100px;
    background-image: url(../img/logo_main.png);
    background-repeat: no-repeat;
    background-position: left;
    background-size: 190px 77px;
}

/* ==========================================================================
   Estructura interna del menú (HTML devuelto por PHP)
   ========================================================================== */
/* ==========================================================================
   Contenedor jQuery UI para el Menú (#popup_submodulo)
   ========================================================================== */
.ui-dialog.menu {
    padding: 0 !important;
    border: 1px solid #282c30 !important;
    border-radius: 8px !important;
    background-color: #151719 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65), 0 0 12px rgba(0, 138, 210, 0.2) !important;
    overflow: hidden;
    z-index: 9999 !important;

    /* EFECTO FADE-IN CSS */
    animation: popupFadeIn 0.15s ease-out forwards;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
        /* Aparece bajando ligeramente 4px */
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ocultar barra de título por completo */
.ui-dialog.menu .ui-dialog-titlebar {
    display: none !important;
}

/* Interior del popup */
#popup_submodulo {
    padding: 8px 0 !important;
    background-color: #151719 !important;
    color: #e0e6ed;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 13px;
    box-sizing: border-box;
    text-align: left !important;
}

/* Encabezado o Logo del menú */
#popup_submodulo .logo_menu {
    height: 30px;
    margin: 0 10px 6px 10px;
    background-position: center left;
    background-repeat: no-repeat;
    background-size: contain;
    border-bottom: 1px solid #23272b;
}

/* Reset de la lista de submódulos */
#popup_submodulo .menu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 5px !important;
}

/* Opciones de la lista */
#popup_submodulo .menu ul li {
    padding: 8px 12px;
    margin: 2px 0;
    color: #c5d1de;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.15s ease-in-out;
    display: flex;
    align-items: center;
    user-select: none;
    font-weight: 500;
}

/* Efecto al pasar el cursor (Hover) */
#popup_submodulo .menu ul li:hover {
    background-color: #008ad2;
    color: #ffffff;
    padding-left: 16px;
    box-shadow: 0 2px 8px rgba(0, 138, 210, 0.4);
}

/* Clic en opción */
#popup_submodulo .menu ul li:active {
    background-color: #0073b1;
    transform: scale(0.98);
}


/* Estilo para el enlace sutil del submódulo */
.submodulo-link {
    color: #00e5ff;
    /* Color cian/azul que resalta suavemente */
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 229, 255, 0.4);
    /* Línea punteada sutil abajo */
    padding-bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease-in-out;
    user-select: none;
}

/* Efecto al pasar el mouse (Hover) */
.submodulo-link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
    /* Sutil resplandor brillante */
}

/* Flecha sutil lateral */
.flecha-sutil {
    font-size: 10px;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.submodulo-link:hover .flecha-sutil {
    opacity: 1;
    transform: translateY(1px);
}


/********************************************************
******************  FILTROS ****************************
***********************************************************/

.filtro_no_apl,
.filtro_apl {
    width: 28px;
    height: 28px;
    cursor: pointer;
    background-size: 28px 28px;
    background-position: center;
    background-repeat: no-repeat;

    /* -- Cambios para transparencia total -- */
    background-color: transparent;
    /* Asegura que el fondo sea transparente */
    border: none;
    /* Elimina cualquier borde predeterminado */
    outline: none;
    /* Elimina el contorno de enfoque (opcional, bueno para estética) */
    /* ------------------------------------ */

    border-radius: 5px;
    /* Mantenemos las esquinas redondeadas por si acaso */
}

.filtro_no_apl {
    background-image: url(../img/no_filtrado.png);
}

.filtro_apl {
    background-image: url(../img/filtrado.png);
}


/********************************************************
******************  ALERTAS ****************************
***********************************************************/

.alerta_roja_td {
    width: 30px;
    height: 30px;
    background: transparent url('../img/alerta_roja.png') center center / 30px 30px no-repeat;
}

.alerta_amarilla_td {
    width: 30px;
    height: 30px;
    background: transparent url('../img/alerta_amarilla.png') center center / 30px 30px no-repeat;

}

.alerta_verde_td {
    width: 30px;
    height: 30px;
    background: transparent url('../img/alerta_verde.png') center center / 30px 30px no-repeat;

}