*,:before,:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{width:100%;height:100%}body{color:#0f172a;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f8fafc;font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.5}button{cursor:pointer;background:0 0;border:none;font-family:inherit}a{color:inherit;text-decoration:none}input,select,textarea{font-family:inherit}.app-layout{background-color:#f8fafc;min-height:100vh;display:flex}.sidebar{color:#fff;background-color:#0f172a;flex-direction:column;flex-shrink:0;width:260px;transition:width .25s;display:flex}.sidebar.collapsed{width:70px}.sidebar.collapsed .sidebar-brand{justify-content:center;padding:1.25rem 0}.sidebar.collapsed .nav-item a{justify-content:center;padding:.875rem 0}.sidebar .sidebar-brand{border-bottom:1px solid #ffffff1a;align-items:center;gap:.75rem;padding:1.25rem 1.5rem;display:flex}.sidebar .sidebar-brand .brand-logo{background-color:#2563eb;border-radius:6px;justify-content:center;align-items:center;width:36px;height:36px;font-size:1.125rem;font-weight:700;display:flex}.sidebar .sidebar-brand .brand-name{white-space:nowrap;font-size:1.125rem;font-weight:600}.sidebar .sidebar-nav{flex:1;padding:1rem 0}.sidebar .sidebar-nav ul{list-style:none}.sidebar .sidebar-nav .nav-item{margin-bottom:.25rem}.sidebar .sidebar-nav .nav-item a{color:#94a3b8;align-items:center;gap:.875rem;padding:.875rem 1.5rem;transition:background-color .2s,color .2s;display:flex}.sidebar .sidebar-nav .nav-item a:hover{color:#fff;background-color:#ffffff0d}.sidebar .sidebar-nav .nav-item.active a{color:#fff;background-color:#2563eb}.sidebar .sidebar-nav .nav-item .nav-icon{font-size:1.25rem}.sidebar .sidebar-nav .nav-item .nav-label{white-space:nowrap;font-size:.875rem}.layout-content{flex-direction:column;flex:1;min-width:0;display:flex}.app-header{background-color:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;height:64px;padding:0 1.5rem;display:flex}.app-header .header-left{align-items:center;gap:1rem;display:flex}.app-header .header-left .btn-toggle-sidebar{color:#64748b;border-radius:6px;padding:.5rem;font-size:1rem}.app-header .header-left .btn-toggle-sidebar:hover{background-color:#f8fafc}.app-header .header-left .current-page-title{color:#0f172a;font-size:1.25rem;font-weight:600}.app-header .header-right{align-items:center;gap:1.25rem;display:flex}.app-header .header-right .user-profile{align-items:center;gap:.75rem;display:flex}.app-header .header-right .user-profile .user-avatar{color:#fff;background-color:#2563eb;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:.875rem;font-weight:600;display:flex}.app-header .header-right .user-profile .user-info{flex-direction:column;display:flex}.app-header .header-right .user-profile .user-info .user-name{color:#0f172a;font-size:.875rem;font-weight:600}.app-header .header-right .user-profile .user-info .user-role{color:#64748b;font-size:.75rem}.app-header .header-right .btn-logout{border-radius:6px;padding:.5rem;font-size:1.125rem}.app-header .header-right .btn-logout:hover{background-color:#f8fafc}.main-viewport{flex:1;padding:1.75rem;overflow-y:auto}.inventory-container{flex-direction:column;gap:1.5rem;display:flex}.inventory-container .inventory-form{flex-direction:column;gap:1rem;display:flex}.inventory-container .inventory-form .form-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;display:grid}.inventory-container .inventory-form .form-group .form-label{color:#0f172a;margin-bottom:.25rem;font-size:.875rem;font-weight:500;display:block}.inventory-container .inventory-form .form-group .form-textarea{color:#0f172a;background-color:#fff;border:1px solid #e2e8f0;border-radius:6px;outline:none;width:100%;padding:.625rem .875rem;font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.875rem;transition:border-color .2s,box-shadow .2s}.inventory-container .inventory-form .form-group .form-textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.inventory-container .inventory-form .form-group .form-textarea::placeholder{color:#94a3b8}.inventory-container .inventory-form .form-group .form-textarea{resize:vertical;min-height:80px}.inventory-container .inventory-form .form-actions{justify-content:flex-end;gap:.5rem;display:flex}.inventory-container .search-wrapper{margin-bottom:1.25rem}.inventory-container .table-responsive{overflow-x:auto}.inventory-container .table-responsive .inventory-table{border-collapse:collapse;text-align:left;width:100%;font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.875rem}.inventory-container .table-responsive .inventory-table thead tr{color:#64748b;border-bottom:2px solid #e2e8f0}.inventory-container .table-responsive .inventory-table thead tr th{padding:.75rem}.inventory-container .table-responsive .inventory-table thead tr th.text-center{text-align:center}.inventory-container .table-responsive .inventory-table tbody tr{border-bottom:1px solid #e2e8f0;transition:background-color .15s}.inventory-container .table-responsive .inventory-table tbody tr:hover{background-color:#f8fafc}.inventory-container .table-responsive .inventory-table tbody tr td{color:#0f172a;padding:.75rem}.inventory-container .table-responsive .inventory-table tbody tr td.font-medium{font-weight:500}.inventory-container .table-responsive .inventory-table tbody tr td.font-semibold{font-weight:600}.inventory-container .table-responsive .inventory-table tbody tr td.description-cell{color:#64748b;max-width:250px}.inventory-container .table-responsive .inventory-table tbody tr td.empty-cell{text-align:center;color:#94a3b8;padding:1.5rem}.inventory-container .table-responsive .inventory-table tbody tr td .badge-size{color:#64748b;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:.2rem .5rem;font-size:.75rem;font-weight:600}.inventory-container .table-responsive .inventory-table tbody tr td .stock-quantity{font-weight:600}.inventory-container .table-responsive .inventory-table tbody tr td .stock-quantity.stock-low{color:#ef4444}.inventory-container .table-responsive .inventory-table tbody tr td .stock-quantity.stock-warning{color:#f59e0b}.inventory-container .table-responsive .inventory-table tbody tr td .stock-quantity.stock-normal{color:#10b981}.inventory-container .table-responsive .inventory-table tbody tr td .action-buttons{justify-content:center;align-items:center;gap:.5rem;display:flex}.inventory-container .table-responsive .inventory-table tbody tr td .action-buttons .btn-action{cursor:pointer;border-radius:6px;padding:.25rem .625rem;font-size:.75rem;font-weight:500;transition:all .2s}.inventory-container .table-responsive .inventory-table tbody tr td .action-buttons .btn-action.btn-edit{color:#0f172a;background-color:#f8fafc;border:1px solid #e2e8f0}.inventory-container .table-responsive .inventory-table tbody tr td .action-buttons .btn-action.btn-edit:hover{background-color:#ecf0f5;border-color:#c0cddf}.inventory-container .table-responsive .inventory-table tbody tr td .action-buttons .btn-action.btn-delete{color:#ef4444;background-color:#ef444414;border:1px solid #ef44444d}.inventory-container .table-responsive .inventory-table tbody tr td .action-buttons .btn-action.btn-delete:hover{background-color:#ef444426}.dashboard-container{flex-direction:column;gap:1.5rem;display:flex}.dashboard-container .kpi-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;display:grid}.dashboard-container .kpi-grid .kpi-card{padding-left:.75rem}.dashboard-container .kpi-grid .kpi-card .kpi-title{color:#64748b;font-size:.875rem;font-weight:500;display:block}.dashboard-container .kpi-grid .kpi-card .kpi-value{color:#0f172a;margin:.25rem 0;font-size:1.875rem;font-weight:700}.dashboard-container .kpi-grid .kpi-card .kpi-subtitle{color:#94a3b8;font-size:.75rem;display:block}.dashboard-container .main-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.5rem;display:grid}.dashboard-container .main-grid .table-responsive{overflow-x:auto}.dashboard-container .main-grid .table-responsive .dashboard-table{border-collapse:collapse;text-align:left;width:100%;font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.875rem}.dashboard-container .main-grid .table-responsive .dashboard-table thead tr{color:#64748b;border-bottom:2px solid #e2e8f0}.dashboard-container .main-grid .table-responsive .dashboard-table thead tr th{padding:.5rem}.dashboard-container .main-grid .table-responsive .dashboard-table tbody tr{border-bottom:1px solid #e2e8f0}.dashboard-container .main-grid .table-responsive .dashboard-table tbody tr td{color:#0f172a;padding:.5rem}.dashboard-container .main-grid .table-responsive .dashboard-table tbody tr td.font-medium{font-weight:500}.dashboard-container .main-grid .table-responsive .dashboard-table tbody tr td .status-badge{color:#fff;border-radius:6px;padding:.2rem .5rem;font-size:.75rem;font-weight:600;display:inline-block}.dashboard-container .main-grid .alerts-list{flex-direction:column;gap:.75rem;display:flex}.dashboard-container .main-grid .alerts-list .alert-item{background-color:#ef444414;border:1px solid #ef444440;border-radius:10px;justify-content:space-between;align-items:center;padding:.75rem;display:flex}.dashboard-container .main-grid .alerts-list .alert-item .alert-info .alert-title{color:#d41212;font-size:.875rem;font-weight:600}.dashboard-container .main-grid .alerts-list .alert-item .alert-info .alert-subtitle{color:#eb1515;font-size:.75rem}.dashboard-container .main-grid .alerts-list .alert-item .alert-stock{color:#ef4444;font-size:1rem;font-weight:700}.dashboard-container .quick-actions{flex-wrap:wrap;gap:1rem;display:flex}.history-container{flex-direction:column;gap:1.5rem;display:flex}.history-container .history-kpis{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;display:grid}.history-container .history-kpis .kpi-card .kpi-title{color:#64748b;font-size:.875rem;font-weight:500;display:block}.history-container .history-kpis .kpi-card .kpi-value{color:#0f172a;margin:.25rem 0;font-size:1.75rem;font-weight:700}.history-container .history-kpis .kpi-card .kpi-subtitle{color:#94a3b8;font-size:.75rem;display:block}.history-container .filters-card .filters-wrapper{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));align-items:flex-end;gap:1rem;display:grid}.history-container .filters-card .filters-wrapper .filter-group{flex-direction:column;gap:.35rem;display:flex}.history-container .filters-card .filters-wrapper .filter-group label{color:#64748b;font-size:.875rem;font-weight:500}.history-container .filters-card .filters-wrapper .filter-group .filter-select{color:#0f172a;background-color:#fff;border:1px solid #e2e8f0;border-radius:10px;outline:none;width:100%;padding:.5rem .75rem;font-size:.875rem}.history-container .filters-card .filters-wrapper .filter-group .filter-select:focus{border-color:#2563eb}.history-container .filters-card .filters-wrapper .actions-group{justify-content:flex-end;gap:.5rem;display:flex}.history-container .table-responsive{overflow-x:auto}.history-container .table-responsive .history-table{border-collapse:collapse;text-align:left;width:100%;font-family:Inter,system-ui,-apple-system,sans-serif;font-size:.875rem}.history-container .table-responsive .history-table thead tr{color:#64748b;border-bottom:2px solid #e2e8f0}.history-container .table-responsive .history-table thead tr th{padding:.75rem}.history-container .table-responsive .history-table tbody tr{border-bottom:1px solid #e2e8f0;transition:background-color .15s}.history-container .table-responsive .history-table tbody tr:hover{background-color:#e2e8f04d}.history-container .table-responsive .history-table tbody tr td{color:#0f172a;padding:.75rem}.history-container .table-responsive .history-table tbody tr td.font-medium{font-weight:500}.history-container .table-responsive .history-table tbody tr td .text-muted{color:#94a3b8;font-size:.75rem;display:block}.history-container .table-responsive .history-table tbody tr td .badge{border-radius:6px;padding:.25rem .6rem;font-size:.75rem;font-weight:600;display:inline-block}.history-container .table-responsive .history-table tbody tr td .badge.badge-entregado{color:#047857;background-color:#10b98126}.history-container .table-responsive .history-table tbody tr td .badge.badge-cancelado{color:#b91c1c;background-color:#ef444426}.history-container .table-responsive .history-table tbody tr td .btn-detail{cursor:pointer;color:#64748b;background:0 0;border:1px solid #e2e8f0;border-radius:6px;padding:.25rem .5rem;font-size:.75rem;font-weight:500}.history-container .table-responsive .history-table tbody tr td .btn-detail:hover{color:#0f172a;background-color:#e2e8f0}.history-container .table-responsive .history-table tbody .no-records{text-align:center;color:#94a3b8;padding:2rem}.login-container{background-color:#f8fafc;justify-content:center;align-items:center;min-height:100vh;padding:1rem;display:flex}.login-container .login-card-wrapper{width:100%;max-width:420px}.login-container .login-card-wrapper .login-header{text-align:center;margin-bottom:1.5rem}.login-container .login-card-wrapper .login-header .brand-title{color:#0f172a;margin-bottom:.25rem;font-size:1.5rem;font-weight:700}.login-container .login-card-wrapper .login-header .brand-subtitle{color:#94a3b8;font-size:.875rem}.login-container .login-card-wrapper .login-form{flex-direction:column;gap:1.25rem;display:flex}.login-container .login-card-wrapper .login-form .form-group{flex-direction:column;gap:.35rem;display:flex}.login-container .login-card-wrapper .login-form .form-group label{color:#64748b;font-size:.875rem;font-weight:500}.login-container .login-card-wrapper .login-form .form-group .input-error-msg{color:#ef4444;margin-top:.15rem;font-size:.75rem}.login-container .login-card-wrapper .login-form .error-banner{color:#ef4444;text-align:center;background-color:#ef44441a;border:1px solid #ef44444d;border-radius:10px;padding:.75rem;font-size:.875rem;font-weight:500}.login-container .login-card-wrapper .login-form .submit-btn{width:100%;margin-top:.5rem}.login-container .login-card-wrapper .login-footer{text-align:center;color:#94a3b8;margin-top:1.5rem;font-size:.75rem}.footer-container{color:#9ca3af;background-color:#111827;border-top:1px solid #1f2937;margin-top:auto;padding:1.5rem 1rem;font-size:.875rem}.footer-container .footer-content{text-align:center;flex-direction:column;justify-content:space-between;align-items:center;gap:1rem;max-width:80rem;margin-left:auto;margin-right:auto;display:flex}@media (width>=640px){.footer-container .footer-content{text-align:left;flex-direction:row}}.footer-container .footer-info .company-title{color:#e5e7eb;margin:0;font-weight:600}.footer-container .footer-info .copyright-text{color:#6b7280;margin-top:.25rem;font-size:.75rem}.footer-container .footer-links{align-items:center;gap:1.5rem;font-size:.75rem;display:flex}.footer-container .footer-links .footer-link{color:#9ca3af;text-decoration:underline;transition:color .2s ease-in-out}.footer-container .footer-links .footer-link:hover{color:#fff}
