body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:#f0f2f5;color:#333;margin:0;padding:2rem}.app-container{max-width:1200px;margin:0 auto;background-color:#fff;padding:2rem;border-radius:8px;box-shadow:0 4px 12px #0000001a}.btn{padding:.6rem 1.2rem;font-size:1rem;font-weight:500;border-radius:5px;border:1px solid transparent;cursor:pointer;transition:all .2s ease}.btn-primary{background-color:#007bff;color:#fff;border-color:#007bff}.btn-primary:hover{background-color:#0056b3;border-color:#0056b3}.btn-secondary{background-color:#6c757d;color:#fff;border-color:#6c757d}.btn-secondary:hover{background-color:#5a6268;border-color:#545b62}.app-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;border-bottom:1px solid #dee2e6;padding-bottom:1rem;position:relative}.header-brand{display:flex;align-items:center;gap:1rem;text-decoration:none}.header-brand h1{color:#0056b3;font-size:1.75rem;margin:0}.logo{height:50px}.header-right{display:flex;align-items:center;gap:1rem}.welcome-message{font-weight:500;color:#495057}.menu-hamburger{display:block;background:none;border:none;font-size:1.5rem;cursor:pointer;color:#495057;transition:color .2s;padding:.5rem}.menu-hamburger:hover{color:#ac1b1b}.header-nav{display:none;position:absolute;top:100%;right:0;background:#fff;border:1px solid #dee2e6;border-radius:5px;box-shadow:0 4px 12px #0000001a;flex-direction:column;align-items:flex-start;min-width:200px;margin-top:.5rem;z-index:1000;padding:1rem;gap:.5rem}.desktop-cart{display:inline-flex}.header-nav .cart-link{display:none}.header-nav.nav-abierto{display:flex}.header-nav .nav-link,.header-nav .nav-button{width:100%;text-align:left;padding:.75rem;transition:background-color .2s,color .2s}.header-nav .nav-link:hover,.header-nav .nav-button:hover{background-color:#f8f9fa;color:#ac1b1b}.header-nav .nav-button{background:none;border:none;cursor:pointer;font-size:1rem;font-weight:500;color:#495057;text-align:left}.nav-link{text-decoration:none;color:#495057;font-weight:500;transition:color .2s}.nav-link:hover{color:#0056b3}.cart-link{font-weight:700}.nav-button{padding:.5rem 1rem;border:1px solid transparent;border-radius:5px;cursor:pointer;font-weight:500;text-decoration:none;transition:all .2s}.nav-button:hover{opacity:.9}.register-btn{background-color:#007bff;color:#fff}.btn-danger{background-color:#dc3545;color:#fff;border-color:#dc3545}.btn-danger:hover{background-color:#c82333;border-color:#bd2130}.auth-container{max-width:450px;margin:2rem auto;padding:2rem;background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:8px}.auth-container h2{text-align:center;margin-top:0;margin-bottom:1.5rem;color:#343a40}.auth-form{display:flex;flex-direction:column;gap:1rem}.auth-form label{font-weight:500;margin-bottom:-.5rem}.auth-form input{padding:.8rem;border:1px solid #ced4da;border-radius:5px;font-size:1rem}.auth-form button{padding:.8rem;font-size:1.1rem;font-weight:700;color:#fff;background-color:#007bff;border:none;border-radius:5px;cursor:pointer;margin-top:1rem;transition:background-color .2s}.auth-form button:hover{background-color:#0056b3}.auth-links{margin-top:1.5rem;display:flex;flex-direction:column;align-items:center;gap:.75rem;text-align:center}.auth-links a{color:#007bff;text-decoration:none}.auth-links a:hover{text-decoration:underline}.filter-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;align-items:stretch;background-color:#f8f9fa;padding:.75rem 1rem;border-radius:8px;border:1px solid #dee2e6;margin-bottom:1rem}.filter-container .search-general{grid-column:1 / -1;font-size:1.1rem}.filter-row{display:flex;gap:1rem;flex-wrap:wrap}.filter-container select,.filter-container input{padding:.75rem;border-radius:5px;border:1px solid #ccc;font-size:1rem;width:100%;box-sizing:border-box}.filter-container button{padding:.75rem 1.5rem;font-size:16px;background-color:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer;align-self:flex-start}.filter-container button:hover{background-color:#5a6268}.results-container{margin-top:20px;overflow-x:auto;overflow-y:auto;scrollbar-width:thin;position:relative;max-height:70vh;border:1px solid #dee2e6;border-radius:4px}.results-container::-webkit-scrollbar{height:12px}.results-container::-webkit-scrollbar-track{background:#f1f1f1}.results-container::-webkit-scrollbar-thumb{background:#888;border-radius:6px}.results-container::-webkit-scrollbar-thumb:hover{background:#555}#resultsTable{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1000px}#resultsTable th,#resultsTable td{padding:12px 10px;border-bottom:1px solid #ddd;text-align:left;word-break:break-word;vertical-align:top}#resultsTable th{vertical-align:middle;line-height:.75em}#resultsTable thead tr{background-color:#ac1b1b;color:#fff}#resultsTable thead th{cursor:pointer;-webkit-user-select:none;user-select:none}#resultsTable thead th:hover{background-color:#8a1616}#resultsTable tbody tr:nth-child(2n){background-color:#f8f9fa}#resultsTable tbody tr{transition:background-color .2s ease}#resultsTable tbody tr:hover{background-color:#e9ecef;cursor:pointer}.tabla-foto-miniatura{height:40px;width:40px;object-fit:cover;border-radius:4px;cursor:pointer;transition:transform .2s}.tabla-foto-miniatura:hover{transform:scale(1.1)}.foto-placeholder{height:40px;width:40px;background-color:#e9ecef;border-radius:4px}.celda-clicable a{cursor:pointer;color:#0056b3;font-weight:700;text-decoration:none}.celda-clicable a:hover{text-decoration:underline}.pagination-controls{display:flex;justify-content:space-between;align-items:center;margin-top:1.5rem}.pagination-controls button{padding:.5rem 1rem;margin-left:.5rem;cursor:pointer}.pagination-controls button:disabled{cursor:not-allowed;opacity:.5}.producto-detalle-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2.5rem;margin-top:2rem}.producto-fotos{display:flex;flex-direction:column;gap:1rem}.producto-fotos img{max-width:100%;height:auto;border-radius:8px;box-shadow:0 4px 12px #0000001a}.producto-info h1{margin-top:0;font-size:2rem}.producto-info .producto-precio{font-size:1.75rem;font-weight:700;color:#ac1b1b;margin:1rem 0}.producto-info ul{list-style:none;padding:0}.producto-info li{padding:.5rem 0;border-bottom:1px solid #eee}.producto-acciones{display:flex;gap:1rem;margin:1.5rem 0}.producto-acciones input{width:70px;text-align:center;padding:.5rem;border:1px solid #ccc;border-radius:5px}.producto-acciones button{flex-grow:1;padding:.75rem;font-size:1rem;background-color:#007bff;color:#fff;border:none;border-radius:5px;cursor:pointer}.volver-tienda-btn{grid-column:1 / -1;margin-bottom:1rem;padding:.75rem 1.5rem;font-size:1rem;font-weight:700;color:#007bff;background-color:#e9f5ff;border:1px solid #007bff;border-radius:5px;cursor:pointer;transition:all .2s ease;align-self:flex-start}.volver-tienda-btn:hover{background-color:#007bff;color:#fff}.carrito-container{background-color:#fff;border:none;border-radius:8px;padding:1.5rem 2rem;margin-top:2rem;box-shadow:0 4px 20px #00000014}.carrito-container h2{font-size:1.5rem;margin-top:0;padding-bottom:1rem;border-bottom:1px solid #e9ecef}.carrito-lista{list-style:none;padding:0;margin:0}.carrito-item{display:flex;align-items:center;gap:1.5rem;padding:1.5rem 0;border-bottom:1px solid #e9ecef}.carrito-item:last-child{border-bottom:none}.carrito-item-img{width:80px;height:80px;object-fit:cover;border-radius:6px;background-color:#f8f9fa;border:1px solid #dee2e6}.carrito-item-details{flex-grow:1;display:flex;flex-direction:column}.carrito-item-modelo{font-weight:600;font-size:1.1rem;color:#212529}.carrito-item-codigo{font-size:.85rem;color:#6c757d;margin-bottom:.25rem}.carrito-item-precio-unitario{font-size:.9rem;color:#495057}.carrito-item-controles{display:flex;align-items:center;gap:1rem}.carrito-cantidad-input{width:60px;padding:.5rem;text-align:center;border:1px solid #ced4da;border-radius:5px;font-size:1rem}.carrito-item-subtotal{width:90px;text-align:right;font-weight:600;font-size:1.1rem}.carrito-eliminar-btn{background:none;border:none;font-size:1.3rem;cursor:pointer;color:#adb5bd;transition:color .2s}.carrito-eliminar-btn:hover{color:#dc3545}.carrito-vacio{text-align:center;padding:3rem 0}.carrito-vacio h2{border-bottom:none}.carrito-acciones{display:flex;justify-content:space-between;align-items:center;margin-top:1.5rem;padding-top:1.5rem;border-top:2px solid #e9ecef;flex-wrap:wrap;gap:1rem}.seguir-comprando-btn{text-decoration:none;color:#007bff;font-weight:700;background:none;border:none;cursor:pointer;transition:color .2s}.seguir-comprando-btn:hover{color:#0056b3;text-decoration:underline}.carrito-checkout{text-align:right}.carrito-checkout strong{display:block;font-size:1.8rem;font-weight:700;color:#212529;margin-bottom:.75rem}.finalizar-compra-btn{background-color:#ac1b1b;color:#fff;border:none;padding:.6rem 1.2rem;border-radius:5px;cursor:pointer;font-size:1rem;font-weight:700;text-align:center;transition:background-color .2s}.finalizar-compra-btn:hover{background-color:#8a1616}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 5px 15px #0000004d}.modal-content.large{width:900px;max-width:95%;max-height:90vh;overflow-y:auto}.modal-content h2{margin-top:0}.modal-tabs{display:flex;border-bottom:2px solid #ddd;margin-bottom:20px}.modal-tab-button{padding:10px 15px;border:none;background-color:transparent;cursor:pointer;font-size:1rem;color:#555;border-bottom:2px solid transparent;transition:all .2s ease-in-out}.modal-tab-button.active{color:#ac1b1b;border-bottom-color:#ac1b1b;font-weight:700}.modal-tab-button:hover:not(.active){color:#777}.modal-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e9ecef}.modal-foto-content{max-width:60vw;max-height:60vh;background-color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center}.modal-foto-content img{max-width:50%;max-height:50%;object-fit:contain;border-radius:8px;box-shadow:0 10px 30px #0006}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:20px}.form-grid>div{display:flex;flex-direction:column}.form-grid label{margin-bottom:5px;font-weight:700;color:#333}.form-grid input,.form-grid select,.form-grid textarea{padding:10px;border:1px solid #ccc;border-radius:4px;font-size:1rem}.edit-form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.edit-form div{display:flex;flex-direction:column}.fotos-actuales{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:15px;margin-bottom:1rem}.foto-container{position:relative;width:100%;aspect-ratio:1;background-color:#f0f2f5;border-radius:8px;overflow:hidden;border:2px solid #e0e0e0;display:flex;align-items:center;justify-content:center}.foto-container img{width:100%;height:100%;object-fit:contain;background-color:#f0f2f5;border-radius:6px}.delete-foto-btn{position:absolute;top:5px;right:5px;background-color:#d32f2fcc;color:#fff;border:none;border-radius:50%;width:24px;height:24px;font-size:14px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1;transition:background-color .2s}.delete-foto-btn:hover{background-color:#d32f2f}.related-list li{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0}.related-list li div{display:flex;gap:.5rem}.grid-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}.grid-form button{grid-column:1 / -1}.add-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;padding-top:1rem;border-top:1px solid #e9ecef}.add-form input,.add-form select{padding:.5rem;border:1px solid #ced4da;border-radius:4px;font-size:.9rem}.add-form button{grid-column:1 / -1;padding:.75rem;background-color:#007bff;color:#fff;border:none;border-radius:5px;font-size:1rem;cursor:pointer}.add-form button:hover{background-color:#0056b3}.gestor-container{max-width:100%;margin:2rem auto;overflow-x:auto}.gestor-container table{min-width:800px}.gestor-container .tabla-clientes{width:100%;min-width:auto}.tabla-clientes .col-cliente-codigo{width:8%}.tabla-clientes .col-cliente-nombre{width:20%}.tabla-clientes .col-cliente-categoria,.tabla-clientes .col-cliente-telefono{width:12%}.tabla-clientes .col-cliente-vendedor{width:15%}.tabla-clientes .col-cliente-ciudad,.tabla-clientes .col-cliente-estado{width:10%}.tabla-clientes .col-cliente-accion{width:13%}.gestor-container #resultsTable .col-id{width:90px}.gestor-container #resultsTable .col-cliente{width:200px}.gestor-container #resultsTable .col-vendedor{width:160px}.gestor-container #resultsTable .col-fecha{width:110px}.gestor-container #resultsTable .col-total{width:100px}.gestor-container #resultsTable .col-pago{width:150px}.gestor-container #resultsTable .col-estado{width:180px;min-width:180px}.gestor-container h2{text-align:center;margin-bottom:2rem}.gestor-form,.gestor-form form{display:flex;gap:1rem;margin-bottom:2rem}.gestor-form input{flex:1;min-width:0;padding:.75rem;border:1px solid #ced4da;border-radius:5px;font-size:1rem}.gestor-form button{padding:.75rem 1.5rem;background-color:#007bff;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:1rem}.gestor-lista{list-style:none;padding:0;border:1px solid #e9ecef;border-radius:8px;overflow:hidden}.gestor-lista li{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #e9ecef}.gestor-lista li:last-child{border-bottom:none}.gestor-lista li span{font-weight:500}.gestor-lista .btn-delete{background-color:#dc3545;color:#fff;border:none;padding:.4rem .8rem;border-radius:5px;cursor:pointer}.part-numbers-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem;margin-bottom:2rem}.part-number-item{display:flex;flex-direction:column;padding:.5rem .75rem;background-color:#e9ecef;border:1px solid #dee2e6;border-radius:5px}.part-brand{font-size:.8rem;font-weight:700;color:#6c757d;text-transform:uppercase}.part-code{font-size:1rem;color:#212529}.filter-actions{grid-column:1 / -1;display:flex;gap:1rem;justify-content:flex-end}.btn-buscar{padding:.75rem 1.5rem;font-size:16px;background-color:#ac1b1b;color:#fff;border:none;border-radius:4px;cursor:pointer}.btn-buscar:hover{background-color:#8a1616}.btn-limpiar{padding:.75rem 1.5rem;font-size:16px;background-color:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer}.btn-limpiar:hover{background-color:#5a6268}.cedula-rif-input{display:flex}.cedula-rif-input select{border-top-right-radius:0;border-bottom-right-radius:0;border-right:none;padding:.8rem}.cedula-rif-input input{border-top-left-radius:0;border-bottom-left-radius:0;width:100%}.perfil-foto-container{display:flex;justify-content:center;margin-bottom:1.5rem}.perfil-foto{width:120px;height:120px;border-radius:50%;object-fit:cover;border:3px solid #dee2e6;cursor:pointer;transition:filter .2s}.perfil-foto:hover{filter:brightness(.9)}.carrito-item-advertencia{color:#dc3545;font-size:.85rem;font-weight:700;margin-top:.25rem}.carrito-advertencia-general{color:#dc3545;font-size:.9rem;text-align:right;margin-bottom:.5rem}.finalizar-compra-btn:disabled{background-color:#6c757d;cursor:not-allowed}.accion-tabla-select,.accion-tabla-btn{padding:.4rem .6rem;font-size:.9rem;border-radius:4px}.accion-tabla-btn{background-color:#6c757d;color:#fff;border:1px solid #6c757d;cursor:pointer}.accion-tabla-btn:hover{background-color:#5a6268}#resultsTable .col-foto{width:40px}#resultsTable .col-trw{width:55px}#resultsTable .col-modelo{width:250px}#resultsTable .col-numerica{width:48px}#resultsTable .col-estado{width:48px;min-width:48px;max-width:48px;text-align:center}#resultsTable .col-long{width:50px}#resultsTable .col-stock{width:40px}#resultsTable .col-marca{width:100px}#resultsTable .col-precio{width:50px}#resultsTable .col-tipo{width:40px}#resultsTable .col-acciones-tabla{width:90px}.acciones-cell{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-start}.acciones-cell .accion-btn{background:none;border:none;cursor:pointer;font-size:.9rem;padding:.2rem;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.acciones-cell .accion-btn:hover{background-color:#e9ecef}.cantidad-input{width:35px;text-align:center;padding:.3rem;border:1px solid #ccc;border-radius:4px;font-size:1rem;transition:border-color .2s,box-shadow .2s}.cantidad-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.search-bar-container{display:flex;align-items:center;border:1px solid #ccc;border-radius:6px;padding:.25rem .5rem;grid-column:span 2;transition:border-color .2s,box-shadow .2s;background-color:#fff}.search-bar-container:focus-within{border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.search-bar-input{flex-grow:1;border:none;outline:none;padding:.5rem;font-size:1rem;background-color:transparent}.search-bar-btn{background:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;cursor:pointer;padding:.5rem .7rem;font-size:1.8rem;color:#495057;display:flex;align-items:center;justify-content:center;transition:all .2s ease;margin-left:.4rem;min-width:44px;min-height:44px}.search-bar-btn:hover{background:#ac1b1b;color:#fff;border-color:#ac1b1b;transform:translateY(-1px);box-shadow:0 2px 4px #ac1b1b33}.search-bar-btn:active{transform:translateY(0)}.advanced-filters-grid{grid-column:1 / -1;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;animation:fadeIn .3s ease-in-out}.filter-toggle-btn{margin-left:.4rem}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.btn-success{background-color:#ac1b1b;color:#fff;border-color:#ac1b1b}.btn-success:hover{background-color:#8a1616;border-color:#7a1414}.form-control{padding:.8rem;border:1px solid #ced4da;border-radius:5px;font-size:1rem;width:100%;box-sizing:border-box;transition:border-color .2s,box-shadow .2s}.form-control:focus{outline:none;border-color:#80bdff;box-shadow:0 0 0 .2rem #007bff40}.compra-grupo{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.acciones-cell-compactas{display:flex;flex-direction:column;gap:.2rem;align-items:flex-start}.cantidad-compacta{display:flex;align-items:center;gap:.2rem}.cantidad-input-compacto{width:42px;text-align:center;padding:.2rem;border:1px solid #ccc;border-radius:4px;font-size:.85rem;transition:border-color .2s,box-shadow .2s}.cantidad-input-compacto:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.multiplier-compacto{font-size:.75rem;color:#666}.botones-accion-inline{display:flex;gap:.3rem;align-items:center}@media screen and (max-width: 768px){body{padding:.5rem}.app-container{padding:1rem;margin:0;border-radius:0}.app-header{flex-wrap:wrap;position:relative}.header-brand h1{font-size:1.25rem}.logo{height:40px}.menu-hamburger{display:block;background:none;border:none;font-size:1.5rem;cursor:pointer;color:#0056b3;padding:.5rem}.desktop-cart{display:none}.header-nav .cart-link{display:block}.header-nav{display:none;width:100%;flex-direction:column;align-items:flex-start;gap:.5rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #dee2e6}.header-nav.nav-abierto{display:flex}.header-nav .nav-link,.header-nav .nav-button{width:100%;padding:.75rem;text-align:left;border:1px solid #dee2e6;border-radius:5px;background-color:#f8f9fa}.header-nav .nav-button{background-color:#dc3545;color:#fff}.results-container #resultsTable{display:none}.productos-cards-mobile{display:block}.producto-card{display:block;background:#fff;border:1px solid #dee2e6;border-radius:8px;padding:1rem;margin-bottom:1rem;box-shadow:0 2px 4px #0000001a}.card-header{display:flex;gap:1rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #eee}.card-foto{width:60px;height:60px;object-fit:cover;border-radius:4px;cursor:pointer}.card-info-header{flex:1}.card-info-header h3{margin:0;font-size:1.1rem;color:#0056b3}.card-precio{font-size:1.5rem;font-weight:700;color:#ac1b1b}.card-specs{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:1rem;font-size:.9rem}.card-specs span{padding:.25rem 0}.card-actions{padding-top:.5rem;border-top:1px solid #eee}.cliente-card{display:block;background:#fff;border:1px solid #dee2e6;border-radius:8px;padding:1rem;margin-bottom:1rem;box-shadow:0 2px 4px #0000001a}.card-codigo{font-size:.85rem;color:#666;font-weight:500}.carrito-item{flex-wrap:wrap;gap:1rem;padding:1rem 0}.carrito-item-img{width:60px;height:60px}.carrito-item-controles{flex-wrap:wrap;gap:.5rem;width:100%;justify-content:space-between}.carrito-item-subtotal{width:auto;text-align:left}.carrito-cantidad-input{width:50px}.carrito-acciones{flex-direction:column;align-items:stretch}.seguir-comprando-btn{text-align:center;padding:.5rem;border:1px solid #007bff;border-radius:5px}.carrito-checkout{text-align:center}.carrito-checkout strong{font-size:1.5rem}.finalizar-compra-btn{width:100%;padding:.75rem}}@media screen and (min-width: 769px){.productos-cards-mobile,.clientes-cards-mobile,.pedidos-cards-mobile{display:none}}@media screen and (max-width: 1024px){.advanced-filters-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}@media screen and (max-width: 768px){.gestor-container table{display:none}.clientes-cards-mobile,.pedidos-cards-mobile{display:block}.pedido-card{display:block;background:#fff;border:1px solid #dee2e6;border-radius:8px;padding:1rem;margin-bottom:1rem;box-shadow:0 2px 4px #0000001a}.card-fecha{font-size:.9rem;color:#666}.gestor-container h2{font-size:1.25rem}.gestor-container>div{flex-wrap:wrap;gap:.5rem}.gestor-container button{font-size:.9rem;padding:.5rem 1rem}}.dashboard-container{padding:2rem}.dashboard-titulo{font-size:2.5rem;margin-bottom:2rem;color:#212529;text-align:center}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:3rem}.dashboard-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;align-items:center;padding:1.5rem;transition:transform .2s,box-shadow .2s}.dashboard-card:hover{transform:translateY(-4px);box-shadow:0 4px 16px #00000026}.dashboard-card-icon{font-size:3rem;width:80px;height:80px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-right:1.5rem;flex-shrink:0}.dashboard-card-content{flex:1}.dashboard-card-content h3{margin:0 0 .5rem;font-size:1rem;color:#6c757d;font-weight:500}.dashboard-card-number{margin:0;font-size:2rem;font-weight:700;color:#212529}.dashboard-ventas-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-bottom:3rem}.dashboard-venta-card{background:linear-gradient(135deg,#ac1b1b,#d32f2f);color:#fff;border-radius:16px;padding:2rem;box-shadow:0 4px 16px #ac1b1b4d;text-align:center}.dashboard-venta-card h2{margin:0 0 1rem;font-size:1.25rem;font-weight:500;opacity:.9}.dashboard-venta-total{margin:0;font-size:2.5rem;font-weight:700}.dashboard-venta-cantidad{margin:.5rem 0 0;font-size:1rem;opacity:.9}.dashboard-grafico-container{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:2rem;margin-bottom:3rem}.dashboard-grafico-container h2{margin:0 0 2rem;font-size:1.5rem;color:#212529;text-align:center}.dashboard-grafico{display:flex;justify-content:space-around;align-items:flex-end;height:250px;padding:1rem;border-bottom:2px solid #dee2e6}.dashboard-barra-container{display:flex;flex-direction:column;align-items:center;flex:1;margin:0 .5rem}.dashboard-barra{width:100%;max-width:60px;border-radius:8px 8px 0 0;position:relative;transition:opacity .2s;cursor:pointer}.dashboard-barra:hover{opacity:.8}.dashboard-barra-valor{position:absolute;top:-30px;left:50%;transform:translate(-50%);font-size:.85rem;font-weight:700;color:#ac1b1b;white-space:nowrap;opacity:0;transition:opacity .2s}.dashboard-barra:hover .dashboard-barra-valor{opacity:1}.dashboard-barra-label{margin:.5rem 0 0;font-size:.85rem;color:#6c757d;text-align:center;writing-mode:horizontal-tb;text-orientation:mixed}.dashboard-top-productos{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:2rem}.dashboard-top-productos h2{margin:0 0 1.5rem;font-size:1.5rem;color:#212529;text-align:center}.dashboard-table{width:100%;border-collapse:collapse;margin-top:1rem}.dashboard-table thead{background-color:#f8f9fa}.dashboard-table th{padding:1rem;text-align:left;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6}.dashboard-table td{padding:1rem;border-bottom:1px solid #dee2e6}.dashboard-table tbody tr:hover{background-color:#f8f9fa}.dashboard-table tbody tr:last-child td{border-bottom:none}@media screen and (max-width: 768px){.dashboard-grid,.dashboard-ventas-container{grid-template-columns:1fr}.dashboard-grafico{height:200px;overflow-x:auto;padding:.5rem}.dashboard-barra-container{min-width:50px}.dashboard-table{font-size:.85rem}.dashboard-table th,.dashboard-table td{padding:.5rem}}.notification-bell-container{position:relative;margin-right:1rem}.notification-bell-btn{position:relative;background:none;border:none;font-size:1.5rem;cursor:pointer;padding:.5rem;border-radius:50%;transition:background-color .2s}.notification-bell-btn:hover{background-color:#0000000d}.notification-badge{position:absolute;top:0;right:0;background-color:#dc3545;color:#fff;font-size:.7rem;font-weight:700;padding:.15rem .35rem;border-radius:10px;min-width:18px;text-align:center;line-height:1.2}.notification-panel{position:absolute;top:100%;right:0;margin-top:.5rem;width:350px;max-height:500px;background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;z-index:1000;display:flex;flex-direction:column;overflow:hidden}.notification-panel-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #dee2e6;background-color:#f8f9fa}.notification-panel-header h3{margin:0;font-size:1.1rem;color:#212529}.notification-marcar-todas-btn{background:none;border:none;color:#007bff;cursor:pointer;font-size:.85rem;padding:.25rem .5rem;transition:color .2s}.notification-marcar-todas-btn:hover{color:#0056b3}.notification-list{overflow-y:auto;max-height:420px}.notification-empty{padding:2rem;text-align:center;color:#6c757d}.notification-item{display:flex;padding:1rem;border-bottom:1px solid #dee2e6;cursor:pointer;transition:background-color .2s}.notification-item:hover{background-color:#f8f9fa}.notification-item.unread{background-color:#e7f3ff;border-left:3px solid #007bff}.notification-item.unread:hover{background-color:#d0e7ff}.notification-icon{font-size:1.5rem;margin-right:.75rem;flex-shrink:0}.notification-content{flex:1}.notification-content h4{margin:0 0 .25rem;font-size:1rem;color:#212529}.notification-content p{margin:0 0 .5rem;font-size:.9rem;color:#6c757d;line-height:1.4}.notification-date{font-size:.8rem;color:#adb5bd}@media screen and (max-width: 768px){.notification-panel{width:300px;right:-50px}}.devolucion-productos{max-height:400px;overflow-y:auto;border:1px solid #dee2e6;border-radius:8px;padding:1rem;margin-bottom:1rem}.devolucion-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #dee2e6;transition:background-color .2s}.devolucion-item:hover{background-color:#f8f9fa}.devolucion-item:last-child{border-bottom:none}.devolucion-item-info{display:flex;flex-direction:column;gap:.5rem;flex:1}.devolucion-item-info strong{font-size:1.1rem;color:#212529}.devolucion-item-info span{font-size:.9rem;color:#6c757d}.devolucion-item-controls{display:flex;align-items:center;gap:1rem}.devolucion-item-controls label{font-weight:500;color:#495057}.devolucion-item-controls input{width:80px;padding:.5rem;border:1px solid #ced4da;border-radius:4px;text-align:center}.devolucion-subtotal{font-weight:700;color:#ac1b1b;font-size:1.1rem;min-width:100px;text-align:right}.devolucion-total{background-color:#f8f9fa;border:2px solid #ac1b1b;border-radius:8px;padding:1.5rem;text-align:center;font-size:1.3rem;color:#ac1b1b;margin-bottom:1.5rem}.devoluciones-list{display:grid;gap:1.5rem}.devolucion-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:1.5rem;transition:box-shadow .2s}.devolucion-card:hover{box-shadow:0 4px 16px #00000026}.devolucion-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:1rem;border-bottom:2px solid #dee2e6;margin-bottom:1rem}.devolucion-header strong{font-size:1.2rem;color:#212529}.devolucion-info p{margin:.5rem 0;color:#495057}.devolucion-info ul{margin:.5rem 0;padding-left:1.5rem;color:#6c757d}.devolucion-actions{display:flex;gap:1rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #dee2e6}.badge{padding:.35rem .75rem;border-radius:12px;font-size:.85rem;font-weight:600;text-transform:uppercase}.badge-warning{background-color:#ffc107;color:#212529}.badge-success{background-color:#28a745;color:#fff}.badge-danger{background-color:#dc3545;color:#fff}.badge-info{background-color:#17a2b8;color:#fff}.btn-sm{padding:.5rem 1rem;font-size:.9rem}.btn-success{background-color:#28a745;color:#fff;border-color:#28a745}.btn-success:hover{background-color:#218838;border-color:#1e7e34}@media screen and (max-width: 768px){.devolucion-item{flex-direction:column;align-items:flex-start;gap:1rem}.devolucion-item-controls{width:100%;justify-content:space-between}.devolucion-header{flex-direction:column;align-items:flex-start;gap:.5rem}.devolucion-actions{flex-direction:column}}.skeleton-row td{padding:12px 8px}.skeleton-box{height:20px;background:linear-gradient(90deg,#f0f0f0,#f8f8f8,#f0f0f0);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite;border-radius:4px}.skeleton-image{background:linear-gradient(90deg,#f0f0f0,#f8f8f8,#f0f0f0);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite;border-radius:4px;display:inline-block}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.image-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#f5f5f5,#e8e8e8);border:2px dashed #ccc;border-radius:8px;color:#999;gap:4px;box-sizing:border-box}.image-placeholder svg{opacity:.5}.placeholder-text{font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.uc-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem;margin-bottom:2rem}.uc-stat-card{background:var(--card-bg);border-radius:16px;padding:1.5rem;display:flex;align-items:center;gap:1rem;box-shadow:0 4px 12px #00000014;transition:all .3s ease;border:1px solid transparent}.uc-stat-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #0000001f}.uc-stat-online{border-color:#10b98133;background:linear-gradient(135deg,#fff,#ecfdf5)}.uc-stat-online:hover{border-color:var(--success-500)}.uc-stat-events{border-color:#3b82f633;background:linear-gradient(135deg,#fff,#eff6ff)}.uc-stat-events:hover{border-color:var(--info-500)}.uc-stat-summary{border-color:#8b5cf633;background:linear-gradient(135deg,#fff,#f5f3ff)}.uc-stat-summary:hover{border-color:var(--purple-500)}.uc-stat-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.uc-stat-online .uc-stat-icon{background:linear-gradient(135deg,var(--success-500),var(--success-600));color:#fff}.uc-stat-events .uc-stat-icon{background:linear-gradient(135deg,var(--info-500),var(--info-600));color:#fff}.uc-stat-summary .uc-stat-icon{background:linear-gradient(135deg,var(--purple-500),var(--purple-600));color:#fff}.uc-stat-content{flex:1}.uc-stat-value{font-size:2rem;font-weight:700;color:var(--muted-700);line-height:1;margin-bottom:.25rem}.uc-stat-label{font-size:.95rem;font-weight:600;color:var(--muted-600);margin-bottom:.25rem}.uc-stat-sublabel{font-size:.75rem;color:var(--muted-400);font-weight:400}.uc-online-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0000000d}.uc-online-table th{position:sticky;top:0;z-index:2;background:linear-gradient(to bottom,#f1f5f9,#e2e8f0);border-bottom:2px solid #cbd5e1;font-weight:700;text-transform:uppercase;font-size:.75rem;letter-spacing:.5px;color:#475569;padding:1rem .75rem;text-align:left;white-space:nowrap}.uc-online-table td{padding:1rem .75rem;vertical-align:middle;border-bottom:1px solid #f1f5f9}.uc-online-table tbody tr{background:#fff;transition:all .2s}.uc-online-table tbody tr:nth-child(2n){background:#f8fafc}.uc-online-table tbody tr:hover{background:#e0f2fe;box-shadow:inset 0 0 0 1px #bae6fd}@media (max-width: 768px){.uc-online-table,.uc-online-table tbody,.uc-online-table thead,.uc-online-table tr,.uc-online-table th,.uc-online-table td{display:block!important}.uc-online-table{border:none!important;box-shadow:none!important}.uc-online-table thead{display:none!important}.uc-online-table tbody tr{margin-bottom:1rem!important;border:1px solid #e2e8f0!important;border-radius:12px!important;padding:1rem!important;box-shadow:0 2px 4px #0000000d!important;background:#fff!important}.uc-online-table tbody tr:hover{box-shadow:0 4px 8px #0000001a!important;background:#fff!important}.uc-online-table td{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:.75rem 0!important;border-bottom:1px solid #f1f5f9!important;text-align:left!important;width:100%!important}.uc-online-table td:last-child{border-bottom:none!important}.uc-online-table td:before{content:attr(data-label)!important;font-weight:700!important;text-transform:uppercase!important;font-size:.7rem!important;color:#64748b!important;letter-spacing:.5px!important;flex-shrink:0!important;margin-right:1rem!important}.uc-online-table td.col-user{flex-direction:column!important;align-items:flex-start!important;gap:.5rem!important}.uc-online-table td.col-user:before{margin-bottom:.25rem!important;margin-right:0!important}.uc-online-table td.col-agent{flex-direction:column!important;align-items:flex-start!important;gap:.5rem!important}.uc-online-table td.col-agent:before{margin-bottom:.25rem!important;margin-right:0!important}.uc-online-table .uc-agent-cell{max-width:100%!important;white-space:normal!important;word-break:break-word!important;font-size:.75rem!important}.uc-online-table td.col-ip span{font-size:.8rem!important}}
