/**
 * ISWFacturacion - Estilos complementarios del menú lateral
 * Los colores dinámicos se aplican via JS (iswtaller-menu.js.php)
 * Este CSS solo define transiciones y reglas estructurales
 *
 * @package ISWFacturacion
 */

/* =====================================================
 * TRANSICIONES Y COMPORTAMIENTO BASE
 * ===================================================== */

/* Transiciones suaves para enlaces del menú ISW */
#id-left a[href*="iswfacturacion"] {
    transition: color 0.15s ease,
                background 0.15s ease,
                padding-left 0.15s ease,
                border-left 0.15s ease;
}

/* Evitar que los títulos del menú ISW hereden estilos conflictivos */
#id-left .blockvmenupair .menu_titre a[href*="iswfacturacion"] {
    text-decoration: none !important;
}

/* Icono del título del header ISW TALLER */
#id-left .blockvmenupair .menu_titre a[href*="iswfacturacion"] .pictofixedwidth {
    opacity: 0.9;
}

/* =====================================================
 * SEPARADOR VISUAL ENTRE BLOQUES ISW
 * ===================================================== */

/* Eliminar márgenes entre bloques consecutivos ISW (el JS los une) */
#id-left .blockvmenupair + .blockvmenupair {
    /* Solo actúa si el JS los ha marcado — sin JS no afecta */
}

/* =====================================================
 * RESPONSIVE: Menú lateral en pantallas pequeñas
 * ===================================================== */
@media (max-width: 768px) {
    #id-left a[href*="iswfacturacion"] {
        font-size: 13px;
        padding: 8px 10px;
    }
}

/* =====================================================
 * IMPRESIÓN: Ocultar menú lateral
 * ===================================================== */
@media print {
    #id-left .blockvmenupair {
        display: none !important;
    }
}
