.app{min-height:100vh}.loading{color:#666;font-size:18px;justify-content:center;min-height:100vh}.header,.loading{align-items:center;display:flex}.header{background-color:#1976d2;box-shadow:0 2px 4px #0000001a;color:#fff;justify-content:space-between;padding:12px 16px;position:relative;z-index:100}.header-left{align-items:center;display:flex;gap:12px}.header h1{font-size:20px;font-weight:500}.header-supermercado{background-color:gold;border-radius:4px;box-shadow:0 2px 4px #0003;color:#1976d2;font-size:14px;font-weight:600;padding:6px 12px}.header-info{align-items:center;display:flex;gap:12px}.header-info .user-name{display:none;font-size:14px}.header .btn-logout{background-color:#fff3;font-size:13px;padding:8px 12px}.header .btn-logout:hover{background-color:#ffffff4d}.hamburger-btn{align-items:center;background:none;border:none;cursor:pointer;display:flex;justify-content:center;margin:-8px 0 -8px -8px;padding:8px}.hamburger-icon{display:flex;flex-direction:column;height:18px;justify-content:space-between;position:relative;width:24px}.hamburger-icon span{background-color:#fff;border-radius:2px;display:block;height:2px;transition:all .3s ease;width:100%}.hamburger-icon.open span:first-child{transform:rotate(45deg) translate(5px,5px)}.hamburger-icon.open span:nth-child(2){opacity:0}.hamburger-icon.open span:nth-child(3){transform:rotate(-45deg) translate(6px,-6px)}.mobile-nav{background-color:#1565c0;display:flex;flex-direction:column;max-height:0;overflow:hidden;transition:max-height .3s ease}.mobile-nav.open{max-height:400px}.mobile-nav-item{background:none;border:none;border-bottom:1px solid #ffffff1a;color:#fff;cursor:pointer;font-size:16px;padding:16px 20px;text-align:left;transition:background-color .2s}.mobile-nav-item:hover{background-color:#ffffff1a}.mobile-nav-item.active{background-color:#fff3;font-weight:500}.mobile-nav-item:last-child{border-bottom:none}.desktop-nav{display:none}.login-container{align-items:center;background:linear-gradient(135deg,#1976d2,#1565c0);display:flex;justify-content:center;min-height:100vh}.login-card{background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;max-width:400px;padding:40px;width:100%}.login-card h2{color:#333;margin-bottom:8px;text-align:center}.login-card .subtitle{color:#666;margin-bottom:32px;text-align:center}.login-card .btn{font-size:16px;padding:14px;width:100%}.dashboard-nav{background-color:#f5f5f5;border-bottom:1px solid #ddd;display:flex;gap:0;padding:0 24px}.dashboard-nav.desktop-nav{display:none}.nav-tab{background:none;border:none;border-bottom:3px solid #0000;color:#666;cursor:pointer;font-size:14px;font-weight:500;padding:16px 24px;transition:all .2s}.nav-tab:hover{background-color:#1976d20d;color:#1976d2}.nav-tab.active{border-bottom-color:#1976d2;color:#1976d2}.dashboard-content{margin:0 auto;max-width:1200px;padding:24px}.page-title{color:#333;font-size:28px;margin-bottom:24px}.order-form{max-width:800px}.order-form .btn{margin-top:16px}.orders-table{overflow-x:auto}.actions-cell{display:flex;gap:8px}.actions-cell .btn{font-size:12px;padding:6px 12px}.empty-state{color:#666;padding:40px;text-align:center}.role-badge{background-color:#e3f2fd;border-radius:16px;color:#1565c0;font-size:12px;font-weight:500;padding:4px 12px}.product-management{padding:0}.section-header{align-items:center;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:24px}.section-header h2{color:#333;font-size:24px;margin:0}.header-actions{display:flex;gap:12px}.export-actions{margin-bottom:20px}.product-form-container{background-color:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px;margin-bottom:24px;padding:24px}.product-form{max-width:600px}.product-form h3{color:#333;margin-bottom:20px;margin-top:0}.form-actions{display:flex;gap:12px;margin-top:20px}.products-table{overflow-x:auto}.products-table table{border-collapse:collapse;width:100%}.products-table td,.products-table th{border-bottom:1px solid #e0e0e0;padding:12px;text-align:left}.products-table th{background-color:#f5f5f5;font-weight:600}.inactive-row{background-color:#fafafa;opacity:.6}.status-active{background-color:#e8f5e9;color:#2e7d32}.status-inactive{background-color:#ffebee;color:#c62828}.btn-small,.small-btn{font-size:12px;padding:6px 12px}.input-with-button{display:flex;gap:8px}.input-with-button input{flex:1 1}.btn-icon{font-size:18px;min-width:auto;padding:8px 12px}.barcode-scanner-overlay{align-items:center;background-color:#000c;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.barcode-scanner-modal{background:#fff;border-radius:8px;max-width:500px;padding:20px;width:90%}.scanner-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.scanner-header h3{margin:0}.btn-close{background:none;border:none;cursor:pointer;font-size:24px;padding:4px 8px}.scanner-view{min-height:300px;width:100%}.scanner-error{color:#c62828;padding:40px;text-align:center}.scanner-instructions{color:#666;font-size:14px;margin-top:16px;text-align:center}.product-search-section{margin-bottom:20px}.product-search-section>label{display:block;font-weight:500;margin-bottom:8px}.product-search{position:relative}.search-results{background:#fff;border:1px solid #ddd;border-radius:0 0 4px 4px;border-top:none;box-shadow:0 4px 8px #0000001a;left:0;list-style:none;margin:0;max-height:200px;overflow-y:auto;padding:0;position:absolute;right:0;top:100%;z-index:100}.search-results li{border-bottom:1px solid #f0f0f0;cursor:pointer;display:flex;gap:16px;padding:12px 16px}.search-results li:hover{background-color:#f5f5f5}.search-results li:last-child{border-bottom:none}.product-code{color:#666;font-size:12px;min-width:100px}.product-name{font-weight:500}.order-items{background-color:#f9f9f9;border-radius:8px;margin:20px 0;padding:16px}.order-items h4{margin-bottom:16px;margin-top:0}.items-table{border-collapse:collapse;width:100%}.items-table td,.items-table th{border-bottom:1px solid #e0e0e0;padding:10px;text-align:left}.items-table th{background-color:#f0f0f0;font-size:13px;font-weight:600}.quantity-input{border:1px solid #ddd;border-radius:4px;padding:6px 8px;width:70px}.orders-list{display:flex;flex-direction:column;gap:16px}.order-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 1px 3px #0000000d;padding:16px}.order-header{border-bottom:1px solid #f0f0f0;cursor:pointer;justify-content:space-between;padding-bottom:12px}.order-header,.order-main-info{align-items:center;display:flex}.order-main-info{gap:12px}.order-id{font-size:16px;font-weight:600}.order-summary{align-items:center;color:#666;display:flex;font-size:14px;gap:12px}.expand-icon{color:#999;font-size:12px}.order-meta{color:#666;display:flex;font-size:13px;justify-content:space-between;padding:12px 0}.supermercado-highlight{background-color:#fff9c4;border:2px solid gold;border-radius:4px;color:#1565c0;font-weight:600;padding:4px 10px}.order-description{border-bottom:1px solid #f0f0f0;font-size:14px;padding:12px 0}.order-items-detail{border-bottom:1px solid #f0f0f0;padding:16px 0}.order-actions{display:flex;gap:12px;padding-top:16px}.completed-label{color:#388e3c;font-weight:500}.checkbox-group,.checkbox-group label{align-items:center;display:flex}.checkbox-group label{cursor:pointer;gap:8px}.checkbox-group input[type=checkbox]{height:18px;width:18px}.create-order-container{width:100%}.create-order-layout{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr 1fr}@media (max-width:900px){.create-order-layout{grid-template-columns:1fr}}.order-form-panel,.product-search-panel{background:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px;padding:20px}.order-form-panel h3,.product-search-panel h3{color:#333;font-size:18px;margin-bottom:16px;margin-top:0}.search-input-container{margin-bottom:16px}.search-input{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:12px;width:100%}.search-input:focus{border-color:#1976d2;outline:none}.product-results{margin-top:16px}.product-results h4{color:#666;font-size:14px;margin:0 0 12px}.product-list{background:#fff;border:1px solid #ddd;border-radius:4px;list-style:none;margin:0;max-height:300px;overflow-y:auto;padding:0}.product-item{align-items:center;border-bottom:1px solid #f0f0f0;cursor:pointer;display:flex;gap:12px;padding:12px}.product-item:last-child{border-bottom:none}.product-item:hover{background-color:#f5f5f5}.product-item .product-code{color:#666;font-size:12px;min-width:100px}.product-item .product-name{flex:1 1;font-weight:500}.product-item .btn{flex-shrink:0}.loading-text,.no-results,.search-hint{color:#666;font-size:14px;padding:16px;text-align:center}.empty-cart{background:#f0f0f0;border-radius:8px;margin:20px 0;padding:40px 20px;text-align:center}.empty-cart p{color:#666;margin:0}.empty-cart .hint{font-size:12px;margin-top:8px}.order-items-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.order-items-header h4{margin:0}.total-units{color:#1976d2;font-size:14px;font-weight:500}.scanner-loading{color:#666;padding:40px;text-align:center}.order-filters{background-color:#f5f5f5;border:1px solid #e0e0e0;border-radius:8px;margin-bottom:24px;padding:20px}.filter-row{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:16px}.filter-group{display:flex;flex-direction:column;gap:6px;min-width:150px}.filter-group label{color:#666;font-size:13px;font-weight:500}.filter-group input,.filter-group select{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:10px 12px}.filter-group input:focus,.filter-group select:focus{border-color:#1976d2;outline:none}.filter-actions{display:flex;gap:12px}.pagination{align-items:center;display:flex;gap:16px;justify-content:center;margin-top:24px;padding:16px 0}.pagination span{color:#666;font-size:14px}.user-management{padding:0}.user-management-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:24px}.user-management-header h3{color:#333;font-size:24px;margin:0}.user-form-container{background-color:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px;margin-bottom:24px;padding:24px}.user-form-container h4{color:#333;margin-bottom:20px;margin-top:0}.user-form{max-width:500px}.users-table-container{overflow-x:auto}.users-table{border-collapse:collapse;width:100%}.users-table td,.users-table th{border-bottom:1px solid #e0e0e0;padding:12px;text-align:left}.users-table th{background-color:#f5f5f5;font-weight:600}.users-table .disabled-user{background-color:#fafafa;opacity:.6}.status-badge.active{background-color:#e8f5e9;color:#2e7d32}.status-badge.active,.status-badge.inactive{border-radius:12px;font-size:12px;font-weight:500;padding:4px 10px}.status-badge.inactive{background-color:#ffebee;color:#c62828}.status-badge.status-pendiente{background-color:#fff3e0;color:#e65100}.status-badge.status-enviada,.status-badge.status-pendiente{border-radius:12px;font-size:12px;font-weight:500;padding:4px 10px}.status-badge.status-enviada{background-color:#e3f2fd;color:#1565c0}.status-badge.status-recibida{background-color:#e8f5e9;border-radius:12px;color:#2e7d32;font-size:12px;font-weight:500;padding:4px 10px}.order-status-date{color:#1976d2;font-size:13px;font-style:italic;padding:8px 0}.order-history-section{border-top:1px solid #f0f0f0;padding:16px 0}.history-list{margin-top:16px}.history-list h4{color:#333;font-size:14px;margin:0 0 12px}.history-table{font-size:13px}.history-table td,.history-table th{border-bottom:1px solid #e0e0e0;padding:10px}.history-table th{background-color:#f0f0f0}.no-history{color:#666;font-size:13px;margin-top:8px}.modal-content{background:#fff;max-width:700px}.modal-content.confirm-modal{max-width:800px}.modal-header{background-color:#f9f9f9;border-bottom:1px solid #e0e0e0;padding:20px 24px}.modal-header h2,.modal-header h3{color:#333;font-size:20px;font-weight:600;margin:0}.modal-body{padding:24px}.modal-description{color:#666;font-size:14px;line-height:1.5;margin-bottom:20px}.modal-actions,.modal-footer{background-color:#f9f9f9;border-top:1px solid #e0e0e0;display:flex;gap:12px;justify-content:flex-end;padding:16px 24px}.confirm-items-table,.confirm-table{border-collapse:collapse;width:100%}.confirm-items-table td,.confirm-items-table th,.confirm-table td,.confirm-table th{border-bottom:1px solid #e0e0e0;padding:12px;text-align:left}.confirm-items-table th,.confirm-table th{background-color:#f5f5f5;color:#333;font-size:14px;font-weight:600}.confirm-items-table .quantity-input,.confirm-table .quantity-input{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:8px;text-align:center;width:80px}.confirm-items-table .quantity-input:focus,.confirm-table .quantity-input:focus{border-color:#1976d2;box-shadow:0 0 0 2px #1976d21a;outline:none}.confirmed-order-section{border-top:1px solid #f0f0f0;padding:16px 0}.confirmed-order-document{background-color:#f0f7ff;border:1px solid #b3d4fc;border-radius:8px;margin-top:16px;padding:20px}.confirmed-order-document h4{color:#1565c0;font-size:16px;margin:0 0 8px}.confirmed-order-subtitle{color:#666;font-size:13px;margin-bottom:16px}.confirmed-items-table{background:#fff;border-collapse:collapse;border-radius:4px;overflow:hidden;width:100%}.confirmed-items-table td,.confirmed-items-table th{border-bottom:1px solid #e0e0e0;padding:10px 12px;text-align:left}.confirmed-items-table th{background-color:#e3f2fd;font-size:13px;font-weight:600}.confirmed-items-table tfoot{background-color:#f5f5f5}.confirmed-items-table tfoot td{border-bottom:none}.quantity-diff{background-color:#fff3e0}.diff-negative{color:#c62828;font-weight:600}.diff-positive{color:#2e7d32;font-weight:600}.stock-management{padding:0}.stock-layout{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr 1fr;margin-top:20px}.adjustment-panel,.search-panel{background-color:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px;padding:20px}.adjustment-panel h3,.search-panel h3{color:#333;font-size:18px;margin-bottom:16px;margin-top:0}.selected-product-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:16px}.product-header{align-items:flex-start;display:flex;justify-content:space-between}.product-header h4{color:#333;font-size:18px;margin:0 0 8px}.product-info .product-code{color:#666;font-size:14px}.current-stock{background-color:#f5f5f5;border-radius:4px;font-size:16px;margin-top:16px;padding:12px}.stock-value{font-size:24px;font-weight:700;margin-left:8px}.stock-value.positive{color:#2e7d32}.stock-value.negative{color:#c62828}.stock-value.zero{color:#ff9800}.adjustment-form{margin-top:20px}.stock-input{border:2px solid #1976d2;border-radius:4px;font-size:18px;padding:12px;text-align:center;width:100%}.input-hint{color:#666;display:block;font-size:12px;margin-top:4px}.no-selection{color:#666;padding:40px 20px;text-align:center}.stock-info{border-radius:4px;font-size:13px;font-weight:600;padding:2px 8px}.stock-info.positive{background-color:#e8f5e9;color:#2e7d32}.stock-info.negative{background-color:#ffebee;color:#c62828}.stock-info.zero{background-color:#fff3e0;color:#e65100}.stock-positive{background-color:#e8f5e9;color:#2e7d32}.stock-negative{background-color:#ffebee;color:#c62828}.stock-zero{background-color:#fff3e0;color:#e65100}.search-filter-container{margin-bottom:20px;max-width:400px}@media (min-width:768px){.header{padding:16px 24px}.header h1{font-size:24px}.header-info .user-name{display:inline}.header-info{gap:16px}.header .btn-logout{font-size:14px;padding:10px 20px}.hamburger-btn,.mobile-nav{display:none}.dashboard-nav.desktop-nav,.desktop-nav{display:flex}.dashboard-content{padding:24px}.login-card{margin:20px;padding:40px}}@media (max-width:767px){.stock-layout{grid-template-columns:1fr}.header-info .role-badge{display:none}.header-supermercado{font-size:12px;padding:4px 8px}.login-container{padding:16px}.login-card{margin:0;padding:24px}.card,.dashboard-content{padding:16px}.card{border-radius:8px}.card,.page-title{margin-bottom:16px}.page-title{font-size:22px}.orders-table,.products-table,.users-table-container{-webkit-overflow-scrolling:touch;overflow-x:auto}.orders-table table,.products-table table,.users-table{min-width:600px}.order-filters{padding:16px}.filter-row{flex-direction:column;gap:12px}.filter-group{min-width:100%}.filter-actions{flex-direction:column}.filter-actions .btn{width:100%}.order-header{align-items:flex-start;flex-direction:column;gap:12px}.order-main-info{flex-wrap:wrap}.order-summary{flex-wrap:wrap;gap:8px}.order-meta{gap:8px}.order-actions,.order-meta{flex-direction:column}.order-actions .btn{width:100%}.create-order-layout{gap:16px;grid-template-columns:1fr}.order-form-panel,.product-search-panel{padding:16px}.section-header{align-items:stretch;gap:12px}.header-actions,.section-header{flex-direction:column}.header-actions .btn{width:100%}.user-management-header{align-items:stretch;flex-direction:column;gap:12px}.product-form-container,.user-form-container{padding:16px}.modal-content{margin:10px;max-height:95vh;width:95%}.modal-content.confirm-modal{max-width:95%}.modal-actions,.modal-body,.modal-footer,.modal-header{padding:16px}.modal-actions,.modal-footer{flex-direction:column-reverse}.modal-actions .btn,.modal-footer .btn{width:100%}.confirm-items-table,.confirm-table{font-size:13px}.confirm-items-table td,.confirm-items-table th,.confirm-table td,.confirm-table th{font-size:12px;padding:8px 6px}.confirm-items-table .quantity-input,.confirm-table .quantity-input{font-size:13px;padding:6px;width:70px}.btn{font-size:14px;padding:12px 16px}.btn-small{font-size:12px;padding:8px 12px}.actions-cell{flex-direction:column;gap:6px}.pagination{flex-wrap:wrap;gap:12px}.items-table{font-size:13px}.items-table td,.items-table th{padding:8px 6px}.quantity-input{width:60px}.stock-layout{gap:16px}.adjustment-panel,.confirmed-order-document,.search-panel{padding:16px}.confirmed-items-table td,.confirmed-items-table th{font-size:12px;padding:8px 6px}.history-table{font-size:12px}.history-table td,.history-table th{padding:8px 6px}.input-group input,.input-group textarea{font-size:16px;padding:14px 12px}.empty-cart,.empty-state,.no-selection{padding:30px 16px}.barcode-scanner-modal{max-width:none;padding:16px;width:95%}.scanner-view{min-height:250px}}@media (max-width:380px){.header h1{font-size:16px}.header .btn-logout{font-size:12px;padding:6px 10px}.mobile-nav-item{font-size:14px;padding:14px 16px}.page-title{font-size:18px}}.report-container{padding:0}.report-container h2{color:#333;margin-bottom:20px;margin-top:0}.report-filters{background-color:#f5f5f5;border:1px solid #e0e0e0;border-radius:8px;margin-bottom:24px;padding:20px}.report-summary{background-color:#e3f2fd;border-radius:4px;margin-bottom:16px;padding:12px}.report-summary p{color:#1565c0;font-weight:500;margin:0}.report-table-container{overflow-x:auto}.report-table{border-collapse:collapse;width:100%}.report-table td,.report-table th{border-bottom:1px solid #e0e0e0;padding:12px;text-align:left}.report-table th{background-color:#f5f5f5;font-size:13px;font-weight:600}.report-table tbody tr:hover{background-color:#f9f9f9}.stock-cell{text-align:center}.stock-badge{border-radius:12px;display:inline-block;font-size:14px;font-weight:600;padding:4px 12px}.status-critical,.stock-critical{background-color:#ffebee;color:#c62828}.status-low,.stock-low{background-color:#fff3e0;color:#e65100}.status-warning,.stock-warning{background-color:#fff8e1;color:#f57c00}.status-ok,.stock-ok{background-color:#e8f5e9;color:#2e7d32}.status-critical,.status-low,.status-ok,.status-warning{border-radius:12px;font-size:12px;font-weight:500;padding:4px 10px}.report-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.report-tab{background-color:#f5f5f5;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:all .2s}.report-tab:hover{background-color:#e0e0e0}.report-tab.active{background-color:#1976d2;border-color:#1976d2;color:#fff}.movement-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:500;padding:4px 10px}.movement-entrada{background-color:#e8f5e9;color:#2e7d32}.movement-salida{background-color:#ffebee;color:#c62828}.movement-orden{background-color:#e3f2fd;color:#1565c0}.movements-table .product-cell{display:flex;flex-direction:column}.movements-table .product-cell .product-name{font-weight:500}.movements-table .product-cell .product-code{color:#666;font-size:12px}.movements-table .quantity-cell .positive{color:#2e7d32;font-weight:600}.movements-table .quantity-cell .negative{color:#c62828;font-weight:600}.frequency-table .selected-row{background-color:#e3f2fd}.days-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:500;padding:4px 10px}.days-old{background-color:#ffebee;color:#c62828}.days-warning{background-color:#fff3e0;color:#e65100}.days-recent{background-color:#e8f5e9;color:#2e7d32}.days-never{background-color:#f3e5f5;color:#6a1b9a}.button-group{display:flex;gap:8px}.chart-section{background-color:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px;margin-top:32px;padding:20px}.chart-section h3{color:#333;margin-bottom:16px;margin-top:0}.chart-filters{align-items:flex-end;display:flex;flex-wrap:wrap;gap:16px;margin-bottom:20px}.simple-chart{margin-top:20px}.chart-container{align-items:flex-end;background:#fff;border:1px solid #e0e0e0;border-radius:8px;display:flex;gap:8px;height:200px;overflow-x:auto;padding:16px}.chart-bar-container{align-items:center;display:flex;flex-direction:column;min-width:60px}.chart-bar{align-items:flex-start;background:linear-gradient(180deg,#1976d2,#1565c0);border-radius:4px 4px 0 0;display:flex;justify-content:center;transition:height .3s ease;width:40px}.bar-value{color:#fff;font-size:11px;font-weight:600;padding:4px}.bar-label{color:#666;font-size:10px;margin-top:6px;white-space:nowrap}.chart-summary{background-color:#e3f2fd;border-radius:4px;margin-top:16px;padding:12px}.chart-summary p{font-size:14px;margin:4px 0}@media (max-width:767px){.report-tabs{flex-direction:column}.report-tab{text-align:center;width:100%}.button-group{flex-direction:column;width:100%}.button-group .btn{width:100%}.chart-filters{flex-direction:column}.chart-filters .filter-group{width:100%}.chart-container{height:150px}.chart-bar-container{min-width:50px}.chart-bar{width:30px}}.error-display{margin:16px 0}.error-trace-section{margin-top:10px}.error-trace-toggle{font-size:12px;margin-top:8px}.error-trace-container{background-color:#fff5f5;border:1px solid #dc3545;border-radius:4px;margin-top:10px}.error-trace-header{align-items:center;background-color:#dc3545;color:#fff;display:flex;font-size:12px;font-weight:500;justify-content:space-between;padding:8px 12px}.error-trace-header button{background-color:#fff3;border:none;color:#fff;font-size:11px}.error-trace-header button:hover{background-color:#ffffff4d}.error-trace{word-wrap:break-word;background-color:#fef2f2;color:#721c24;font-family:Monaco,Consolas,Courier New,monospace;font-size:11px;line-height:1.5;margin:0;max-height:300px;overflow-x:auto;overflow-y:auto;padding:12px;white-space:pre-wrap}.debug-mode-indicator{background-color:#ff9800;border-radius:4px;bottom:10px;box-shadow:0 2px 4px #0003;color:#fff;font-size:11px;font-weight:500;padding:6px 12px;position:fixed;right:10px;z-index:1000}.report-description{color:#666;font-size:14px;margin-bottom:20px}.flow-report-content{margin-top:20px}.report-product-info{background-color:#e3f2fd;border-radius:8px;margin-bottom:20px;padding:16px}.report-product-info h3{color:#1976d2;font-size:20px;margin:0 0 8px}.report-product-info .product-barcode{color:#666;font-size:14px}.flow-chart-legend{background-color:#f5f5f5;border-radius:8px;display:flex;flex-wrap:wrap;gap:16px;margin-bottom:16px;padding:12px}.legend-item{align-items:center;display:flex;gap:8px}.legend-color{border-radius:3px;height:16px;width:16px}.legend-entradas{background:linear-gradient(180deg,#1976d2,#1565c0)}.legend-label{color:#333;font-size:13px}.flow-chart-container{background:#fff;border:1px solid #e0e0e0;border-radius:8px;overflow-x:auto;padding:16px}.flow-chart{align-items:flex-end;display:flex;gap:4px;min-height:250px;padding:16px 0}.flow-chart-day{align-items:center;display:flex;flex-direction:column;min-width:60px}.flow-chart-bars{align-items:flex-end;display:flex;gap:2px;height:200px}.flow-bar-wrapper{display:flex;flex-direction:column;height:100%;justify-content:flex-end}.flow-bar{align-items:flex-start;border-radius:3px 3px 0 0;display:flex;justify-content:center;transition:height .3s ease;width:18px}.flow-bar-entrada{background:linear-gradient(180deg,#1976d2,#1565c0)}.flow-bar .bar-value{color:#fff;font-size:9px;font-weight:600;padding:2px;text-shadow:0 1px 1px #0000004d}.flow-chart-date{color:#666;font-size:10px;margin-top:6px;white-space:nowrap}.flow-chart-summary{background-color:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px;margin-top:20px;padding:16px}.flow-chart-summary h4{color:#333;font-size:16px;margin:0 0 12px}.summary-grid{display:flex;flex-wrap:wrap;gap:16px}.summary-item{align-items:center;background:#fff;border:1px solid #e0e0e0;border-radius:4px;display:flex;gap:8px;padding:8px 12px}.summary-entradas{border-left:4px solid #1976d2}.summary-label{font-size:13px;font-weight:500}.summary-value{color:#333;font-size:16px;font-weight:600}@media (max-width:767px){.flow-chart-legend{flex-direction:column;gap:8px}.flow-chart{min-height:180px}.flow-chart-day{min-width:50px}.flow-chart-bars{height:150px}.flow-bar{width:14px}.flow-bar .bar-value{font-size:8px}.summary-grid{flex-direction:column}.summary-item{justify-content:space-between;width:100%}}.product-import{padding:20px}.product-import h2{color:#333;margin-bottom:20px}.import-instructions{background-color:#f5f5f5;border-radius:8px;margin-bottom:30px;padding:20px}.import-instructions h3{color:#1976d2;margin-bottom:15px;margin-top:0}.import-instructions p{margin-bottom:15px}.format-table{background-color:#fff;border-collapse:collapse;margin-bottom:20px;width:100%}.format-table td,.format-table th{border:1px solid #ddd;padding:10px;text-align:left}.format-table th{background-color:#1976d2;color:#fff;font-weight:600}.import-notes{margin-top:20px}.import-notes h4{color:#333;margin-bottom:10px}.import-notes ul{margin:0;padding-left:20px}.import-notes li{margin-bottom:8px}.import-form{background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:25px}.import-form .input-group{margin-bottom:20px}.import-form input[type=file]{border:2px dashed #ddd;border-radius:4px;cursor:pointer;display:block;padding:10px;width:100%}.import-form input[type=file]:hover{border-color:#1976d2}.file-selected{color:#666;font-size:14px;margin-top:10px}.import-result{background-color:#f9f9f9;border-radius:8px;margin-bottom:20px;padding:20px}.import-result h3{color:#333;margin-bottom:15px;margin-top:0}.result-summary{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.result-item{background-color:#fff;border-left:4px solid #ccc;border-radius:4px;display:flex;justify-content:space-between;padding:12px}.result-item.success{border-left-color:#4caf50}.result-item.info{border-left-color:#2196f3}.result-item.error{border-left-color:#f44336}.result-label{color:#666;font-weight:500}.result-value{color:#333;font-size:18px;font-weight:700}.error-messages{background-color:#ffebee;border-left:4px solid #f44336;border-radius:4px;padding:15px}.error-messages h4{color:#c62828;margin-bottom:10px;margin-top:0}.error-messages ul{margin:0;padding-left:20px}.error-messages li{color:#d32f2f;margin-bottom:6px}.success-section{margin-top:20px}.success-message{background-color:#e8f5e9;border-left:4px solid #4caf50;border-radius:4px;color:#2e7d32;font-weight:500;margin-bottom:20px;padding:12px 16px}.result-details{background-color:#fafafa;border:1px solid #e0e0e0;border-radius:8px;padding:20px}.result-details h3{color:#333;font-size:18px;margin-bottom:20px;margin-top:0}.stats-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:20px}.stat-item{background-color:#fff;border:1px solid #e0e0e0;border-radius:6px;display:flex;flex-direction:column;gap:8px;padding:15px}.stat-label{color:#666;font-size:13px;font-weight:500}.stat-value{color:#333;font-size:24px;font-weight:700}.stat-value.stat-success{color:#4caf50}.stat-value.stat-warning{color:#ff9800}.messages-section{border-radius:4px;margin-top:15px;padding:15px}.messages-section h4{font-size:15px;margin-bottom:10px;margin-top:0}.messages-section ul{margin:0;padding-left:20px}.messages-section li{font-size:14px;margin-bottom:6px}.warning-messages{background-color:#fff3e0;border-left:4px solid #ff9800}.warning-messages h4{color:#e65100}.warning-messages li{color:#f57c00}.execution-history-section{background-color:#f5f5f5;border-radius:8px;margin-top:40px;padding:20px}.execution-history-section h3{color:#333;margin-bottom:20px}.history-table{background-color:#fff;border-collapse:collapse;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;width:100%}.history-table thead{background-color:#1976d2;color:#fff}.history-table td,.history-table th{border-bottom:1px solid #ddd;padding:12px;text-align:left}.history-table th{font-size:14px;font-weight:600}.history-table td{font-size:13px}.history-table tbody tr:hover{background-color:#f5f5f5}.status-badge{border-radius:12px;display:inline-block;font-weight:600;padding:4px 12px;text-transform:uppercase}.status-badge.status-success{background-color:#e8f5e9;color:#2e7d32}.status-badge.status-error{background-color:#ffebee;color:#c62828}.btn-sm{font-size:12px;padding:6px 12px}.modal-overlay{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-content{background-color:#fff;border-radius:8px;box-shadow:0 4px 20px #0003;max-height:90vh;max-width:800px;overflow-y:auto;width:90%}.modal-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;padding:20px}.modal-header h3{color:#333;margin:0}.close-button{align-items:center;background:none;border:none;border-radius:4px;color:#666;cursor:pointer;display:flex;font-size:28px;height:32px;justify-content:center;padding:0;transition:background-color .2s;width:32px}.close-button:hover{background-color:#f5f5f5}.modal-body{padding:20px}.detail-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:20px}.detail-item{display:flex;flex-direction:column;gap:4px}.detail-item strong{color:#666;font-size:13px;font-weight:600}.detail-item span{color:#333;font-size:14px}.error-section,.summary-section{border-radius:8px;margin-top:20px;padding:16px}.summary-section{background-color:#e8f5e9;border:1px solid #a5d6a7}.error-section{background-color:#ffebee;border:1px solid #ef9a9a}.error-section h4,.summary-section h4{font-size:16px;margin-bottom:12px;margin-top:0}.summary-section h4{color:#2e7d32}.error-section h4{color:#c62828}.error-text,.summary-text{background-color:#fff;border-radius:4px;font-family:monospace;font-size:13px;margin:0;overflow-x:auto;padding:12px;white-space:pre-wrap}.modal-footer{border-top:1px solid #ddd;display:flex;gap:12px;justify-content:flex-end;padding:20px}.batch-schedule-admin{padding:20px}.schedules-list{margin-top:20px}.schedules-table{background:#fff;border-collapse:collapse;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;width:100%}.schedules-table thead{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.schedules-table td,.schedules-table th{border-bottom:1px solid #eee;padding:15px;text-align:left}.schedules-table th{font-size:14px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.schedules-table tbody tr:hover{background-color:#f5f7fa}.schedules-table tbody tr.inactive-row{background-color:#f9f9f9;opacity:.6}.time-input{border:2px solid #ddd;border-radius:6px;font-size:14px;padding:8px 12px;transition:border-color .3s ease;width:120px}.time-input:focus{border-color:#667eea;outline:none}.time-input:disabled{background-color:#f5f5f5;cursor:not-allowed}.switch{display:inline-block;height:24px;margin-right:10px;position:relative;vertical-align:middle;width:50px}.switch input{height:0;opacity:0;width:0}.slider{background-color:#ccc;border-radius:24px;bottom:0;cursor:pointer;left:0;right:0;top:0}.slider,.slider:before{position:absolute;transition:.3s}.slider:before{background-color:#fff;border-radius:50%;bottom:3px;content:"";height:18px;left:3px;width:18px}input:checked+.slider{background-color:#4caf50}input:disabled+.slider{cursor:not-allowed;opacity:.5}input:checked+.slider:before{transform:translateX(26px)}.status-text{display:inline-block;font-size:14px;font-weight:500;vertical-align:middle}.info-section{background-color:#f0f7ff;border-left:4px solid #667eea;border-radius:8px;padding:20px}.info-section h3{color:#333;font-size:18px;margin-top:0}.info-section ul{margin:10px 0;padding-left:20px}.info-section li{color:#555;line-height:1.6;margin:8px 0}.btn-danger{background:linear-gradient(135deg,#f44336,#d32f2f)}.btn-danger:hover{background:linear-gradient(135deg,#d32f2f,#b71c1c)}*{box-sizing:border-box;margin:0;padding:0}body{background-color:#f5f5f5;font-family:Roboto,sans-serif;min-height:100vh}.container{margin:0 auto;max-width:1200px;padding:20px}.card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px;padding:24px}.btn{border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:background-color .3s}.btn-primary{background-color:#1976d2;color:#fff}.btn-primary:hover{background-color:#1565c0}.btn-success{background-color:#388e3c;color:#fff}.btn-success:hover{background-color:#2e7d32}.btn-warning{background-color:#f57c00;color:#fff}.btn-warning:hover{background-color:#ef6c00}.btn-danger{background-color:#d32f2f;color:#fff}.btn-danger:hover{background-color:#c62828}.btn-info{background-color:#0288d1;color:#fff}.btn-info:hover{background-color:#0277bd}.btn-secondary{background-color:#757575;color:#fff}.btn-secondary:hover{background-color:#616161}.input-group{margin-bottom:16px}.input-group label{color:#333;display:block;font-weight:500;margin-bottom:8px}.input-group input,.input-group textarea{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:12px;width:100%}.input-group input:focus,.input-group textarea:focus{border-color:#1976d2;outline:none}.error-message{color:#d32f2f;font-size:14px;margin-top:8px}.success-message{color:#388e3c;font-size:14px;margin-top:8px}table{border-collapse:collapse;width:100%}td,th{border-bottom:1px solid #ddd;padding:12px;text-align:left}th{background-color:#f5f5f5;font-weight:500}.status-badge{border-radius:4px;font-size:12px;font-weight:500;padding:4px 8px}.status-PENDIENTE{background-color:#fff3e0;color:#e65100}.status-EN_PROCESO{background-color:#e3f2fd;color:#1565c0}.status-ENVIADA{background-color:#e8f5e9;color:#2e7d32}.status-RECIBIDA{background-color:#c8e6c9;color:#1b5e20}.status-creado{background-color:#fff3e0;color:#e65100}.status-enviado{background-color:#e8f5e9;color:#2e7d32}.status-recibido{background-color:#c8e6c9;color:#1b5e20}
/*# sourceMappingURL=main.79daf1c6.css.map*/