/* ====================== ESTILOS INTEGRADOS ====================== */
        
        /* Variables globales */
        :root {
            --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            --navbar-bg: rgba(255, 255, 255, 0.95);
            --shadow-color: rgba(102, 126, 234, 0.2);
            --glow-color: rgba(102, 126, 234, 0.4);
            --text-primary: #495057;
            --border-color: rgba(255, 255, 255, 0.3);
            --dark-gradient: linear-gradient(to right, #004e92, #000428);
        }

        /* Tipografía */
        @font-face {
            font-family: "RobotoCondensedLight";
            src: url("../webfonts/robotocondensed-light.ttf");
        }
        
        @font-face {
            font-family: "RobotoRegular";
            src: url("../webfonts/roboto-regular.ttf");
        }
        
        @font-face {
            font-family: "OswaldLight";
            src: url("../webfonts/oswald-light.ttf");
        }

        /* Estilos base */
        body, html {
            height: 100%;
            width: 100%;
            margin: 0;
            padding: 0;
            font-size: 16px;
            font-family: "RobotoRegular";
            position: relative;
            background: var(--dark-gradient);
            min-height: 100vh;
            overflow-x: hidden;
        }

        .text-condensedLight { font-family: "RobotoCondensedLight"; }
        .tittles { font-family: "OswaldLight"; }
        
        .full-width {
            margin: 0;
            padding: 0;
            width: 100%;
            box-sizing: border-box;
        }
        
        .list-unstyle {
            margin: 0;
            padding: 0;
            list-style: none;
            box-sizing: border-box;
        }
        
        .img-responsive {
            width: 100%;
            height: auto;
        }
        
        .divider-menu-h {
            height: 0 !important;
            border-top: 1px solid #E1E1E1;
            width: 92% !important;
            margin: 0 auto !important;
        }

        /* ====================== BARRA DE NAVEGACIÓN ESTILIZADA ====================== */
        .navBar {
            background: var(--navbar-bg);
            backdrop-filter: blur(20px) saturate(180%);
            border-bottom: 1px solid var(--border-color);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            min-height: 70px;
        }

        .navBar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--primary-gradient);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .navBar:hover::before {
            opacity: 1;
        }

        .navBar-options {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.875rem 1.5rem;
            min-height: 70px;
            position: relative;
        }

        /* Botón de menú */
        #btn-menu {
            font-size: 1.5rem;
            color: #667eea;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            padding: 12px;
            border-radius: 50%;
            background: rgba(102, 126, 234, 0.1);
            position: relative;
            overflow: hidden;
            z-index: 1001;
        }

        #btn-menu::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: var(--primary-gradient);
            border-radius: 50%;
            transition: all 0.4s ease;
            transform: translate(-50%, -50%);
            z-index: -1;
        }

        #btn-menu:hover {
            color: white;
            transform: rotate(180deg) scale(1.15);
            box-shadow: 0 6px 25px var(--shadow-color);
        }

        #btn-menu:hover::before {
            width: 100%;
            height: 100%;
        }

        /* Breadcrumbs */
        .navbar-breadcrumb-container {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 2rem;
        }

        .navbar-breadcrumb {
            background: transparent;
            margin: 0;
            padding: 0;
        }

        .navbar-breadcrumb ul {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .navbar-breadcrumb li {
            display: flex;
            align-items: center;
            position: relative;
        }

        .navbar-breadcrumb li:not(:last-child)::after {
            content: '';
            width: 0;
            height: 0;
            border-left: 14px solid #667eea;
            border-top: 16px solid transparent;
            border-bottom: 16px solid transparent;
            margin: 0 10px;
            animation: arrowFloat 3s ease-in-out infinite;
            filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
        }

        @keyframes arrowFloat {
            0%, 100% { 
                opacity: 0.7;
                transform: translateX(0) scale(1);
            }
            25% { 
                opacity: 1;
                transform: translateX(2px) scale(1.05);
            }
            50% { 
                opacity: 0.8;
                transform: translateX(-1px) scale(1.1);
            }
            75% { 
                opacity: 1;
                transform: translateX(1px) scale(1.05);
            }
        }

        .navbar-breadcrumb a {
            padding: 10px 18px;
            border-radius: 25px;
            font-weight: 600;
            font-size: 1rem;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: rgba(102, 126, 234, 0.08);
            color: var(--text-primary);
            border: 1px solid transparent;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
        }

        .navbar-breadcrumb a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--primary-gradient);
            transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: -1;
        }

        .navbar-breadcrumb a::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
            border-radius: 50%;
            transition: all 0.3s ease;
            transform: translate(-50%, -50%);
            z-index: 1;
        }

        .navbar-breadcrumb a:hover {
            color: white;
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 25px var(--shadow-color);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .navbar-breadcrumb a:hover::before {
            left: 0;
        }

        .navbar-breadcrumb a:hover::after {
            width: 40px;
            height: 40px;
            animation: ripple 0.6s ease-out;
        }

        @keyframes ripple {
            0% { width: 0; height: 0; opacity: 1; }
            100% { width: 40px; height: 40px; opacity: 0; }
        }

        .navbar-breadcrumb .is-active a {
            background: var(--primary-gradient);
            color: white;
            box-shadow: 0 8px 25px var(--shadow-color);
            animation: activeGlow 3s ease-in-out infinite alternate;
            border-color: rgba(255, 255, 255, 0.3);
        }

        @keyframes activeGlow {
            0% { 
                box-shadow: 0 8px 25px var(--shadow-color);
                filter: brightness(1);
            }
            100% { 
                box-shadow: 0 12px 30px var(--shadow-color), 0 0 20px var(--glow-color);
                filter: brightness(1.1);
            }
        }

        .navbar-breadcrumb a i {
            margin-right: 8px;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        .navbar-breadcrumb a:hover i {
            transform: rotate(360deg) scale(1.1);
            text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
        }

        /* Título */
        .navbar-title {
            flex: 1;
            text-align: center;
            font-size: 1.5rem !important;
            font-weight: 700;
            color: #667eea;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
            animation: titlePulse 4s ease-in-out infinite alternate;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        @keyframes titlePulse {
            0% { 
                filter: brightness(1);
                transform: scale(1);
            }
            100% { 
                filter: brightness(1.2);
                transform: scale(1.02);
            }
        }

        /* Opciones de navegación */
        .navBar-options-list {
            margin: 0;
        }

        .navBar-options-list ul {
            display: flex;
            align-items: center;
            gap: 1.2rem;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .navBar-options-list li {
            display: flex;
            align-items: center;
        }

        .navBar-options-list a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(102, 126, 234, 0.1);
            color: #667eea;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            font-size: 1.2rem;
            position: relative;
            overflow: hidden;
        }

        .navBar-options-list a::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: var(--primary-gradient);
            border-radius: 50%;
            transition: all 0.4s ease;
            transform: translate(-50%, -50%);
            z-index: -1;
        }

        .navBar-options-list a:hover {
            color: white;
            transform: translateY(-4px) scale(1.15);
            box-shadow: 0 8px 25px var(--shadow-color);
        }

        .navBar-options-list a:hover::before {
            width: 120%;
            height: 120%;
        }

        .navBar-options-list .btn-exit:hover {
            background: var(--secondary-gradient);
            animation: exitShake 0.6s ease-in-out;
        }

        .navBar-options-list .btn-exit:hover::before {
            background: var(--secondary-gradient);
        }

        @keyframes exitShake {
            0%, 100% { transform: translateY(-4px) scale(1.15) rotate(0deg); }
            20% { transform: translateY(-4px) scale(1.15) rotate(-8deg); }
            40% { transform: translateY(-4px) scale(1.15) rotate(8deg); }
            60% { transform: translateY(-4px) scale(1.15) rotate(-6deg); }
            80% { transform: translateY(-4px) scale(1.15) rotate(6deg); }
        }

        .navBar-options-list small {
            color: #6c757d;
            font-weight: 600;
            white-space: nowrap;
            margin-right: 0.75rem;
            transition: all 0.3s ease;
        }

        /* Imagen de perfil */
        .navBar .img-responsive {
            width: 48px;
            height: 48px;
            object-fit: cover;
            border: 3px solid #667eea;
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            border-radius: 50%;
        }

        .navBar .img-responsive::before {
            content: '';
            position: absolute;
            top: -3px;
            left: -3px;
            right: -3px;
            bottom: -3px;
            background: var(--primary-gradient);
            border-radius: inherit;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .navBar .img-responsive:hover {
            transform: scale(1.12) rotate(5deg);
            box-shadow: 0 10px 30px rgba(118, 75, 162, 0.4);
        }

        .navBar .img-responsive:hover::before {
            opacity: 1;
        }

        /* Animación de carga */
        .breadcrumb-loader {
            position: relative;
        }

        .breadcrumb-loader::before {
            content: '';
            position: absolute;
            top: -2px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--accent-gradient);
            border-radius: 2px;
            animation: loadingFlow 2.5s infinite;
        }

        @keyframes loadingFlow {
            0% { 
                width: 0%; 
                opacity: 0; 
                transform: translateX(0);
            }
            10% { 
                opacity: 1; 
            }
            50% { 
                width: 100%; 
                opacity: 1;
                transform: translateX(0);
            }
            90% { 
                opacity: 1; 
            }
            100% { 
                width: 0%; 
                opacity: 0; 
                transform: translateX(100%);
            }
        }

        /* ====================== CONTENIDO PRINCIPAL ====================== */
        .page-container {
            height: 100%;
            width: 100%;
            margin: 0;
            padding: 0;
            position: relative;
            display: flex;
            justify-content: space-between;
        }

        .navLateral,
        .pageContent,
        .navLateral-body {
            height: 100%;
        }

        .navLateral,
        .pageContent {
            overflow-y: auto;
        }

        /* Panel lateral - CORREGIDO */
        .navLateral {
            width: 300px;
            border-right: 1px solid #E1E1E1;
            transition: all 0.3s ease-in-out;
            position: relative;
            background: rgba(255, 255, 255, 0.95);
            z-index: 900;
            transform: translateX(0);
        }

        .navLateral-change {
            transform: translateX(-100%);
            opacity: 0;
            pointer-events: none;
            width: 0;
            border-right: none;
        }

        .navLateral-body {
            background-color: rgba(255, 255, 255, 0.95);
            position: relative;
        }

        .navLateral-body-logo {
            height: 45px;
            line-height: 45px;
            color: #fff;
            width: 100%;
            font-size: 25px;
            background: var(--primary-gradient);
            text-align: center;
        }

        .navLateral-body-cl,
        .navLateral-body-cr {
            box-sizing: border-box;
            height: 77px;
            float: left;
            margin: 0;
            padding: 0;
            position: relative;
        }

        .navLateral-body-cl {
            width: 25%;
        }

        .navLateral-body-cl img {
            width: 57px;
            height: 57px;
            margin: 0 auto;
            display: block;
            margin-top: 10px;
            border-radius: 50%;
            border: 2px solid #667eea;
        }

        .navLateral-body-cr {
            width: 70%;
            font-family: "RobotoCondensedLight";
            padding-top: 1px;
        }

        .navLateral-body-tittle-menu {
            height: 70px;
            line-height: 70px; 
            font-size:20px; 
            background-color: #F5F5F5;
            text-align: center;
            font-family: "OswaldLight";
            color: #667eea;
        }

        .menu-principal li,
        .menu-principal li a {
            display: block;
        }

        .menu-principal li a {
            height: 45px;
            color: #333;
            position: relative;
            transition: all .3s ease-in-out;
        }

        .menu-principal li a:hover {
            color: #3F51B5;
            background: rgba(102, 126, 234, 0.1);
        }

        .menu-principal li a div.navLateral-body-cl,
        .menu-principal li a div.navLateral-body-cr {
            height: 45px;
            line-height: 45px;
        }

        .menu-principal li a div.navLateral-body-cl {
            text-align: center;
            font-size: 20px;
        }

        .btn-subMenu span.fa-chevron-down {
            position: absolute;
            top: 0;
            right: 7px;
            line-height: 45px;
            height: 45px;
            font-size: 19px;
            transition: all .3s ease-in-out;
        }

        .btn-subMenu + .sub-menu-options {
            transition: all .3s ease-in-out;
        }

        .sub-menu-options {
            height: 0;
            background-color: #F5F5F5;
            overflow-y: hidden;
            transition: all .3s ease-in-out;
        }

        .sub-menu-options li a { 
            border-left: 4px solid transparent; 
            padding-left: 20px;
        }

        .sub-menu-options li a:hover { 
            border-left: 4px solid #3F51B5; 
        }

        .btn-subMenu-show {
            background-color: rgba(0, 0, 0, 0.1);
        }

        .btn-subMenu-show .navLateral-body-cl,
        .btn-subMenu-show .navLateral-body-cr {
            color: darkgray;
        }

        .btn-subMenu-show + .sub-menu-options {
            height: auto;
            overflow-y: auto;
            background-color: rgba(0, 0, 0, 0.1);
        }

        .btn-subMenu-show span.fa-chevron-down {
            transform: rotate(180deg);
        }

        /* Contenido de página - CORREGIDO */
        .pageContent {
            width: calc(100% - 300px);
            background-color: rgba(255, 255, 255, 0.95);
            transition: all 0.3s ease-in-out;
            padding: 20px;
            color: #333;
        }

        .pageContent-change {
            width: 100%;
            margin-left: 0;
        }

        /* Detalles de venta */
        .sale-details {
            display: flex;
            justify-content: space-between;
            transition: all .3s ease-in-out;
            padding: 15px;
            border-bottom: 1px solid #eee;
        }

        .sale-details:hover {
            background-color: rgba(102, 126, 234, 0.05);
        }

        /* ====================== DISEÑO RESPONSIVO ====================== */
        @media (max-width: 1024px) {
            .navbar-breadcrumb-container {
                margin: 0 1.5rem;
            }
            
            .navbar-breadcrumb a {
                font-size: 0.95rem;
                padding: 8px 14px;
            }

            .navbar-title {
                font-size: 1.3rem !important;
            }
        }

        @media (max-width: 768px) {
            .navBar-options {
                padding: 0.75rem 1rem;
                min-height: 65px;
            }

            .navbar-breadcrumb-container {
                margin: 0 1rem;
            }

            .navbar-breadcrumb a {
                font-size: 0.85rem;
                padding: 6px 12px;
            }

            .navbar-breadcrumb a i {
                margin-right: 5px;
            }

            .navbar-breadcrumb li:not(:last-child)::after {
                border-left-width: 12px;
                border-top-width: 14px;
                border-bottom-width: 14px;
                margin: 0 8px;
            }

            .navBar-options-list ul {
                gap: 0.8rem;
            }

            .navBar-options-list a {
                width: 38px;
                height: 38px;
                font-size: 1.1rem;
            }

            .img-responsive {
                width: 40px;
                height: 40px;
            }

            .navbar-title {
                font-size: 1.2rem !important;
                letter-spacing: 1px;
            }
        }

        @media (max-width: 750px) {
            .navLateral {
                position: fixed;
                left: 0;
                top: 70px;
                bottom: 0;
                z-index: 900;
                transform: translateX(-100%);
                opacity: 0;
                pointer-events: none;
                width: 300px;
                border-right: 1px solid #E1E1E1;
                transition: transform 0.3s ease, opacity 0.3s ease;
            }
            
            .navLateral-change {
                transform: translateX(0);
                opacity: 1;
                pointer-events: auto;
                width: 300px;
            }
            
            .pageContent {
                width: 100%;
            }
            
            .pageContent-change {
                width: 100%;
            }
        }

        @media (max-width: 480px) {
            .navbar-breadcrumb a span {
                display: none;
            }

            .navbar-breadcrumb a i {
                margin-right: 0;
            }

            .navBar-options-list small {
                display: none;
            }

            .navbar-title {
                font-size: 1rem !important;
            }

            #btn-menu {
                padding: 10px;
                font-size: 1.3rem;
            }
        }

        /* Accesibilidad */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        .navbar-breadcrumb a:focus,
        .navBar-options-list a:focus,
        #btn-menu:focus {
            outline: 2px solid #667eea;
            outline-offset: 2px;
        }
        
        /* Scroll personalizado */
        .scroll::-webkit-scrollbar {
            width: 8px;
        }
        
        .scroll::-webkit-scrollbar-thumb {
            background: rgba(102,107,122,0.7);
            border-radius: 4px;
        }
        
        .scroll::-webkit-scrollbar-thumb:active,
        .scroll::-webkit-scrollbar-thumb:hover {
            background: rgba(102,107,122,0.9);
        } 
        
        .scroll::-webkit-scrollbar-track {
            background: rgba(29, 30, 34, 0.1);
        }
        
        .scroll::-webkit-scrollbar-track:hover, 
        .scroll::-webkit-scrollbar-track:active {
            background: rgba(29, 30, 34, 0.2);
        }