.layout{display:flex;flex-direction:column;height:100vh}.topbar{background:#2c3e50;color:#fff;padding:1rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 4px #0000001a}.topbar-left,.topbar-right{display:flex;align-items:center;gap:1rem}.menu-toggle{background:transparent;color:#fff;font-size:1.5rem;padding:.25rem .5rem;display:none}.role-badge{background:#3498db;padding:.25rem .5rem;border-radius:4px;font-size:.8rem}.layout-body{display:flex;flex:1;overflow:hidden}.sidebar{width:250px;background:#fff;border-right:1px solid #ddd;overflow-y:auto;transition:transform .3s}.sidebar nav{display:flex;flex-direction:column;padding:1rem 0}.sidebar nav a{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.5rem;color:#333;text-decoration:none;transition:background .2s}.sidebar nav a:hover{background:#f5f5f5}.sidebar nav a.active{background:#e3f2fd;color:#1976d2;font-weight:500}.sidebar nav a .icon{font-size:1.2rem}.main-content{flex:1;padding:2rem;overflow-y:auto;background:#f5f5f5}@media (max-width: 768px){.menu-toggle{display:block}.sidebar{position:fixed;top:60px;left:0;height:calc(100vh - 60px);z-index:1000;transform:translate(-100%)}.sidebar.open{transform:translate(0)}}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.login-card{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 4px 6px #0000001a;width:100%;max-width:400px}.login-card h1{text-align:center;margin-bottom:.5rem;color:#2c3e50}.login-card p{text-align:center;color:#666;margin-bottom:2rem}.form-group{margin-bottom:1rem}.error{background:#fee;color:#c33;padding:.75rem;border-radius:4px;margin-bottom:1rem}.btn-primary{width:100%;background:#667eea;color:#fff;padding:.75rem;font-size:1rem;font-weight:500}.btn-primary:hover{background:#5568d3}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.login-type-toggle{display:flex;gap:.5rem;margin-bottom:1rem}.login-type-toggle button{flex:1;padding:.5rem;background:#f0f0f0;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:.9rem}.login-type-toggle button.active{background:#667eea;color:#fff;border-color:#667eea}.stock-forecast-card{border:2px solid;border-radius:8px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.forecast-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.forecast-header h3{margin:0;color:#2c3e50;font-size:1.2rem}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;color:#fff;font-size:.85rem;font-weight:600;text-transform:uppercase}.forecast-content{display:flex;flex-direction:column;gap:.75rem}.forecast-row{display:flex;justify-content:space-between;align-items:center}.forecast-row.highlight{padding-top:.5rem;border-top:1px solid rgba(0,0,0,.1);margin-top:.5rem}.forecast-row .label{color:#666;font-weight:500}.forecast-row .value{font-weight:600;color:#2c3e50;font-size:1.1rem}.recommendation{margin-top:1rem;padding:.75rem;background:#ffffffb3;border-radius:4px;font-weight:500;color:#2c3e50}.no-data{margin-top:1rem;padding:1rem;background:#ffffffb3;border-radius:4px;color:#666;font-style:italic;text-align:center}.snapshot{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.snapshot-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.snapshot-label{color:#666;font-size:.9rem;margin-bottom:.5rem}.snapshot-value{font-size:1.8rem;font-weight:700;color:#2c3e50}.alerts-panel{background:#fff;padding:1.5rem;border-radius:8px;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.alerts-panel h2{margin-bottom:1rem}.alert-item{padding:1rem;margin-bottom:.5rem;background:#f9f9f9;border-radius:4px}.alert-message{font-weight:500;margin-bottom:.25rem}.alert-type{font-size:.8rem;color:#666}.shops-table{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.shops-table h2{margin-bottom:1rem}.shops-table table{width:100%;border-collapse:collapse}.shops-table th{background:#f5f5f5;font-weight:600}.shops-table table tbody tr:hover{background:#f8f9fa}.shops-table table tbody tr.zero-sales{background:#fffbf0;border-left:3px solid #ffc107}.shops-table .empty-state{padding:2rem;text-align:center;color:#666;background:#f8f9fa;border-radius:8px;margin-top:1rem}.shops-table .empty-state p{margin:0 0 .5rem;font-weight:500}.shops-table .empty-state small{color:#999}.attendance-page{max-width:800px}.controls{display:flex;gap:1rem}.controls select,.controls input{padding:.5rem;border:1px solid #ddd;border-radius:4px}.attendance-list{background:#fff;padding:1.5rem;border-radius:8px;margin-bottom:1rem;box-shadow:0 2px 4px #0000001a}.attendance-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #eee}.attendance-item:last-child{border-bottom:none}.cashier-name{font-weight:500}.status-buttons{display:flex;gap:.5rem}.status-buttons button{padding:.5rem 1rem;border-radius:4px;font-size:.85rem}.status-buttons button.active{font-weight:600}.performance-page{max-width:1000px}.performance-table{background:#fff;padding:1.5rem;border-radius:8px;margin-bottom:1rem;box-shadow:0 2px 4px #0000001a;overflow-x:auto}.performance-table table{width:100%;border-collapse:collapse}.performance-table th,.performance-table td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.performance-table th{background:#f5f5f5;font-weight:600}.performance-table input{width:100%;padding:.5rem;border:1px solid #ddd;border-radius:4px}.total-row{background:#f9f9f9;font-weight:600}.total-row td{padding-top:1rem;border-top:2px solid #ddd}.empty-state h2{margin-bottom:.5rem;color:#2c3e50}.daily-operations-page{padding:2rem;max-width:1400px}.page-header h1{margin:0;color:#2c3e50}.controls select,.controls input[type=date]{padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.operations-table-container{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow-x:auto;margin-bottom:2rem}.operations-table{width:100%;border-collapse:collapse}.operations-table th{background:#f8f9fa;padding:1rem;text-align:left;font-weight:600;color:#2c3e50;border-bottom:2px solid #ddd;position:sticky;top:0}.operations-table td{padding:1rem;border-bottom:1px solid #eee}.operations-table tbody tr:hover{background:#f8f9fa}.operations-table tbody tr.status-warning{background:#fffbf0;border-left:3px solid #ffc107}.operations-table tbody tr.status-critical{background:#fff5f5;border-left:3px solid #dc3545}.operations-table tbody tr.status-ok{background:#f0fff4;border-left:3px solid #28a745}.attendance-controls{display:flex;gap:.5rem;flex-wrap:wrap}.status-btn{padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .2s}.status-btn:hover{opacity:.8}.stakes-input,.tickets-input{width:120px;padding:.5rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;text-align:right}.stakes-input:focus,.tickets-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.system-status{display:flex;align-items:center;gap:.5rem;font-size:.9rem}.status-icon{font-size:1.2rem}.status-text{font-weight:500}.system-status.status-ok{color:#28a745}.system-status.status-warning{color:#ffc107}.system-status.status-critical{color:#dc3545}.system-status.status-info{color:#6c757d}.totals-row{background:#f8f9fa;font-weight:600;border-top:2px solid #ddd}.totals-row td{padding:1rem;font-size:1.1rem}.save-section{text-align:center;padding:2rem;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a}.btn-large{padding:1rem 2rem;font-size:1.1rem;font-weight:600}.save-help-text{margin-top:1rem;color:#666;font-size:.9rem}.loading-state{text-align:center;padding:3rem;color:#666}.empty-state h2{margin:0 0 1rem;color:#2c3e50}.empty-state p{color:#666;margin-bottom:2rem}.btn-primary{background:#007bff;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-weight:500;transition:background .2s}.expenses-page{max-width:1200px}.controls{display:flex;gap:1rem;margin-bottom:2rem;flex-wrap:wrap}.add-expense-form{background:#fff;padding:1.5rem;border-radius:8px;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.add-expense-form h2{margin-bottom:1rem}.totals-summary{background:#fff;padding:1.5rem;border-radius:8px;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.total-item{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #eee}.total-item:last-child{border-bottom:none}.expenses-list{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.expenses-list table{width:100%;border-collapse:collapse}.expenses-list th,.expenses-list td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.expenses-list th{background:#f5f5f5;font-weight:600}.inventory-page{max-width:1200px}.tabs{display:flex;gap:.5rem;margin-bottom:2rem}.tabs button{padding:.75rem 1.5rem;background:#fff;border:1px solid #ddd;border-radius:4px 4px 0 0}.tabs button.active{background:#007bff;color:#fff;border-color:#007bff}.consumables-section,.assets-section{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.adjust-form,.asset-form{margin-bottom:2rem;padding:1.5rem;background:#f9f9f9;border-radius:8px}.consumable-item{padding:1rem;border-bottom:1px solid #eee}.stock-info{display:flex;gap:1rem;margin-top:.5rem;color:#666}.low-stock{color:#dc3545;font-weight:600}.assets-list table{width:100%;border-collapse:collapse}.assets-list th,.assets-list td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.assets-list th{background:#f5f5f5;font-weight:600}.shop-requests-page{max-width:1400px}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.filters{display:flex;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.filter-select{padding:.5rem 1rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;min-width:150px}.create-request-form{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem}.create-request-form h2{margin-top:0;margin-bottom:1.5rem;color:#2c3e50}.create-request-form .form-group{margin-bottom:1rem}.create-request-form label{display:block;margin-bottom:.5rem;color:#333;font-weight:500}.create-request-form input,.create-request-form select,.create-request-form textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.create-request-form textarea{resize:vertical}.requests-table-container{overflow-x:auto;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a}.requests-table{width:100%;border-collapse:collapse}.requests-table th,.requests-table td{padding:.75rem;text-align:left;border-bottom:1px solid #eee}.requests-table th{background:#f8f9fa;font-weight:600;color:#2c3e50}.requests-table tbody tr:hover{background:#f8f9fa}.requests-table tbody tr.pending-row{background:#fffbf0;border-left:3px solid #ffc107}.requests-table tbody tr.pending-row:hover{background:#fff8e1}.status-badge{padding:.25rem .75rem;border-radius:12px;color:#fff;font-size:.85rem;font-weight:500;display:inline-block}.action-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.btn-small{padding:.35rem .75rem;font-size:.85rem}.btn-success{background:#28a745;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer}.btn-primary{background:#007bff;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-weight:500}.btn-primary:hover{background:#0056b3}.loading-state{text-align:center;padding:2rem;color:#666}.inline-input{padding:.4rem .5rem;border:1px solid #ddd;border-radius:4px;font-size:.9rem}.inline-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.inline-approval-actions{display:flex;flex-direction:column;gap:.5rem;min-width:150px}.stock-indicator{font-weight:500;padding:.25rem .5rem;background:#f8f9fa;border-radius:4px;display:inline-block}.item-type-badge{display:inline-block;padding:.2rem .6rem;border-radius:12px;background:#e9ecef;color:#495057;font-size:.8rem;font-weight:500}@media (max-width: 768px){.page-header{flex-direction:column;gap:1rem;align-items:stretch}.filters{flex-direction:column}.filter-select{width:100%}.requests-table{font-size:.85rem}.requests-table th,.requests-table td{padding:.5rem}.action-buttons{flex-direction:column}.modal-content{width:95%;padding:1.5rem}}.handover-page{max-width:1200px}.initiate-section{background:#fff;padding:1.5rem;border-radius:8px;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.form-row{display:flex;gap:1rem;align-items:flex-end}.form-row select{flex:1}.handover-form{background:#fff;padding:1.5rem;border-radius:8px;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.asset-item{display:flex;justify-content:space-between;padding:1rem;border-bottom:1px solid #eee;align-items:center}.asset-controls{display:flex;gap:1rem;align-items:center}.asset-controls label{font-size:.85rem;color:#666}.asset-controls input,.asset-controls select{width:120px}.handover-actions{margin-top:1rem}.handovers-history{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.handovers-history table{width:100%;border-collapse:collapse}.handovers-history th,.handovers-history td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.handovers-history th{background:#f5f5f5;font-weight:600}.status-badge.completed{background:#d4edda;color:#155724}.status-badge.disputed{background:#f8d7da;color:#721c24}.handovers-history table tbody tr:hover{background:#f8f9fa}.handovers-history table tbody tr.pending-handover{background:#fffbf0;border-left:3px solid #ffc107}.handover-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.handover-info{background:#f8f9fa;padding:1rem;border-radius:4px;margin-bottom:1.5rem}.handover-info p{margin:.5rem 0}.asset-info{flex:1}.asset-details{display:flex;gap:1rem;margin-top:.5rem;font-size:.9rem;color:#666}.asset-summary{display:flex;gap:1rem;align-items:center}.condition-badge{padding:.25rem .75rem;border-radius:12px;font-size:.85rem;font-weight:500}.condition-badge.good{background:#d4edda;color:#155724}.condition-badge.fair{background:#fff3cd;color:#856404}.condition-badge.damaged{background:#f8d7da;color:#721c24}.condition-badge.lost{background:#f5c6cb;color:#721c24}.control-group{display:flex;flex-direction:column;gap:.25rem}.btn-success{background:#28a745;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-weight:500}.staff-page{max-width:1200px}.staff-form{background:#fff;padding:1.5rem;border-radius:8px;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.permissions-list{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem}.permission-checkbox{display:flex;align-items:center;gap:.5rem;cursor:pointer}.permission-checkbox input[type=checkbox]{width:auto}.staff-list{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.staff-list table{width:100%;border-collapse:collapse}.staff-list th,.staff-list td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.staff-list th{background:#f5f5f5;font-weight:600}.permissions-badge{display:flex;flex-wrap:wrap;gap:.25rem}.badge{background:#e3f2fd;color:#1976d2;padding:.25rem .5rem;border-radius:4px;font-size:.75rem}.staff-actions{display:flex;gap:.5rem}.btn-small{padding:.375rem .75rem;font-size:.875rem}.btn-danger:hover:not(:disabled){background:#c82333}.btn-danger:disabled{background:#ccc;cursor:not-allowed;opacity:.6}.btn-secondary{background:#6c757d;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer}.shops-page{max-width:1400px}.header-actions{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.view-toggle{display:flex;gap:.25rem;border:1px solid #ddd;border-radius:4px;overflow:hidden}.view-toggle button{padding:.5rem 1rem;border:none;background:#fff;cursor:pointer;font-size:.9rem}.view-toggle button.active{background:#007bff;color:#fff}.view-toggle button:hover{background:#f0f0f0}.view-toggle button.active:hover{background:#0056b3}.search-input{padding:.5rem 1rem;border:1px solid #ddd;border-radius:4px;min-width:200px}.empty-state{text-align:center;padding:4rem 2rem;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a}.empty-icon{font-size:4rem;margin-bottom:1rem}.shops-table-container{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow-x:auto}.shops-table{width:100%;border-collapse:collapse}.shops-table th,.shops-table td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.shops-table th{background:#f5f5f5;font-weight:600;position:sticky;top:0}.shops-table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.shops-table th.sortable:hover{background:#e9ecef}.shops-table tbody tr:hover{background:#f8f9fa}.status-select{padding:.25rem .5rem;border:1px solid #ddd;border-radius:4px;font-size:.9rem}.action-buttons{display:flex;gap:.5rem}.alerts-badge{display:inline-block;padding:.25rem .5rem;border-radius:4px;font-weight:500;font-size:.9rem}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:1.5rem;padding:1rem;background:#f8f9fa;border-radius:4px}.pagination-info{color:#666;font-size:.9rem}.pagination-btn{padding:.5rem 1rem;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;font-size:.9rem}.pagination-btn:hover:not(:disabled){background:#e9ecef}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.modal-content{background:#fff;padding:2rem;border-radius:8px;max-width:500px;width:90%}.modal-content h2{margin-bottom:1rem;color:#dc3545}.delete-warning-list{margin:1rem 0;padding-left:1.5rem;color:#666}.delete-warning-list li{margin:.5rem 0}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem}.error-message{background:#f8d7da;color:#721c24;padding:.75rem;border-radius:4px;margin:1rem 0}.shops-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin-bottom:2rem}.shop-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;transition:transform .2s,box-shadow .2s}.shop-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.shop-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #eee}.shop-header h3{margin:0;color:#2c3e50}.status-badge.active{background:#d4edda;color:#155724}.status-badge.inactive{background:#f8d7da;color:#721c24}.shop-details{margin-bottom:1rem}.detail-item{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #f5f5f5}.detail-item:last-child{border-bottom:none}.detail-item .label{color:#666;font-size:.9rem}.detail-item .value{font-weight:500;color:#2c3e50}.shop-actions{display:flex;gap:.5rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #eee;flex-direction:column}.shop-actions .status-select{flex:1;padding:.5rem;border:1px solid #ddd;border-radius:4px}.btn-secondary{background:#6c757d;color:#fff;padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer;font-size:.9rem}@media (max-width: 768px){.shops-table{font-size:.85rem}.action-buttons{flex-direction:column}.header-actions{flex-direction:column;width:100%}.view-toggle{width:100%;justify-content:stretch}.view-toggle button{flex:1}.shops-grid{grid-template-columns:1fr}}.create-shop-page{max-width:800px}.create-shop-form{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.form-group input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.form-group input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.form-hint{display:block;margin-top:.25rem;color:#666;font-size:.85rem}.cashier-preview{background:#f8f9fa;padding:1.5rem;border-radius:8px;margin:2rem 0;border:2px dashed #007bff}.cashier-preview h3{margin:0 0 1rem;color:#2c3e50;font-size:1.1rem}.cashier-list{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;margin-bottom:1rem}.cashier-preview-item{display:flex;align-items:center;gap:.5rem;padding:.75rem;background:#fff;border-radius:4px;border:1px solid #ddd}.cashier-icon{font-size:1.2rem}.cashier-username{font-family:Courier New,monospace;font-weight:600;color:#007bff}.preview-note{display:block;color:#666;font-size:.85rem;font-style:italic}.credentials-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000}.credentials-content{background:#fff;padding:2rem;border-radius:8px;max-width:600px;max-height:80vh;overflow-y:auto;box-shadow:0 4px 6px #0000004d}.credentials-content h2{margin-bottom:1rem;color:#2c3e50}.credentials-warning{background:#fff3cd;color:#856404;padding:1rem;border-radius:4px;margin-bottom:1.5rem;font-weight:500}.credentials-list{margin-bottom:1.5rem}.credential-item{background:#f8f9fa;padding:1rem;border-radius:4px;margin-bottom:1rem;border:1px solid #dee2e6}.credential-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.credential-row:last-child{margin-bottom:0}.cred-label{font-weight:600;min-width:80px;color:#666}.cred-value{flex:1;font-family:Courier New,monospace;font-weight:600;color:#007bff;background:#fff;padding:.5rem;border-radius:4px}.btn-copy{background:#6c757d;color:#fff;padding:.25rem .75rem;border-radius:4px;font-size:.85rem;cursor:pointer}.credentials-actions{text-align:center;padding-top:1rem;border-top:1px solid #dee2e6}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:2rem;border-top:1px solid #eee}.form-actions button{min-width:120px}.shop-cashiers-page{max-width:1200px}.cashiers-table{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow-x:auto}.cashiers-table table{width:100%;border-collapse:collapse}.cashiers-table th,.cashiers-table td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.cashiers-table th{background:#f5f5f5;font-weight:600}.status-select{padding:.5rem;border:1px solid #ddd;border-radius:4px;font-size:.9rem;margin-right:.5rem}.cashier-actions{display:flex;gap:.5rem;align-items:center}.btn-reset{background:#ffc107;color:#000;padding:.5rem 1rem;border-radius:4px;font-size:.85rem;font-weight:500;cursor:pointer}.btn-reset:hover{background:#e0a800}.modal-content{background:#fff;padding:2rem;border-radius:8px;max-width:500px;box-shadow:0 4px 6px #0000004d}.modal-content h2{margin-bottom:1rem;color:#2c3e50}.modal-warning{background:#fff3cd;color:#856404;padding:.75rem;border-radius:4px;margin-bottom:1.5rem;font-weight:500}.credential-display{margin-bottom:1.5rem}.cred-row{display:flex;align-items:center;margin-bottom:1rem}.cred-row label{font-weight:600;min-width:100px;color:#666}.cred-value-wrapper{flex:1;display:flex;align-items:center;gap:.5rem}.cred-value{flex:1;font-family:Courier New,monospace;font-weight:600;color:#007bff;background:#f8f9fa;padding:.5rem;border-radius:4px}.btn-copy{background:#6c757d;color:#fff;padding:.5rem;border-radius:4px;cursor:pointer;border:none}.btn-copy:hover{background:#5a6268}.modal-actions{text-align:center;padding-top:1rem;border-top:1px solid #dee2e6}.change-password-page{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.change-password-card{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 4px 6px #0000001a;width:100%;max-width:400px}.change-password-card h1{text-align:center;margin-bottom:1rem;color:#2c3e50}.must-change-notice{background:#fff3cd;color:#856404;padding:.75rem;border-radius:4px;margin-bottom:1rem;text-align:center;font-weight:500}.success-message{text-align:center;background:#fff;padding:3rem 2rem;border-radius:8px;box-shadow:0 4px 6px #0000001a}.success-icon{font-size:4rem;margin-bottom:1rem}.success-message h2{color:#28a745;margin-bottom:.5rem}.success-message p{color:#666}.targets-page{max-width:1200px}.controls{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.target-form{background:#fff;padding:1.5rem;border-radius:8px;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.targets-display{display:flex;flex-direction:column;gap:2rem}.target-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.target-details{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}.target-details>div{display:flex;justify-content:space-between;align-items:center}.label{color:#666;font-weight:500}.value{font-size:1.2rem;font-weight:600;color:#2c3e50}.locked-badge{background:#d4edda;color:#155724;padding:.25rem .75rem;border-radius:4px;font-size:.85rem;font-weight:500}.draft-badge{background:#fff3cd;color:#856404;padding:.25rem .75rem;border-radius:4px;font-size:.85rem}.cashier-targets{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.cashier-targets table{width:100%;border-collapse:collapse;margin-top:1rem}.cashier-targets th,.cashier-targets td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.cashier-targets th{background:#f5f5f5;font-weight:600}.salary-bands-page{max-width:1000px}.locked-notice{background:#fff3cd;color:#856404;padding:1rem;border-radius:4px;margin-bottom:2rem;font-weight:500}.salary-bands-form{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.bands-list{margin-bottom:2rem}.bands-header{display:grid;grid-template-columns:1fr 1fr 100px;gap:1rem;padding:.75rem;background:#f5f5f5;font-weight:600;border-radius:4px;margin-bottom:.5rem}.band-row{display:grid;grid-template-columns:1fr 1fr 100px;gap:1rem;padding:.75rem;align-items:center}.band-row input{padding:.5rem;border:1px solid #ddd;border-radius:4px}.band-row input:disabled{background:#f5f5f5;cursor:not-allowed}.btn-remove{background:#dc3545;color:#fff;padding:.5rem;border-radius:4px;font-size:.85rem}.btn-remove:disabled{opacity:.5;cursor:not-allowed}.form-actions{display:flex;gap:1rem;justify-content:flex-end;padding-top:1rem;border-top:1px solid #eee}.salary-targets-page{max-width:1000px}.select-input,.month-input{padding:.5rem 1rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.locked-notice{background:#fff3cd;border:2px solid #ffc107;border-radius:4px;padding:1rem;margin-bottom:2rem;color:#856404;font-weight:500}.empty-state{text-align:center;padding:4rem 2rem;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;color:#666}.salary-targets-form{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.form-section{margin-bottom:2rem;padding-bottom:2rem;border-bottom:2px solid #eee}.form-section:last-of-type{border-bottom:none}.form-section h2{color:#2c3e50;margin-bottom:1.5rem;font-size:1.25rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#333;font-weight:500}.form-input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.form-input:disabled{background:#f5f5f5;cursor:not-allowed}.form-hint{display:block;color:#666;font-size:.85rem;margin-top:.5rem;font-style:italic}.bands-table-container{margin-bottom:1rem;overflow-x:auto}.bands-table{width:100%;border-collapse:collapse;margin-bottom:1rem}.bands-table th,.bands-table td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.bands-table th{background:#f5f5f5;font-weight:600}.bands-table tbody tr:hover{background:#f8f9fa}.bands-table .form-input{width:100%;min-width:150px}.validation-summary{background:#f8f9fa;padding:1.5rem;border-radius:4px;margin-bottom:2rem}.validation-summary h3{margin-top:0;margin-bottom:1rem;color:#2c3e50}.summary-items{display:flex;flex-direction:column;gap:.75rem}.summary-item{padding:.75rem;border-radius:4px;font-weight:500}.summary-item.valid{background:#d4edda;color:#155724}.summary-item.invalid{background:#f8d7da;color:#721c24}.form-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:2rem}.btn-primary{background:#007bff;color:#fff;padding:.75rem 2rem;border:none;border-radius:4px;font-size:1rem;font-weight:500;cursor:pointer}.btn-primary:hover:not(:disabled){background:#0056b3}.btn-primary:disabled{background:#6c757d;cursor:not-allowed}.btn-secondary{background:#6c757d;color:#fff;padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer}.btn-secondary:hover{background:#5a6268}.btn-danger{background:#dc3545;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer}.btn-small{padding:.25rem .75rem;font-size:.85rem}@media (max-width: 768px){.controls{flex-direction:column;width:100%}.select-input,.month-input{width:100%}.bands-table{font-size:.9rem}.form-actions{flex-direction:column}.btn-primary{width:100%}}.payroll-page{max-width:1400px}.payroll-summary{display:flex;gap:1rem;margin-bottom:2rem}.summary-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;justify-content:space-between;align-items:center;flex:1}.summary-card .label{color:#666;font-weight:500}.summary-card .value{font-size:1.5rem;font-weight:600;color:#2c3e50}.payroll-table{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow-x:auto}.payroll-table table{width:100%;border-collapse:collapse}.payroll-table th,.payroll-table td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.payroll-table th{background:#f5f5f5;font-weight:600}.adjustments-list{display:flex;flex-direction:column;gap:.25rem;margin-top:.25rem}.adjustments-list small{font-size:.75rem;color:#666}.btn-small{background:#ffc107;color:#000;padding:.25rem .75rem;border-radius:4px;font-size:.85rem}.btn-warning{background:#ffc107;color:#000;padding:.5rem 1rem;border-radius:4px;font-weight:500}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:#fff;padding:2rem;border-radius:8px;max-width:500px;width:90%;max-height:80vh;overflow-y:auto}.modal-content h2{margin-bottom:1.5rem}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem}.commissions-page{max-width:1400px}.commission-form{background:#fff;padding:1.5rem;border-radius:8px;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.totals-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:2rem}.total-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;flex-direction:column;gap:.5rem}.total-card .label{color:#666;font-size:.9rem}.total-card .value{font-size:1.8rem;font-weight:600;color:#2c3e50}.commissions-table{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow-x:auto}.commissions-table table{width:100%;border-collapse:collapse}.commissions-table th,.commissions-table td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.commissions-table th{background:#f5f5f5;font-weight:600}.btn-danger{background:#dc3545;color:#fff;padding:.25rem .75rem;border-radius:4px;font-size:.85rem}.btn-danger:hover{background:#c82333}.pl-dashboard-page{max-width:1400px}.pl-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:2rem}.pl-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.card-header{color:#666;font-size:.9rem;margin-bottom:.5rem}.card-value{font-size:2rem;font-weight:600;margin-bottom:.5rem}.card-value.positive{color:#28a745}.card-value.negative{color:#dc3545}.card-details{font-size:.85rem;color:#666;display:flex;flex-direction:column;gap:.25rem}.shop-breakdown{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.shop-breakdown h2{margin-bottom:1rem}.shop-breakdown table{width:100%;border-collapse:collapse}.shop-breakdown th,.shop-breakdown td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.shop-breakdown th{background:#f5f5f5;font-weight:600}.shop-breakdown .positive{color:#28a745}.shop-breakdown .negative{color:#dc3545}.cashier-targets-page{max-width:800px}.target-card{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem}.shop-target{border-left:4px solid #007bff}.cashier-target{border-left:4px solid #28a745}.target-card h2{margin-bottom:1.5rem;color:#2c3e50}.target-progress{display:flex;flex-direction:column;gap:1rem}.progress-bar{width:100%;height:30px;background:#f0f0f0;border-radius:15px;overflow:hidden;position:relative}.progress-text{font-size:1.2rem;font-weight:600;color:#2c3e50}.progress-percent{font-size:1.5rem;font-weight:700;color:#007bff}.no-targets{text-align:center;padding:4rem 2rem;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a}.cashier-dashboard{max-width:1000px}.today-section,.targets-section,.salary-section,.debts-section,.employment-section{background:#fff;padding:1.5rem;border-radius:8px;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.today-section h2,.targets-section h2,.salary-section h2,.debts-section h2,.employment-section h2{margin-bottom:1rem;color:#2c3e50}.target-card{margin-bottom:1rem;padding:1rem;background:#f8f9fa;border-radius:4px}.target-header{display:flex;justify-content:space-between;margin-bottom:.5rem;font-weight:500}.progress-text{color:#666;font-size:.9rem}.progress-bar{width:100%;height:20px;background:#e0e0e0;border-radius:10px;overflow:hidden;margin-bottom:.5rem}.progress-fill{height:100%;background:linear-gradient(90deg,#28a745,#20c997);transition:width .3s ease}.progress-percent{font-size:1.2rem;font-weight:600;color:#007bff}.salary-card{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.current-band,.next-band{padding:1rem;background:#f8f9fa;border-radius:4px}.band-label{color:#666;font-size:.9rem;margin-bottom:.5rem}.band-value{font-size:1.8rem;font-weight:600;color:#28a745;margin-bottom:.25rem}.band-stakes{color:#666;font-size:.85rem}.band-progress{margin-top:.5rem;padding-top:.5rem;border-top:1px solid #ddd;color:#007bff;font-weight:500}.cashier-dashboard{padding:2rem;max-width:1200px}.alert-card{padding:1rem;border-radius:8px;margin-top:1rem;border-left:4px solid}.alert-card.critical{background:#fff5f5;border-color:#dc3545;color:#721c24}.alert-card.warning{background:#fffbf0;border-color:#ffc107;color:#856404}.alert-card p{margin:.5rem 0 0;font-size:.9rem}.empty-targets{padding:2rem;text-align:center;background:#f8f9fa;border-radius:8px;color:#666}.empty-targets p{margin:0 0 .5rem;font-weight:500}.empty-targets small{color:#999}.card-value.pending{color:#ffc107}.employment-records-page{max-width:1400px}.employment-form{background:#fff;padding:2rem;border-radius:8px;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.section-divider{margin:2rem 0 1rem;padding-top:1rem;border-top:2px solid #eee}.section-divider h3{color:#2c3e50;margin-bottom:1rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.records-list{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.records-list table{width:100%;border-collapse:collapse}.records-list th,.records-list td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.records-list th{background:#f5f5f5;font-weight:600}.records-classified{display:flex;flex-direction:column;gap:2rem}.records-group{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.group-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center}.group-header h2{margin:0;font-size:1.25rem;font-weight:600}.record-count{background:#fff3;padding:.25rem .75rem;border-radius:12px;font-size:.9rem}.records-table-container{overflow-x:auto}.records-table{width:100%;border-collapse:collapse}.records-table th,.records-table td{padding:.75rem 1.5rem;text-align:left;border-bottom:1px solid #eee}.records-table th{background:#f8f9fa;font-weight:600;color:#2c3e50;position:sticky;top:0}.records-table tbody tr:hover{background:#f8f9fa}.employee-type-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.85rem;font-weight:500}.employee-type-badge.cashier{background:#d4edda;color:#155724}.employee-type-badge.staff{background:#d1ecf1;color:#0c5460}.empty-state{text-align:center;padding:3rem;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;color:#666}.my-record-view{display:flex;flex-direction:column;gap:2rem}.record-detail-card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.record-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem;display:flex;justify-content:space-between;align-items:center}.record-header h2{margin:0;font-size:1.5rem}.record-sections{padding:2rem}.record-section{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid #eee}.record-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.record-section h3{color:#2c3e50;margin-bottom:1rem;font-size:1.1rem;font-weight:600}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.info-item{display:flex;flex-direction:column;gap:.25rem}.info-item.full-width{grid-column:1 / -1}.info-item label{font-size:.85rem;color:#666;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.info-item span{font-size:1rem;color:#2c3e50;font-weight:400}.file-selected{display:block;color:#28a745;font-weight:500;margin-top:.25rem}input[type=file]{padding:.5rem;border:1px solid #ddd;border-radius:4px;width:100%}.form-hint{display:block;color:#666;font-size:.85rem;margin-top:.25rem;font-style:italic}.debts-page{max-width:1400px}.debt-form{background:#fff;padding:1.5rem;border-radius:8px;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.debts-summary{margin-bottom:2rem}.summary-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;justify-content:space-between;align-items:center}.summary-card .label{color:#666;font-weight:500;font-size:1.1rem}.summary-card .value{font-size:2rem;font-weight:600;color:#dc3545}.debts-table{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow-x:auto}.debts-table table{width:100%;border-collapse:collapse}.debts-table th,.debts-table td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.debts-table th{background:#f5f5f5;font-weight:600}.btn-success{background:#28a745;color:#fff;padding:.25rem .75rem;border-radius:4px;font-size:.85rem}.btn-success:hover{background:#218838}.paid-badge{background:#d4edda;color:#155724;padding:.25rem .75rem;border-radius:4px;font-size:.85rem;font-weight:500}.rent-expense-page{max-width:1000px}.rent-expense-card{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.rent-expense-card h2{margin-bottom:1rem;color:#2c3e50}.description{color:#666;margin-bottom:2rem;line-height:1.6}.result-summary{margin-top:2rem;padding-top:2rem;border-top:2px solid #eee}.summary-stats{display:flex;gap:2rem;margin-bottom:1.5rem}.stat{display:flex;flex-direction:column;gap:.5rem}.stat-label{color:#666;font-size:.9rem}.stat-value{font-size:2rem;font-weight:600;color:#2c3e50}.results-list{margin-top:1.5rem}.results-list table{width:100%;border-collapse:collapse;margin-top:1rem}.results-list th,.results-list td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.results-list th{background:#f5f5f5;font-weight:600}.status-badge.added{background:#d4edda;color:#155724}.status-badge.skipped{background:#fff3cd;color:#856404}.staff-dashboard{max-width:1000px}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.today-section,.salary-section,.debts-section,.requests-section,.employment-section{background:#fff;padding:1.5rem;border-radius:8px;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.today-section h2,.salary-section h2,.debts-section h2,.requests-section h2,.employment-section h2{margin-bottom:1rem;color:#2c3e50}.today-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.card{padding:1rem;background:#f8f9fa;border-radius:4px}.card-label{color:#666;font-size:.9rem;margin-bottom:.5rem}.card-value{font-size:1.5rem;font-weight:600;color:#2c3e50}.card-value.present{color:#28a745}.card-value.absent{color:#dc3545}.salary-card{padding:1rem;background:#f8f9fa;border-radius:4px}.salary-info{display:flex;flex-direction:column;gap:.5rem}.salary-label{color:#666;font-size:.9rem}.salary-value{font-size:2rem;font-weight:600;color:#28a745}.salary-date{color:#666;font-size:.9rem}.debts-card{padding:1rem;background:#fff3cd;border-radius:4px}.total-debt{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:2px solid #856404;font-weight:600}.debt-amount{font-size:1.5rem;color:#856404}.debts-list{display:flex;flex-direction:column;gap:.75rem}.debt-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#fff;border-radius:4px}.debt-reason{font-weight:500}.debt-details{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.debt-date{font-size:.85rem;color:#666}.requests-list{display:flex;flex-direction:column;gap:1rem}.request-item{padding:1rem;background:#f8f9fa;border-radius:4px}.request-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.request-item-name{font-weight:600}.status-badge{padding:.25rem .75rem;border-radius:4px;font-size:.85rem;font-weight:500}.status-badge.pending{background:#fff3cd;color:#856404}.status-badge.approved{background:#d4edda;color:#155724}.status-badge.issued{background:#d1ecf1;color:#0c5460}.status-badge.rejected{background:#f8d7da;color:#721c24}.request-details{display:flex;gap:1rem;color:#666;font-size:.9rem}.employment-card{padding:1rem;background:#f8f9fa;border-radius:4px}.info-row{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #e0e0e0}.info-row:last-child{border-bottom:none}.info-row span:first-child{color:#666;font-weight:500}.info-row span:last-child{color:#2c3e50;font-weight:600}.paper-roll-intelligence{max-width:1400px}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}.controls{display:flex;gap:1rem;align-items:center}.controls input[type=date]{padding:.5rem;border:1px solid #ddd;border-radius:4px}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.summary-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;text-align:center}.summary-label{color:#666;font-size:.9rem;margin-bottom:.5rem}.summary-value{font-size:2rem;font-weight:600;color:#2c3e50}.intelligence-table-container{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow-x:auto;margin-bottom:2rem}.intelligence-table{width:100%;border-collapse:collapse}.intelligence-table th,.intelligence-table td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.intelligence-table th{background:#f5f5f5;font-weight:600;position:sticky;top:0}.intelligence-table tbody tr:hover{background:#f8f9fa}.status-normal{background:#f8fff9}.status-watch{background:#fffbf0}.status-anomaly{background:#fff5f5}.below-avg{color:#dc3545;font-weight:600}.avg-label{color:#666;font-size:.85rem}.positive{color:#28a745}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:4px;color:#fff;font-size:.85rem;font-weight:500}.anomalies-alert{background:#fff3cd;border:2px solid #ffc107;border-radius:8px;padding:1.5rem;margin-top:2rem}.anomalies-alert h3{margin-top:0;color:#856404}.anomalies-alert ul{margin:1rem 0 0;padding-left:1.5rem;color:#856404}.anomalies-alert li{margin:.5rem 0}.error-message{background:#f8d7da;color:#721c24;padding:1rem;border-radius:4px;margin-bottom:1rem}.loading{text-align:center;padding:2rem;color:#666}@media (max-width: 768px){.intelligence-table{font-size:.85rem}.controls{flex-direction:column;width:100%}.controls input[type=date]{width:100%}}.agent-stock-page{padding:2rem}.stock-summary-card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:2rem;margin-bottom:2rem}.stock-summary-card.low-stock{border:2px solid #dc3545;background:#fff5f5}.stock-info h2{margin:0 0 1rem;color:#2c3e50}.stock-value{display:flex;align-items:baseline;gap:.5rem;margin-bottom:1.5rem}.stock-value .quantity{font-size:3rem;font-weight:700;color:#2c3e50}.stock-value .unit{font-size:1.5rem;color:#666}.stock-details{margin-top:1rem}.stock-details>div{display:flex;align-items:center;gap:.5rem}.stock-details label{font-weight:500;color:#666}.threshold-input{width:80px;padding:.5rem;border:1px solid #ddd;border-radius:4px}.low-stock-warning{margin-top:1rem;padding:1rem;background:#fee;border:1px solid #dc3545;border-radius:4px;color:#dc3545;font-weight:500}.purchase-form-card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:2rem;margin-bottom:2rem}.purchase-form-card h2{margin:0 0 1.5rem;color:#2c3e50}.purchase-form-card .form-group{margin-bottom:1.5rem}.purchase-form-card label{display:block;margin-bottom:.5rem;font-weight:500;color:#2c3e50}.purchase-form-card input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.total-cost-display{font-size:1.5rem;font-weight:700;color:#28a745;padding:.75rem;background:#f8f9fa;border-radius:4px}.form-actions{display:flex;gap:1rem;margin-top:2rem}.movements-section{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:2rem}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.section-header h2{margin:0;color:#2c3e50}.date-filters{display:flex;gap:.5rem;align-items:center}.date-filters input[type=date]{padding:.5rem;border:1px solid #ddd;border-radius:4px}.movements-table{width:100%;border-collapse:collapse}.movements-table th{background:#f8f9fa;padding:1rem;text-align:left;font-weight:600;color:#2c3e50;border-bottom:2px solid #ddd}.movements-table td{padding:1rem;border-bottom:1px solid #eee}.movements-table tbody tr:hover{background:#f8f9fa}.movement-type-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;color:#fff;font-size:.85rem;font-weight:500}.positive{color:#28a745;font-weight:600}.negative{color:#dc3545;font-weight:600}.empty-state{text-align:center;padding:3rem;color:#666}.empty-state p{margin:0 0 .5rem;font-size:1.1rem}.empty-state small{color:#999}.btn-small{padding:.5rem 1rem;font-size:.85rem}.stock-actions{margin-top:1rem;display:flex;gap:.5rem}.stock-actions button{padding:.5rem 1rem;font-size:.9rem}.movements-table input[type=number],.movements-table input[type=text]{padding:.5rem;border:1px solid #ddd;border-radius:4px;font-size:.9rem}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f5f5}#root{min-height:100vh}button{cursor:pointer;border:none;padding:.5rem 1rem;border-radius:4px;font-size:.9rem;transition:all .2s}button:hover{opacity:.9;transform:translateY(-1px)}input,select,textarea{padding:.5rem;border:1px solid #ddd;border-radius:4px;font-size:.9rem;width:100%}input:focus,select:focus,textarea:focus{outline:none;border-color:#007bff}
