body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.login-container{align-items:center;background:linear-gradient(135deg,#1b5e4c,#0d3d30);display:flex;justify-content:center;min-height:100vh}.login-card{background:#f5f1e8;border-radius:10px;box-shadow:0 10px 25px #0003;max-width:400px;padding:40px;width:100%}.login-card h1{color:#1b5e4c;font-size:28px;margin-bottom:10px;text-align:center}.login-card h2{color:#0d3d30;font-size:20px;margin-bottom:30px;text-align:center}.form-group{margin-bottom:20px}.form-group input{border:1px solid #ccc;border-radius:5px;box-sizing:border-box;font-size:14px;padding:12px;transition:border-color .3s;width:100%}.form-group input:focus{border-color:#1b5e4c;outline:none}.form-group input:disabled{background-color:#f5f5f5;cursor:not-allowed}button[type=submit]{background:linear-gradient(135deg,#1b5e4c,#0d3d30);border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:12px;transition:transform .2s;width:100%}button[type=submit]:hover:not(:disabled){transform:translateY(-2px)}button[type=submit]:disabled{cursor:not-allowed;opacity:.7}.dashboard-container{background-color:#f5f1e8;min-height:100vh}.dashboard-nav{align-items:center;background:linear-gradient(135deg,#1b5e4c,#0d3d30);box-shadow:0 2px 4px #0000001a;color:#fff;display:flex;justify-content:space-between;padding:20px 40px}.dashboard-nav h1{font-size:24px;margin:0}.user-info{align-items:center;display:flex;gap:20px}.logout-btn{background-color:#fff3;border:1px solid #fff;border-radius:5px;color:#fff;cursor:pointer;font-size:14px;padding:8px 20px;transition:background-color .3s}.logout-btn:hover{background-color:#ffffff4d}.dashboard-content{margin:0 auto;max-width:1200px;padding:40px}.dashboard-content h2{color:#1b5e4c;margin-bottom:10px}.dashboard-content p{color:#0d3d30;margin-bottom:30px}.placeholder-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-top:30px}.card{background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000001a;color:inherit;display:block;padding:30px;text-align:center;text-decoration:none;transition:transform .3s}.card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-5px)}.card h3{color:#1b5e4c;font-size:24px;margin-bottom:10px}.card p{color:#0d3d30;font-size:14px;margin:0}.page-header{align-items:center;background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000001a;display:flex;justify-content:space-between;margin-bottom:30px;padding:20px}.page-header h2{color:#1b5e4c;font-size:24px;font-weight:600;margin:0}.page-header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;margin-left:auto}.btn-back{background:linear-gradient(135deg,#1b5e4c,#0d3d30);border:none;display:inline-block;font-weight:600;transition:transform .2s,box-shadow .3s;white-space:nowrap}.btn-back:hover{box-shadow:0 4px 12px #1b5e4c66;transform:translateY(-2px)}.btn-back:active{box-shadow:0 2px 6px #1b5e4c4d;transform:translateY(0)}.btn-primary{transition:transform .2s,box-shadow .3s;white-space:nowrap}.btn-primary:hover:not(:disabled){box-shadow:0 4px 12px #1b5e4c66;transform:translateY(-2px)}.btn-primary:active:not(:disabled){box-shadow:0 2px 6px #1b5e4c4d;transform:translateY(0)}.btn-secondary{transition:background .3s,transform .2s;white-space:nowrap}.btn-secondary:hover:not(:disabled){background:#e9e5dc;transform:translateY(-1px)}.btn-secondary:active:not(:disabled){transform:translateY(0)}@media (max-width:1024px){.page-header{padding:15px}.page-header h2{font-size:22px}.btn-back,.btn-primary,.btn-secondary{font-size:13px;padding:8px 16px}}@media (max-width:768px){.page-header{align-items:flex-start;flex-direction:column;gap:15px;padding:15px}.page-header h2{font-size:20px;width:100%}.page-header-actions{justify-content:flex-start;width:100%}.btn-back,.btn-primary,.btn-secondary{flex:1 1;min-width:auto;text-align:center}}@media (max-width:480px){.page-header{padding:12px}.page-header h2{font-size:18px}.page-header-actions{flex-direction:column;width:100%}.btn-back,.btn-primary,.btn-secondary{width:100%}}.btn-back:focus,.btn-primary:focus,.btn-secondary:focus{outline:2px solid #1b5e4c;outline-offset:2px}.btn-back.loading,.btn-primary.loading,.btn-secondary.loading{cursor:wait;opacity:.7;pointer-events:none}.btn-back .icon,.btn-primary .icon,.btn-secondary .icon{font-size:16px;margin-right:5px;vertical-align:middle}.users-container{padding:20px}.users-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.users-header h2{color:#333;margin:0}.users-table{background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.users-table table{border-collapse:collapse;width:100%}.users-table thead{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.users-table th{font-size:14px;font-weight:600;padding:15px;text-align:left}.users-table td{border-bottom:1px solid #eee;font-size:14px;padding:15px}.users-table tbody tr:hover{background:#f8f9fa}.role-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:600;padding:4px 12px;text-transform:capitalize}.role-badge.role-admin{background:#dc3545;color:#fff}.role-badge.role-manager{background:#ffc107;color:#333}.role-badge.role-cashier{background:#28a745;color:#fff}.status-badge.active{background:#d4edda;color:#155724}.status-badge.inactive{background:#f8d7da;color:#721c24}.user-actions{align-items:center;display:flex;gap:8px;justify-content:flex-start}.btn-password{background:#ffc107;border:none;border-radius:5px;color:#333;cursor:pointer;font-size:16px;padding:6px 12px;transition:all .3s}.btn-password:hover{background:#e0a800;transform:scale(1.1)}.btn-delete-user{background:#dc3545;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:16px;padding:6px 12px;transition:all .3s}.btn-delete-user:hover:not(:disabled){background:#c82333;transform:scale(1.1)}.btn-delete-user:disabled{background:#ddd;color:#999;cursor:not-allowed;opacity:.6}.modal-small{max-width:450px}.close-btn:hover,.modal-header h3{color:#333}.form-group label{color:#555}.form-group input:focus,.form-group select:focus{border-color:#667eea}.btn-secondary{background:#f5f5f5;color:#333}.btn-secondary:hover{background:#e5e5e5}.btn-delete{background:#dc3545;font-size:14px;font-weight:600;padding:10px 20px}.btn-delete:hover{background:#c82333}.loading{color:#667eea}.users-info-box{background:#e7f3ff;border:1px solid #667eea;border-radius:10px;margin-bottom:20px;padding:20px}.users-info-box p{color:#333;font-size:14px;margin:0 0 10px}.users-info-box ul{list-style:disc;margin:10px 0 0 20px;padding:0}.users-info-box li{color:#666;font-size:13px;margin:5px 0}.badge-current-user{background:#667eea;border-radius:10px;color:#fff;display:inline-block;font-size:11px;font-weight:600;margin-left:8px;padding:2px 8px}.user-info-display{background:#f8f9fa;border-left:4px solid #667eea;border-radius:8px;margin-bottom:20px;padding:15px}.user-info-display p{color:#333;font-size:14px;margin:5px 0}.password-requirements{background:#fff8e1;border:1px solid #ffc107;border-radius:8px;margin:15px 0;padding:15px}.password-requirements p{color:#856404;font-size:14px;font-weight:600;margin:0 0 10px}.password-requirements ul{list-style:disc;margin:10px 0 0 20px;padding:0}.password-requirements li{color:#856404;font-size:13px;margin:5px 0}.delete-warning{padding:20px 0}.delete-warning p{color:#333;margin:10px 0}.warning-text{align-items:center;background:#fff3cd;border:1px solid #ffc107;border-radius:5px;color:#856404;display:flex;font-weight:500;gap:8px;margin-top:15px;padding:12px}@media (max-width:768px){.users-container{padding:15px}.users-table{overflow-x:auto}.users-table table{min-width:800px}.user-actions{flex-direction:column;gap:5px}.modal{padding:20px;width:95%}.form-row{grid-template-columns:1fr}}.bulk-upload-container{padding:20px}.bulk-upload-container h3{color:#333;margin:0 0 20px}.upload-instructions{background:#f8f9fa;border-radius:5px;margin-bottom:20px;padding:15px}.upload-instructions p{color:#666;font-size:14px;margin:0 0 10px}.btn-template{background:#28a745;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px;transition:background .3s}.btn-template:hover{background:#218838}.file-input-container{margin:20px 0}.file-input-container input[type=file]{display:none}.file-label{background:#f5f5f5;border:2px dashed #ddd;border-radius:5px;box-sizing:border-box;color:#666;cursor:pointer;display:inline-block;padding:12px 20px;text-align:center;transition:all .3s;width:100%}.file-label:hover{background:#f0f0ff;border-color:#667eea}.result-message{border-radius:5px;margin:20px 0;padding:15px}.result-message.success{background:#d4edda;border:1px solid #c3e6cb;color:#155724}.result-message.warning{background:#fff3cd;border:1px solid #ffeaa7;color:#856404}.result-message p{margin:5px 0}.error-list{margin-top:10px}.error-list ul{margin:5px 0;padding-left:20px}.error-list li{font-size:13px;margin:3px 0}.upload-actions{border-top:1px solid #eee;display:flex;gap:10px;justify-content:flex-end;margin-top:20px;padding-top:20px}.products-container{padding:20px}.header-actions{display:flex;gap:10px}.products-filters{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:30px}.search-input{flex:1 1;min-width:250px}.filter-select,.search-input{border:1px solid #0d3d30;font-size:14px;padding:10px 15px}.filter-checkbox,.filter-select{border-radius:5px;cursor:pointer}.filter-checkbox{align-items:center;background:#f5f1e8;display:flex;gap:8px;padding:10px 15px}.filter-checkbox input[type=checkbox]{cursor:pointer}.products-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.product-card{background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;overflow:hidden;transition:transform .3s,box-shadow .3s}.product-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-5px)}.product-type-badge{border-radius:12px;display:inline-block;font-size:11px;font-weight:600;margin-bottom:8px;padding:3px 10px;text-transform:uppercase}.product-card.parent-product{border:2px solid #667eea}.product-card.parent-product .product-type-badge{background:#e7f3ff;color:#0d3d30}.product-card.child-product{border:2px solid #facc15}.product-card.child-product .product-type-badge{background:#fff8e1;color:#8a6d1a}.product-card .product-type-badge{background:#f5f1e8;color:#1b5e4c}.product-image{align-items:center;background:#f5f1e8;display:flex;height:180px;justify-content:center;overflow:hidden;width:100%}.product-image img{height:100%;object-fit:cover;width:100%}.no-image{color:#0d3d30;font-size:48px}.product-info{flex:1 1;padding:15px}.product-info h3{color:#1b5e4c;font-size:16px;line-height:1.4;margin:0 0 8px}.product-sku{color:#0d3d30;font-size:12px;margin:4px 0}.parent-ref{color:#667eea;font-size:11px;font-style:italic;margin:4px 0}.product-category{color:#1b5e4c;font-size:12px;font-weight:500;margin:4px 0}.bulk-info,.child-info{background:#f5f1e8;border-radius:5px;font-size:12px;margin:8px 0;padding:8px 12px}.bulk-info{display:flex;flex-direction:column;gap:4px}.unit-info{color:#1b5e4c;font-weight:500}.total-info{color:#667eea;font-size:13px;font-weight:700}.product-price{margin:12px 0}.product-price .price{color:#1b5e4c;font-size:20px;font-weight:700}.product-stock{font-size:13px;margin:8px 0}.product-stock .in-stock{color:#1b5e4c;font-weight:500}.product-stock .low-stock{color:#0d3d30;font-weight:500}.inactive-badge{background:#f5f1e8;border-radius:4px;color:#0d3d30;display:inline-block;font-size:11px;font-weight:600;margin-top:8px;padding:4px 10px}.product-actions{border-top:1px solid #f5f1e8;display:flex;flex-wrap:wrap;gap:8px;padding:15px}.btn-manage-children,.btn-stock-info{border:none;border-radius:4px;cursor:pointer;font-size:12px;font-weight:600;padding:6px 12px;transition:all .3s}.btn-manage-children{background:#667eea;color:#fff;flex:1 1;min-width:100px}.btn-manage-children:hover{background:#5568d3}.btn-stock-info{background:#17a2b8;color:#fff;padding:6px 10px}.btn-stock-info:hover{background:#138496}.btn-edit{background:#1b5e4c;border:none;border-radius:5px;color:#fff;cursor:pointer;flex:1 1;font-size:13px;padding:8px;transition:background .3s}.btn-delete,.btn-edit:hover{background:#0d3d30}.btn-delete{border:none;border-radius:5px;color:#fff;cursor:pointer;flex:1 1;font-size:13px;padding:8px;transition:background .3s}.btn-delete:hover{background:#1b5e4c}.btn-deactivate{background:#ffc107;color:#333}.btn-deactivate:hover{background:#ffb300}.btn-activate{background:#4caf50;color:#fff}.btn-activate:hover{background:#45a049}.no-products{color:#0d3d30;padding:60px 20px;text-align:center}.no-products p{font-size:18px;margin:0}.modal-overlay{overflow-y:auto;padding:20px}.modal{max-width:500px}.modal-large{max-width:700px}.modal-xl{max-width:1000px;width:95%}.close-btn{color:#0d3d30}.form-row{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:15px}.form-group input,.form-group select,.form-group textarea{border:1px solid #1b5e4c;border-radius:5px;box-sizing:border-box;font-size:14px;padding:10px;width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#0d3d30}.form-group textarea{font-family:inherit;resize:vertical}.form-group small{color:#666;display:block;font-size:12px;margin-top:5px}.checkbox-label{align-items:center;cursor:pointer;display:flex;gap:8px;-webkit-user-select:none;user-select:none}.checkbox-label input[type=checkbox]{cursor:pointer;width:auto}.modal-footer{border-top:1px solid #f5f1e8}.btn-secondary{border:1px solid #1b5e4c}.btn-secondary:hover{background:#e9e5dc}.error-message{background-color:#f5f1e8;border:1px solid #1b5e4c;color:#0d3d30;margin-bottom:20px}.parent-info-box{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px;color:#fff;margin-bottom:25px;padding:20px}.parent-info-box h4{font-size:18px;margin:0 0 12px}.parent-stats{display:flex;flex-wrap:wrap;font-size:14px;gap:20px}.total-highlight{font-size:16px;font-weight:700}.existing-children{margin-bottom:30px}.existing-children h4{color:#1b5e4c;margin-bottom:15px}.children-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.child-card{background:#f5f1e8;border:1px solid #e0e0e0;border-radius:8px;padding:15px}.child-card.out-of-stock{background:#fff5f5;border-color:#ffcdd2}.child-header{margin-bottom:10px}.child-header strong{color:#1b5e4c;display:block;margin-bottom:4px}.child-unit{color:#666;font-size:12px}.child-details{align-items:center;display:flex;justify-content:space-between}.child-price{color:#667eea;font-weight:600}.child-stock{font-size:12px;font-weight:600}.child-stock.out{color:#dc3545}.child-stock.low{color:#ffc107}.child-stock.good{color:#28a745}.add-children-section{background:#fafafa;border-radius:10px;padding:20px}.add-children-section h4{color:#1b5e4c;margin:0 0 15px}.child-form-row{background:#fff;border:1px solid #ddd;border-radius:8px;margin-bottom:15px;padding:15px}.child-form-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.child-form-header span{color:#1b5e4c;font-weight:600}.btn-remove-child{background:#dc3545;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:18px;height:24px;line-height:1;width:24px}.btn-remove-child:hover{background:#c82333}.child-form-inputs{grid-gap:10px;display:grid;gap:10px;grid-template-columns:2fr 1.5fr 1fr 1fr 1fr}.child-form-inputs input{border:1px solid #ddd;border-radius:5px;font-size:14px;padding:8px}.available-preview{color:#667eea;font-size:13px;font-weight:500;margin-top:8px}.btn-add-child{background:#28a745;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;margin-top:15px;padding:12px;width:100%}.btn-add-child:hover{background:#218838}.stock-info-card{background:#f5f1e8;border-radius:10px;margin-bottom:20px;padding:20px}.stock-info-card h4{color:#1b5e4c;font-size:20px;margin:0 0 15px}.info-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(2,1fr)}.info-item{display:flex;justify-content:space-between}.info-item span{color:#666;font-size:14px}.info-item strong{color:#1b5e4c}.price-highlight{color:#667eea!important;font-size:16px}.parent-stock-card{background:#e7f3ff;border:1px solid #667eea;border-radius:10px;margin-bottom:20px;padding:20px}.stock-row{display:flex;justify-content:space-between;padding:10px 0}.stock-row.total{border-top:2px solid #667eea;margin-top:10px;padding-top:15px}.stock-value{color:#1b5e4c;font-size:18px}.total-value{color:#667eea;font-size:22px}.btn-update-stock{background:#667eea;border:none;border-radius:5px;color:#fff;cursor:pointer;font-weight:600;margin-top:15px;padding:10px;width:100%}.btn-update-stock:hover{background:#5568d3}.children-stock-section{margin-top:25px}.children-stock-section h4{color:#1b5e4c;margin-bottom:15px}.children-stock-list{display:flex;flex-direction:column;gap:10px}.child-stock-item{align-items:center;background:#fff;border:1px solid #e0e0e0;border-radius:8px;display:flex;justify-content:space-between;padding:15px}.child-stock-item.out{background:#fff5f5;border-color:#ffcdd2}.child-name-unit{display:flex;flex-direction:column;gap:4px}.child-name-unit strong{color:#1b5e4c}.unit-size{color:#666;font-size:12px}.child-price-stock{align-items:flex-end;display:flex;flex-direction:column;gap:4px}.child-price-stock .price{color:#667eea;font-weight:600}.child-price-stock .stock{font-size:12px;font-weight:600}.child-price-stock .stock.out{color:#dc3545}.child-price-stock .stock.low{color:#ffc107}.child-price-stock .stock.good{color:#28a745}.parent-ref-card{background:#fff8e1;border:1px solid #ffc107;border-radius:10px;margin-bottom:20px;padding:20px}.parent-ref-card h4{color:#856404;margin:0 0 12px}.parent-details strong{color:#1b5e4c;display:block;margin-bottom:8px}.parent-stock-info{color:#856404;font-size:14px}.child-availability-card{background:#d4edda;border:1px solid #c3e6cb;border-radius:10px;margin-bottom:20px;padding:20px}.availability-row{align-items:center;display:flex;justify-content:space-between}.available-value{color:#155724;font-size:22px}.calculation-box{background:#f5f1e8;border-radius:8px;font-size:13px;padding:15px}.calculation-box strong{color:#1b5e4c;display:block;margin-bottom:8px}.calculation-box code{background:#fff;border-radius:5px;color:#666;display:block;font-family:Courier New,monospace;margin-top:8px;padding:10px}@media (max-width:1024px){.child-form-inputs{grid-template-columns:1fr 1fr}}@media (max-width:768px){.products-filters{flex-direction:column}.filter-select,.search-input{width:100%}.products-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.child-form-inputs,.children-grid,.info-grid{grid-template-columns:1fr}.product-actions{flex-direction:column}.btn-delete,.btn-edit,.btn-manage-children,.btn-stock-info{width:100%}}@media (max-width:480px){.products-container{padding:10px}.modal{padding:20px}.modal-xl{width:100%}}.filter-checkbox-children{background:#e7f3ff;border:2px solid #667eea;min-width:200px;padding:12px 16px}.filter-checkbox-children input[type=checkbox]{margin-right:8px}.checkbox-label-text{display:flex;flex-direction:column;gap:2px}.checkbox-hint{color:#666;font-size:11px;font-style:italic;font-weight:400}.products-info-banner{align-items:flex-start;animation:slideDown .3s ease-out;background:#fff8e1;border:1px solid #ffc107;border-left-width:4px;border-radius:8px;display:flex;gap:12px;margin-bottom:20px;padding:16px 20px}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.info-icon{flex-shrink:0;font-size:24px;line-height:1}.info-text{flex:1 1;line-height:1.5}.info-text strong{color:#856404;display:block;font-size:14px;margin-bottom:4px}.info-text{color:#856404;font-size:13px}.no-products .hint{color:#666;font-size:14px;font-style:italic;margin-top:10px}@media (max-width:768px){.filter-checkbox-children{min-width:auto;width:100%}.products-info-banner{flex-direction:column;gap:8px}.info-icon{font-size:20px}}.categories-container{padding:20px}.categories-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.categories-header h2{color:#333;margin:0}.categories-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.category-card{background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;padding:20px;transition:transform .3s,box-shadow .3s}.category-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-5px)}.category-info{flex:1 1;margin-bottom:15px}.category-info h3{color:#333;font-size:20px;margin:0 0 10px}.category-description{color:#666;font-size:14px;line-height:1.5;margin:10px 0}.category-meta{align-items:center;display:flex;gap:10px;margin-top:12px}.product-count{color:#667eea;font-size:13px;font-weight:500}.category-actions{border-top:1px solid #eee;display:flex;gap:10px;padding-top:15px}.no-categories{color:#999;padding:60px 20px;text-align:center}.no-categories p{font-size:18px;margin:0}.qt-overlay{align-items:center;animation:fadeIn .2s ease-out;background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:2000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.qt-modal{animation:slideUp .3s ease-out;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:650px;width:100%}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.qt-header{align-items:center;background:linear-gradient(135deg,#1b5e4c,#0d3d30);border-bottom:1px solid #eee;border-radius:12px 12px 0 0;display:flex;justify-content:space-between;padding:20px 24px}.qt-header h3{color:#fff;font-size:20px;font-weight:600;margin:0}.qt-close{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:28px;height:36px;justify-content:center;line-height:1;padding:0;transition:all .3s;width:36px}.qt-close:hover{background:#ffffff4d;transform:rotate(90deg)}.qt-content{background:#f5f1e8;flex:1 1;overflow-y:auto;padding:24px}.qt-error{align-items:center;background:#fff3cd;border:1px solid #ffc107;border-radius:8px;color:#856404;display:flex;font-size:14px;gap:8px;margin-bottom:16px;padding:12px 16px}.qt-error:before{content:"⚠️";font-size:18px}.qt-form-group{margin-bottom:20px}.qt-form-group label{color:#1b5e4c;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.qt-form-group select{background:#fff;border:2px solid #1b5e4c;border-radius:8px;cursor:pointer;font-family:inherit;font-size:14px;padding:12px 16px;transition:all .3s;width:100%}.qt-form-group select:hover:not(:disabled){border-color:#0d3d30}.qt-form-group select:focus{border-color:#0d3d30;box-shadow:0 0 0 3px #1b5e4c1a;outline:none}.qt-form-group select:disabled{background:#f5f5f5;cursor:not-allowed;opacity:.6}.qt-status{background:#e7f3ff;border-left:4px solid #1b5e4c;border-radius:8px;color:#0d3d30;font-size:14px;font-weight:500;margin-bottom:20px;padding:12px 16px}.qt-preview-box{background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000001a;padding:20px}.qt-preview-box h4{color:#1b5e4c;font-size:16px;margin:0 0 16px;text-align:center}.qt-receipt-preview{background:#fff;border:1px solid #e0e0e0;border-radius:6px;box-shadow:0 2px 6px #0000001a;font-family:Courier New,Lucida Console,monospace;font-size:11px;letter-spacing:0;line-height:1.4;margin:0 auto;max-width:100%;overflow-x:auto;padding:16px;text-align:left;white-space:pre;width:320px}.qt-receipt-preview pre{font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow-x:auto;white-space:pre}.qt-receipt-preview::-webkit-scrollbar{height:6px}.qt-receipt-preview::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.qt-receipt-preview::-webkit-scrollbar-thumb{background:#1b5e4c;border-radius:3px}.qt-receipt-preview::-webkit-scrollbar-thumb:hover{background:#0d3d30}.qt-actions{background:#fff;border-radius:0 0 12px 12px;border-top:1px solid #eee;display:flex;gap:12px;justify-content:flex-end;padding:16px 24px}.qt-actions button{border:none;border-radius:8px;cursor:pointer;font-family:inherit;font-size:14px;font-weight:600;padding:12px 24px;transition:all .3s}.qt-actions button:first-child{background:#f5f1e8;border:1px solid #ddd;color:#0d3d30}.qt-actions button:first-child:hover{background:#e6e2d9;transform:translateY(-1px)}.qt-actions button:last-child{background:linear-gradient(135deg,#1b5e4c,#0d3d30);box-shadow:0 2px 8px #1b5e4c4d;color:#fff}.qt-actions button:last-child:hover:not(:disabled){box-shadow:0 4px 12px #1b5e4c66;transform:translateY(-2px)}.qt-actions button:disabled{box-shadow:none!important;cursor:not-allowed;opacity:.5;transform:none!important}@media (max-width:768px){.qt-overlay{padding:10px}.qt-modal{max-height:95vh;max-width:100%}.qt-header{padding:16px 20px}.qt-header h3{font-size:18px}.qt-content{padding:16px}.qt-receipt-preview{font-size:10px;padding:12px;width:100%}.qt-actions{flex-direction:column-reverse;padding:12px 16px}.qt-actions button{width:100%}}@media (max-width:480px){.qt-modal{border-radius:8px}.qt-header{border-radius:8px 8px 0 0}.qt-receipt-preview{font-size:9px;padding:10px}}@media print{.qt-overlay{display:none!important}}.qt-actions button:disabled:after{animation:dots 1.5s infinite;content:"..."}@keyframes dots{0%,20%{content:"."}40%{content:".."}60%,to{content:"..."}}.qt-status.success{background:#d4edda;border-left-color:#28a745;color:#155724}.qt-status.error{background:#f8d7da;border-left-color:#dc3545;color:#721c24}.qt-actions button:focus-visible,.qt-close:focus-visible,.qt-form-group select:focus-visible{outline:2px solid #1b5e4c;outline-offset:2px}.sales-container{background:#f5f1e8;min-height:100vh}.cashier-info{align-items:center;display:flex;gap:20px}.btn-back{background:#fff3;border:1px solid #fff;cursor:pointer;padding:8px 16px}.sales-header-content{align-items:center;display:flex;justify-content:space-between;width:100%}.cashier-info-text{font-size:14px;opacity:.9}.sales-header-actions{display:flex;gap:10px}.btn-dashboard{align-items:center;background:#fff3;border:1px solid #fff;border-radius:5px;color:#fff;cursor:pointer;display:inline-flex;font-size:14px;gap:5px;padding:8px 16px;text-decoration:none;transition:background .3s}.btn-back:hover,.btn-dashboard:hover{background:#ffffff4d}.sales-content{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 400px;height:calc(100vh - 84px);padding:20px}.sales-left,.sales-right{display:flex;flex-direction:column;gap:20px}.search-section{background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000001a;padding:20px;position:relative}.search-input{border:2px solid #ddd;border-radius:5px;box-sizing:border-box;font-size:16px;padding:12px 15px;width:100%}.search-input:focus{border-color:#1b5e4c;outline:none}.search-results{background:#fff;border:1px solid #ddd;border-radius:5px;box-shadow:0 4px 12px #00000026;left:0;margin-top:5px;max-height:300px;overflow-y:auto;position:absolute;right:0;top:100%;z-index:10}.search-result-item{align-items:center;border-bottom:1px solid #f0f0f0;cursor:pointer;display:flex;justify-content:space-between;padding:15px;transition:background .2s}.search-result-item:hover{background:#f5f1e8}.search-result-item:last-child{border-bottom:none}.search-result-item.out-of-stock{background:#f8d7da;cursor:not-allowed;opacity:.6}.search-result-item.out-of-stock:hover{background:#f8d7da}.search-result-item .product-info{display:flex;flex-direction:column;gap:4px}.search-result-item .sku{color:#777;font-size:12px}.search-result-item .product-price{align-items:flex-end;color:#1b5e4c;display:flex;flex-direction:column;font-weight:600;gap:4px}.search-result-item .stock{color:#1b5e4c;font-size:11px;font-weight:500}.search-result-item .stock.low{color:#0d3d30}.search-result-item .stock.out{color:#c33;font-weight:700}.stock-error-message{animation:slideIn .3s ease-out;background:#fff3cd;border-left:4px solid #0d3d30;border-radius:5px;color:#0d3d30;font-weight:500;margin:0 20px;padding:15px}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.cart-section{background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000001a;flex:1 1;overflow-y:auto;padding:20px}.cart-section h3{color:#1b5e4c;margin:0 0 20px}.empty-cart{color:#0d3d30;padding:60px 20px;text-align:center}.empty-cart p{margin:10px 0}.empty-cart .hint{font-size:14px}.cart-items{display:flex;flex-direction:column;gap:15px}.cart-item{background:#fafaf9;border:1px solid #e0e0e0;border-radius:8px;padding:15px;transition:all .3s}.cart-item.stock-issue{background:#fff5f5;border:2px solid #c33}.item-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.item-header strong{color:#1b5e4c;font-size:16px}.stock-warning{align-items:center;background:#fff3cd;border:1px solid #0d3d30;border-radius:4px;color:#0d3d30;display:flex;font-size:13px;font-weight:600;gap:5px;margin-bottom:10px;padding:8px 12px}.btn-remove{background:#c33;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:20px;height:28px;line-height:1;transition:background .3s;width:28px}.btn-remove:hover{background:#a22}.item-details{display:flex;flex-direction:column;gap:10px}.item-row{align-items:center;display:flex;font-size:14px;justify-content:space-between}.item-row.total{border-top:1px solid #ddd;font-size:16px;margin-top:8px;padding-top:8px}.low-stock-text{color:#c33;font-weight:600}.quantity-controls{align-items:center;display:flex;gap:8px}.quantity-controls button{background:#1b5e4c;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:18px;height:30px;line-height:1;transition:all .3s;width:30px}.quantity-controls button:hover:not(:disabled){background:#0d3d30}.quantity-controls button:disabled{background:#ccc;cursor:not-allowed;opacity:.5}.quantity-controls input{text-align:center;width:60px}.discount-input,.quantity-controls input{border:1px solid #ddd;border-radius:5px;padding:5px}.discount-input{text-align:right;width:80px}.sales-right{overflow-y:auto}.checkout-section,.summary-section{background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000001a;padding:20px}.checkout-section h3,.summary-section h3{color:#1b5e4c;margin:0 0 20px}.summary-row{border-bottom:1px solid #f0f0f0;display:flex;font-size:15px;justify-content:space-between;padding:12px 0}.summary-row.total{border-bottom:none;border-top:2px solid #0d3d30;font-size:18px;margin-top:10px;padding-top:15px}.summary-row .negative{color:#c33}.total-amount{color:#1b5e4c;font-size:24px}.actions-section{display:flex;flex-direction:column;gap:10px}.btn-secondary{font-size:16px;font-weight:600;padding:12px}.btn-secondary:hover:not(:disabled){background:#eae6dc}.btn-secondary:disabled{opacity:.5}.btn-checkout{background:linear-gradient(135deg,#1b5e4c,#0d3d30);border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:18px;font-weight:600;padding:15px;transition:transform .2s}.btn-checkout:hover:not(:disabled){transform:translateY(-2px)}.btn-checkout:disabled{background:#ccc;cursor:not-allowed;opacity:.5;transform:none}.form-group{margin-bottom:15px}.form-group label{color:#0d3d30;display:block;font-size:14px;font-weight:500;margin-bottom:5px}.form-group input,.form-group select{border:1px solid #ddd;border-radius:5px;box-sizing:border-box;font-size:14px;padding:10px;width:100%}.form-group input:focus,.form-group select:focus{border-color:#1b5e4c;outline:none}.change-display{align-items:center;background:#eaf3ee;border:1px solid #c7e3d3;border-radius:5px;display:flex;justify-content:space-between;margin:15px 0;padding:15px}.change-amount{color:#1b5e4c;font-size:24px;font-weight:700}.checkout-actions{display:flex;gap:10px;margin-top:20px}.btn-complete{background:#1b5e4c;border:none;border-radius:5px;color:#fff;cursor:pointer;flex:1 1;font-size:16px;font-weight:600;padding:15px;transition:background .3s}.btn-complete:hover:not(:disabled){background:#0d3d30}.btn-complete:disabled{background:#ccc;cursor:not-allowed;opacity:.5}.error-message{background-color:#fee;border:1px solid #fcc;border-radius:5px;color:#c33;font-size:14px;margin-bottom:15px;padding:10px}@media (max-width:1024px){.sales-content{grid-template-columns:1fr}.sales-right{bottom:0;position:-webkit-sticky;position:sticky}}.sales-history-container{background:#f5f1e8;min-height:100vh;padding:20px}.history-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.history-header h2{color:#1b5e4c;margin:0}.filters-section{align-items:flex-end;background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000001a;display:flex;flex-wrap:wrap;gap:15px;margin-bottom:20px;padding:20px}.filter-group{flex:1 1;min-width:200px}.filter-group label{display:block;margin-bottom:5px}.filter-group input,.filter-group select{border:1px solid #1b5e4c40;border-radius:5px;box-sizing:border-box;font-size:14px;padding:10px;width:100%}.btn-clear-filters{background:#dc2626;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:14px;padding:10px 20px;transition:background .3s}.btn-clear-filters:hover{background:#b91c1c}.sales-table{background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.sales-table table{border-collapse:collapse;width:100%}.sales-table thead{background:linear-gradient(135deg,#1b5e4c,#0d3d30);color:#fff}.sales-table th{font-size:14px;font-weight:600;padding:15px;text-align:left}.sales-table td{border-bottom:1px solid #eee;font-size:14px;padding:15px}.sales-table tbody tr:hover{background:#f5f1e8}.payment-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:600;padding:4px 12px;text-transform:capitalize}.payment-badge.payment-cash{background:#e6f4ea;color:#1b5e4c}.payment-badge.payment-card{background:#e8f1ee;color:#0d3d30}.payment-badge.payment-mobile{background:#fff8e1;color:#856404}.status-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:600;padding:4px 12px;text-transform:capitalize}.status-badge.status-completed{background:#e6f4ea;color:#1b5e4c}.status-badge.status-pending{background:#fff8e1;color:#856404}.status-badge.status-cancelled{background:#fdecec;color:#b91c1c}.btn-view{background:#1b5e4c;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:13px;padding:6px 16px;transition:background .3s}.btn-view:hover{background:#0d3d30}.btn-pdf{background:#dc2626;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:13px;padding:6px 12px;transition:all .3s}.btn-pdf:hover{background:#b91c1c;transform:scale(1.05)}.no-sales{color:#999;padding:60px 20px;text-align:center}.no-sales p{font-size:18px;margin:0}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal{max-width:800px}.modal-large{max-width:900px}.modal-header{align-items:center;border-bottom:2px solid #eee;display:flex;justify-content:space-between;margin-bottom:20px;padding-bottom:15px}.close-btn{background:none;border:none;color:#999;cursor:pointer;font-size:30px;line-height:1;padding:0}.close-btn:hover{color:#1b5e4c}.details-row,.sale-details{margin-bottom:20px}.details-row{grid-gap:15px;background:#f5f1e8;border-radius:8px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));padding:15px}.detail-item{display:flex;flex-direction:column;gap:5px}.detail-item strong{color:#0d3d30;font-size:12px;text-transform:uppercase}.detail-item span{color:#1b5e4c;font-size:15px}.sale-details h4{color:#1b5e4c;margin:20px 0 10px}.items-table{border-collapse:collapse;margin-bottom:20px;width:100%}.items-table thead{background:#f5f1e8}.items-table td,.items-table th{border-bottom:1px solid #eee;font-size:14px;padding:12px;text-align:left}.items-table th{color:#0d3d30;font-weight:600}.totals-section{background:#f5f1e8;border-radius:8px;margin-top:20px;padding:20px}.total-row{display:flex;font-size:15px;justify-content:space-between;padding:8px 0}.total-row.grand-total{border-top:2px solid #1b5e4c;color:#1b5e4c;font-size:18px;margin-top:10px;padding-top:15px}.total-row .negative{color:#dc2626}.notes-section{background:#fff8e1;border-left:4px solid #facc15;border-radius:5px;margin-top:20px;padding:15px}.notes-section strong{color:#856404;display:block;margin-bottom:8px}.notes-section p{color:#0d3d30;margin:0}.modal-footer{border-top:1px solid #eee;display:flex;gap:10px;justify-content:flex-end;margin-top:20px;padding-top:20px}.btn-primary{display:inline-block;text-decoration:none}.btn-primary:disabled{cursor:not-allowed;opacity:.6;transform:none}.btn-secondary{border-radius:5px;color:#0d3d30;cursor:pointer;font-size:14px;padding:10px 20px;transition:background .3s}.btn-secondary:hover{background:#e6e3d8}.btn-secondary:disabled{cursor:not-allowed;opacity:.6}@media (max-width:768px){.filters-section{flex-direction:column}.filter-group{width:100%}.sales-table{overflow-x:auto}.sales-table table{min-width:800px}.details-row{grid-template-columns:1fr}.modal{padding:20px;width:95%}.modal-footer{flex-direction:column-reverse}.btn-primary,.btn-secondary{width:100%}}@media print{.sales-history-container{background:#fff}.btn-pdf,.btn-primary,.btn-secondary,.btn-view,.filters-section,.modal-overlay{display:none!important}}.po-form-container{max-height:90vh;max-width:100%;overflow-y:auto}.po-form-header{align-items:center;border-bottom:2px solid #eee;display:flex;justify-content:space-between;margin-bottom:20px;padding-bottom:15px}.po-form-header h3{color:#1b5e4c;font-size:24px;margin:0}.po-close-btn{background:none;border:none;color:#999;cursor:pointer;font-size:32px;line-height:1;padding:0;transition:color .3s}.po-close-btn:hover{color:#333}.po-close-btn:disabled{cursor:not-allowed;opacity:.5}.po-error-message{background-color:#fee;border:1px solid #fcc;border-radius:5px;color:#c33;font-size:14px;margin-bottom:20px;padding:12px 15px}.po-form-section{background:#f5f1e8;border-radius:8px;margin-bottom:25px;padding:20px}.po-section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:15px}.po-section-header h4{color:#1b5e4c;font-size:18px;margin:0}.po-form-row{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:15px}.po-form-group input,.po-product-search{min-width:0}.po-form-group{display:flex;flex-direction:column}.po-form-group label{color:#0d3d30;font-size:14px;font-weight:500;margin-bottom:5px}.po-form-group input,.po-form-group select,.po-form-group textarea{border:1px solid #1b5e4c40;border-radius:5px;flex-shrink:0;font-size:14px;min-width:120px;padding:10px 12px;transition:border-color .3s}.po-form-group input:focus,.po-form-group select:focus,.po-form-group textarea:focus{border-color:#1b5e4c;outline:none}.po-form-group input:disabled,.po-form-group select:disabled,.po-form-group textarea:disabled{background-color:#f5f5f5;cursor:not-allowed}.po-form-group textarea{font-family:inherit;resize:vertical}.po-items-container{display:flex;flex-direction:column;gap:15px}.po-item-fields{grid-gap:12px;align-items:end;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));width:100%}.po-item-fields input,.po-item-fields select{flex-shrink:0;min-width:120px}.po-item-row{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:15px}.po-item-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.po-item-number{color:#1b5e4c;font-size:14px;font-weight:600}.po-btn-remove-item{background:#dc2626;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:20px;height:28px;line-height:1;transition:background .3s;width:28px}.po-btn-remove-item:hover:not(:disabled){background:#b91c1c}.po-btn-remove-item:disabled{cursor:not-allowed;opacity:.5}.po-product-search{min-width:0;overflow:visible;position:relative}.po-selected-product{align-items:center;background:#eaf3ee;border:1px solid #1b5e4c;border-radius:5px;display:flex;justify-content:space-between;padding:10px 12px}.po-selected-product-info{display:flex;flex-direction:column;gap:4px}.po-selected-product-info strong{color:#1b5e4c;font-size:14px}.po-product-sku{color:#0d3d30;font-size:12px}.po-product-type-badge{background:#fff8e1;border-radius:10px;color:#8a6d1a;display:inline-block;font-size:11px;font-weight:600;margin-top:4px;padding:2px 8px;text-transform:capitalize}.po-btn-clear-product{background:#fff;border:1px solid #1b5e4c;border-radius:4px;color:#1b5e4c;cursor:pointer;font-size:12px;font-weight:500;padding:6px 12px;transition:all .3s}.po-btn-clear-product:hover:not(:disabled){background:#1b5e4c;color:#fff}.po-btn-clear-product:disabled{cursor:not-allowed;opacity:.5}.po-product-dropdown{background:#fff;border:1px solid #e0e0e0;border-radius:5px;box-shadow:0 4px 12px #00000026;box-sizing:border-box;left:0;margin-top:4px;max-height:300px;overflow-y:auto;position:absolute;right:0;top:100%;width:100%;z-index:10}.po-product-option{align-items:center;border-bottom:1px solid #f5f5f5;cursor:pointer;display:flex;justify-content:space-between;padding:12px;transition:background .2s}.po-product-option:hover{background:#f5f1e8}.po-product-option:last-child{border-bottom:none}.po-product-price{color:#0d3d30;font-size:14px;font-weight:600}.po-subtotal-display{background:#eaf3ee;border:1px solid #c7e3d3;border-radius:5px;color:#1b5e4c;font-weight:600;padding:10px 12px;text-align:right}.po-btn-add-item{background:#1b5e4c;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:background .3s}.po-btn-add-item:hover:not(:disabled){background:#0d3d30}.po-btn-add-item:disabled{cursor:not-allowed;opacity:.5}.po-totals-section{background:#fff;border:2px solid #1b5e4c;border-radius:8px;margin-bottom:20px;padding:20px}.po-totals-row{color:#333;display:flex;font-size:15px;justify-content:space-between;padding:8px 0}.po-totals-grand{border-top:2px solid #1b5e4c;color:#1b5e4c;font-size:18px;margin-top:8px;padding-top:12px}.po-form-footer{border-top:1px solid #eee;display:flex;gap:12px;justify-content:flex-end;padding-top:20px}.po-btn-cancel{background:#f5f1e8;border:1px solid #ddd;border-radius:5px;color:#0d3d30;cursor:pointer;font-size:15px;font-weight:500;padding:12px 24px;transition:background .3s}.po-btn-cancel:hover:not(:disabled){background:#e6e3d8}.po-btn-submit{background:linear-gradient(135deg,#1b5e4c,#0d3d30);border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:15px;font-weight:600;padding:12px 24px;transition:transform .2s}.po-btn-submit:hover:not(:disabled){transform:translateY(-2px)}.po-btn-submit:disabled{cursor:not-allowed;opacity:.7}@media (max-width:1024px){.po-item-fields{grid-template-columns:1fr}.po-subtotal-display{text-align:left}}@media (max-width:768px){.po-form-header h3{font-size:20px}.po-form-row{grid-template-columns:1fr}.po-section-header{align-items:flex-start;flex-direction:column;gap:10px}.po-btn-add-item{width:100%}.po-form-footer{flex-direction:column-reverse}.po-btn-cancel,.po-btn-submit{width:100%}}@media (max-width:1300px){.po-item-fields{grid-template-columns:1.5fr 1fr 1fr 1fr}}.inventory-container{background:#f5f1e8;min-height:100vh;padding:20px}.inventory-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.inventory-header h2{color:#1b5e4c;margin:0}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:30px}.stat-card{background:#fff;box-shadow:0 2px 8px #1b5e4c1a;padding:20px;text-align:center}.stat-card h3{color:#1b5e4c;margin:0 0 8px}.stat-card.alert h3{color:#d8a437}.stat-card.danger h3{color:#b83a3a}.stat-card.warning h3{color:#d8a437}.stat-card.info h3{color:#0d3d30}.stat-card p{color:#355c4f}.tabs{box-shadow:0 2px 8px #1b5e4c1a}.tabs button{color:#355c4f;flex:1 1}.tab-content{border-radius:0 0 10px 10px;box-shadow:0 2px 8px #1b5e4c1a}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.section-header h3{color:#1b5e4c;margin:0}.alerts-section{margin-bottom:30px}.alerts-section h3{color:#b83a3a;margin-bottom:15px}.alerts-list{display:flex;flex-direction:column;gap:10px}.alert-item{align-items:center;background:#fff8e1;border-left:4px solid #d8a437;border-radius:5px;display:flex;justify-content:space-between;padding:15px}.alert-item strong{color:#1b5e4c;display:block;margin-bottom:4px}.alert-item .sku{color:#355c4f;font-size:12px}.alert-details{align-items:center;display:flex;gap:15px}.alert-details .stock-level{color:#b83a3a;font-weight:600}.alert-details .alert-level{color:#355c4f;font-size:13px}.data-table{border-collapse:collapse;margin-top:15px;width:100%}.data-table thead{background:#f5f1e8}.data-table td,.data-table th{border-bottom:1px solid #eee;font-size:14px;padding:12px;text-align:left}.data-table th{color:#355c4f;font-weight:600}.data-table tbody tr:hover{background:#f5f1e8}.data-table .positive{color:#1b5e4c;font-weight:600}.data-table .negative{color:#b83a3a;font-weight:600}.badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:600;padding:4px 12px}.badge-success{background:#d9f2e4;color:#0d3d30}.badge-warning{background:#fff8e1;color:#8a6d1a}.badge-danger{background:#f8d7da;color:#721c24}.badge-info{background:#d1ecf1;color:#0d3d30}.badge-draft{color:#1b5e4c}.badge-pending{background:#fff8e1;color:#8a6d1a}.badge-received{background:#d9f2e4;color:#0d3d30}.badge-adjustment,.badge-damage,.badge-purchase,.badge-return,.badge-sale{background:#d1ecf1;color:#0d3d30}.btn-small{background:#1b5e4c;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:13px;padding:6px 12px;transition:background .3s}.btn-small:hover{background:#0d3d30}.btn-small.btn-success{background:#1b5e4c}.btn-small.btn-success:hover{background:#0d3d30}.btn-primary{background:linear-gradient(135deg,#1b5e4c,#0d3d30);border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:10px 20px;transition:transform .2s}.btn-primary:hover{transform:translateY(-2px)}.supplier-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:20px}.supplier-card h4{color:#1b5e4c;font-size:18px;margin:0 0 12px}.supplier-card p{color:#355c4f;font-size:14px;margin:6px 0}.modal{background:#fff;border-radius:10px;max-height:90vh;max-width:600px;overflow-y:auto;padding:30px;width:90%}.modal-header h3{color:#1b5e4c;margin:0}.close-btn{color:#355c4f}.close-btn:hover{color:#0d3d30}.form-group label{color:#1b5e4c}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#1b5e4c;outline:none}.btn-secondary{background:#f5f1e8;border:1px solid #ddd;color:#1b5e4c}.btn-secondary:hover{background:#e6e2d9}.error-message{background-color:#fff2f2;border:1px solid #f8d7da;color:#b83a3a}@media (max-width:768px){.stats-grid{grid-template-columns:repeat(2,1fr)}.tabs{flex-wrap:wrap}.suppliers-grid{grid-template-columns:1fr}}.btn-small.btn-success{background:#28a745;color:#fff}.btn-small.btn-success:hover{background:#218838}.btn-small.btn-danger{background:#dc2626;color:#fff}.btn-small.btn-danger:hover{background:#b91c1c}.badge-draft{background:#e2e3e5;color:#383d41}.badge-pending{background:#fff3cd;color:#856404}.badge-received{background:#d4edda;color:#155724}.badge-cancelled{background:#f8d7da;color:#721c24}.data-table td>div{align-items:center;display:flex;gap:8px;justify-content:flex-start}@media (max-width:768px){.data-table td>div{flex-direction:column;width:100%}.btn-small{text-align:center;width:100%}}.reports-container{background:#f5f1e8;min-height:100vh;padding:20px}.reports-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.reports-header h2{color:#1b5e4c;margin:0}.btn-back{background:#1b5e4c;border-radius:5px;color:#fff;font-size:14px;padding:10px 20px;text-decoration:none;transition:background .3s}.btn-back:hover{background:#0d3d30}.tabs{background:#fff;border-radius:10px 10px 0 0;box-shadow:0 2px 8px #0000001a;display:flex;flex-wrap:wrap;gap:5px;padding:10px}.tabs button{background:#0000;border:none;border-radius:5px;color:#0d3d30;cursor:pointer;font-size:15px;font-weight:500;padding:12px 20px;transition:all .3s}.tabs button:hover{background:#f5f1e8}.tabs button.active{background:linear-gradient(135deg,#1b5e4c,#0d3d30);color:#fff}.date-filter{align-items:flex-end;background:#fff;border-radius:0 0 10px 10px;box-shadow:0 2px 8px #0000001a;display:flex;flex-wrap:wrap;gap:15px;margin-bottom:20px;padding:15px}.filter-group{display:flex;flex-direction:column;gap:5px}.filter-group label{color:#0d3d30;font-size:14px;font-weight:500}.filter-group input{border:1px solid #1b5e4c;border-radius:5px;font-size:14px;padding:8px 12px}.btn-export{background:#1b5e4c;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px;transition:background .3s}.btn-export:hover{background:#0d3d30}.tab-content{background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000001a;padding:30px}.dashboard-tab{display:flex;flex-direction:column;gap:30px}.stats-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.stat-card{background:linear-gradient(135deg,#1b5e4c,#0d3d30);border-radius:10px;box-shadow:0 4px 12px #00000026;color:#fff;padding:25px}.stat-card h3{font-size:32px;margin:0 0 10px}.stat-card p{font-size:14px;margin:0;opacity:.9}.stat-card .amount{display:block;font-size:18px;font-weight:600;margin-top:10px}.chart-container{background:#fff;border:1px solid #1b5e4c20;border-radius:10px;margin:20px 0;padding:20px}.chart-container h3{color:#1b5e4c;margin:0 0 20px}.stats-summary{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:30px}.summary-card{background:linear-gradient(135deg,#1b5e4c,#0d3d30);border-radius:8px;color:#fff;padding:20px;text-align:center}.summary-card h4{font-size:14px;margin:0 0 10px;opacity:.9}.summary-card .big-number{font-size:28px;font-weight:700;margin:0}.summary-card .big-number.warning{color:#facc15}.summary-card .big-number.danger{color:#dc2626}.report-table{border-collapse:collapse;margin-top:15px;width:100%}.report-table thead{background:#f5f1e8}.report-table td,.report-table th{border-bottom:1px solid #eee;font-size:14px;padding:12px;text-align:left}.report-table th{color:#0d3d30;font-weight:600}.report-table tbody tr:hover{background:#f5f1e8}.report-table .positive{color:#1b5e4c;font-weight:600}.report-table .negative{color:#dc2626;font-weight:600}.cashiers-tab,.inventory-tab,.products-tab,.sales-tab{display:flex;flex-direction:column;gap:30px}h3{margin:0}.loading,h3{color:#1b5e4c}.loading{font-size:18px;padding:60px 20px;text-align:center}@media (max-width:768px){.stats-grid{grid-template-columns:repeat(2,1fr)}.date-filter{align-items:stretch;flex-direction:column}.filter-group{width:100%}.report-table{font-size:12px}.report-table td,.report-table th{padding:8px}}
/*# sourceMappingURL=main.f38107c4.css.map*/