.sync-offline{background:var(--warning-color);color:white}.sync-error{background:var(--danger-color);color:white}.btn-success{background:var(--success-color);color:white}.btn-danger{background:var(--danger-color);color:white}.login-hint{margin-top:20px;padding:15px;background:#fef3c7;border-radius:6px;font-size:12px;color:#92400e}.sidebar-logo h2{font-size:18px;margin-top:10px}.nav-item{padding:12px 20px;cursor:pointer;transition:background .3s;display:flex;align-items:center;gap:10px}.nav-item:hover{background:rgba(255,255,255,.1)}.nav-item.active{background:var(--primary-color);border-left:4px solid white}.page-header{margin-bottom:30px}.page-header h1{font-size:28px;margin-bottom:10px}.page-header .breadcrumb{color:var(--text-secondary);font-size:14px}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px}.stat-card{background:var(--card-bg);padding:25px;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.1)}.stat-card h3{font-size:14px;color:var(--text-secondary);margin-bottom:10px}.stat-card .stat-value{font-size:32px;font-weight:700;color:var(--primary-color)}.stat-card .stat-change{font-size:12px;margin-top:8px}.card{background:var(--card-bg);border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.1);margin-bottom:20px}.card-header{padding:20px 25px;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.card-header h2{font-size:18px}.card-body{padding:25px}.table-container{overflow-x:auto}table{width:100%;border-collapse:collapse}table th{background:var(--bg-color);padding:12px;text-align:left;font-weight:600;border-bottom:2px solid var(--border-color)}table td{padding:12px;border-bottom:1px solid var(--border-color)}table tr:hover{background:var(--bg-color)}.filters{display:flex;gap:15px;margin-bottom:20px;flex-wrap:wrap}.filter-group{flex:1;min-width:200px}.modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:1000;overflow-y:auto}.modal.active{display:flex;align-items:center;justify-content:center;padding:20px}.modal-content{background:var(--card-bg);border-radius:12px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto}.modal-header{padding:20px 25px;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.modal-body{padding:25px}.modal-footer{padding:20px 25px;border-top:1px solid var(--border-color);display:flex;justify-content:flex-end;gap:10px}.close-modal{background:0 0;border:none;font-size:24px;cursor:pointer;color:var(--text-secondary)}.badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600}.badge-success{background:#d1fae5;color:#065f46}.badge-warning{background:#fef3c7;color:#92400e}.badge-danger{background:#fee2e2;color:#991b1b}.badge-info{background:#dbeafe;color:#1e40af}.alert{padding:15px 20px;border-radius:8px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center}.alert-success{background:#d1fae5;color:#065f46;border:1px solid #10b981}.alert-error{background:#fee2e2;color:#991b1b;border:1px solid #ef4444}.alert-info{background:#dbeafe;color:#1e40af;border:1px solid #3b82f6}.timeline{position:relative;padding-left:30px}.timeline::before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--border-color)}.timeline-item{position:relative;margin-bottom:20px}.timeline-item::before{content:"";position:absolute;left:-35px;top:5px;width:10px;height:10px;border-radius:50%;background:var(--primary-color);border:2px solid var(--card-bg)}.timeline-content{background:var(--bg-color);padding:15px;border-radius:8px}.timeline-date{font-size:12px;color:var(--text-secondary)}@media print{.invoice-print{box-shadow:none}}@media (max-width:768px){.dashboard-grid{grid-template-columns:1fr}}.action-buttons{display:flex;gap:10px;justify-content:flex-end;margin-bottom:20px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.undo-toast.active{display:flex}.invoice-print{background:#fff;padding:40px;max-width:800px;margin:0 auto}.invoice-header{display:flex;justify-content:space-between;margin-bottom:40px;padding-bottom:20px;border-bottom:2px solid var(--border-color)}.invoice-table{width:100%;margin:20px 0}.invoice-table th{background:var(--bg-color)}.invoice-total{text-align:right;margin-top:20px}.invoice-total table{margin-left:auto;width:300px}.multi-select{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.multi-select-tag{background:var(--primary-light);color:white;padding:4px 10px;border-radius:12px;font-size:12px;display:flex;align-items:center;gap:5px}.multi-select-tag button{background:0 0;border:none;color:white;cursor:pointer;font-size:16px;padding:0}