nav{display:flex;justify-content:space-between;align-items:center;padding:18px 50px;background:linear-gradient(135deg,#111827,#1e3a8a);box-shadow:0 4px 15px #0003}nav h2{color:#fff;margin:0;font-size:24px;letter-spacing:.5px}nav ul{display:flex;align-items:center;gap:15px;list-style:none;margin:0;padding:0}nav li a{display:block;color:#fff;text-decoration:none;padding:10px 16px;border-radius:8px;font-weight:500;transition:all .2s ease}nav li a:hover{background-color:#e7dddded;transform:translateY(-2px)}nav li:last-child a{background-color:#fff;color:#1e3a8a;font-weight:600}nav li:last-child a:hover{background-color:#e5e7eb}.logout-button{background-color:#dc2626;color:#fff;border:none;padding:9px 17px;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600}.logout-button:hover{background-color:#b91c1c}.navbar-user{color:#64748b;font-size:14px;font-weight:600}.register-page{min-height:80vh;display:flex;justify-content:center;align-items:center;background:#f8fafc;padding:40px 20px}.register-card{width:100%;max-width:420px;padding:40px;background:#fff;border-radius:16px;box-shadow:0 10px 30px #0000001a}.register-card h1{margin-bottom:10px;color:#111827;text-align:center}.register-card p{margin-bottom:30px;color:#64748b;text-align:center}.register-card form{display:flex;flex-direction:column}.register-card label{margin-bottom:8px;color:#374151;font-weight:600}.register-card input{padding:12px;margin-bottom:20px;border:1px solid #cbd5e1;border-radius:8px;font-size:16px}.register-card input:focus{outline:none;border-color:#2563eb}.register-card button{padding:13px;border:none;border-radius:8px;background:#2563eb;color:#fff;font-size:16px;font-weight:600;cursor:pointer}.register-card button:hover{background:#1d4ed8}.register-error{color:#b91c1c;background:#fee2e2;padding:10px;border-radius:8px;font-size:14px}.register-success{color:#166534;background:#dcfce7;padding:10px;border-radius:8px;font-size:14px}.register-card button:disabled{opacity:.6;cursor:not-allowed}.dashboard{min-height:100vh;padding:40px;background:#f1f5f9}.dashboard-header{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:35px}.dashboard-eyebrow{color:#2563eb;font-size:12px;font-weight:800;letter-spacing:2px}.dashboard-header h1{margin:10px 0;color:#0f172a;font-size:32px}.dashboard-header p{color:#64748b}.dashboard-actions{display:flex;flex-wrap:wrap;gap:12px}.dashboard-button{padding:12px 18px;border-radius:8px;background:#2563eb;color:#fff;text-decoration:none;font-weight:600;transition:.2s}.dashboard-button:hover{background:#1d4ed8;transform:translateY(-2px)}.dashboard-button.secondary{background:#0f172a}.dashboard-button.secondary:hover{background:#334155}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:30px}.stat-card{display:flex;align-items:center;gap:18px;padding:25px;background:#fff;border-radius:14px;box-shadow:0 4px 15px #0f172a0d;border-left:5px solid}.stat-icon{display:flex;align-items:center;justify-content:center;width:55px;height:55px;border-radius:12px;background:#f1f5f9;font-size:27px}.stat-card p{margin:0;color:#64748b;font-size:14px;font-weight:600}.stat-card h2{margin:8px 0;color:#0f172a;font-size:29px}.stat-card span{color:#94a3b8;font-size:12px}.stat-card.blue{border-color:#3b82f6}.stat-card.green{border-color:#16a34a}.stat-card.purple{border-color:#9333ea}.stat-card.orange{border-color:#f97316}.dashboard-content{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-bottom:30px}.dashboard-panel{min-width:0;padding:25px;background:#fff;border-radius:14px;box-shadow:0 4px 15px #0f172a0d}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.panel-header h2{margin:0 0 6px;color:#0f172a;font-size:19px}.panel-header p{margin:0;color:#94a3b8;font-size:13px}.panel-header a{color:#2563eb;font-size:13px;font-weight:700;text-decoration:none}.table-wrapper{width:100%;overflow-x:auto}.dashboard-table{width:100%;border-collapse:collapse;text-align:left}.dashboard-table th{padding:13px 10px;color:#64748b;background:#f8fafc;font-size:12px}.dashboard-table td{padding:15px 10px;color:#334155;border-bottom:1px solid #e2e8f0;font-size:13px}.dashboard-table tbody tr:last-child td{border-bottom:none}.status-badge{padding:5px 10px;border-radius:20px;font-size:11px;font-weight:700}.status-badge.active{color:#15803d;background:#dcfce7}.status-badge.inactive{color:#b91c1c;background:#fee2e2}.empty-message{padding:25px 10px;color:#94a3b8;text-align:center;font-size:14px}.dashboard-error{margin-bottom:25px;padding:15px;color:#b91c1c;background:#fee2e2;border-radius:8px}.dashboard-error p{margin-bottom:0;font-size:13px}.quick-actions{padding:25px;background:#fff;border-radius:14px}.quick-actions h2{margin:0 0 20px;color:#0f172a;font-size:20px}.quick-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.quick-action-card{display:flex;align-items:center;gap:15px;padding:18px;border:1px solid #e2e8f0;border-radius:10px;color:inherit;text-decoration:none;transition:.2s}.quick-action-card:hover{border-color:#2563eb;background:#eff6ff;transform:translateY(-2px)}.quick-action-card>span{font-size:30px}.quick-action-card h3{margin:0 0 6px;color:#1e293b;font-size:15px}.quick-action-card p{margin:0;color:#64748b;font-size:12px}.quick-action-card strong{margin-left:auto;color:#2563eb}@media(max-width:1000px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-header{align-items:flex-start;flex-direction:column}}@media(max-width:700px){.dashboard{padding:20px 14px}.dashboard-header h1{font-size:26px}.dashboard-content,.quick-action-grid{grid-template-columns:1fr}.stats-grid{gap:12px}.stat-card{padding:15px;gap:10px}.stat-icon{width:42px;height:42px;font-size:21px}.stat-card h2{font-size:23px}.dashboard-actions{width:100%}.dashboard-button{flex:1;text-align:center}}@media(max-width:420px){.stats-grid{grid-template-columns:1fr}}.products-page{width:100%;max-width:1400px;margin:0 auto;padding:28px;box-sizing:border-box;color:#1e293b}.products-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.products-header .eyebrow{color:#6366f1;font-size:11px;font-weight:800;letter-spacing:1.5px;margin:0 0 8px}.products-header h1{font-size:30px;font-weight:800;color:#0f172a;margin:0 0 7px}.products-header p{color:#64748b;font-size:14px;margin:0}.product-header-icon{width:58px;height:58px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:#eef2ff;font-size:28px}.inventory-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.summary-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e8edf5;border-radius:15px;padding:19px;min-width:0;box-shadow:0 4px 14px #0f172a0a;transition:.25s ease}.summary-card:hover{transform:translateY(-3px);box-shadow:0 9px 22px #0f172a12}.summary-icon{width:43px;height:43px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:12px;font-size:19px;font-weight:800}.summary-icon.blue{background:#e0f2fe;color:#0284c7}.summary-icon.purple{background:#ede9fe;color:#7c3aed}.summary-icon.orange{background:#ffedd5;color:#ea580c}.summary-icon.red{background:#fee2e2;color:#dc2626}.summary-card span{display:block;color:#64748b;font-size:12px;font-weight:600;margin-bottom:5px}.summary-card h2{color:#0f172a;font-size:25px;font-weight:800;margin:0}.product-form-section{background:#fff;border:1px solid #e8edf5;border-radius:17px;padding:24px;margin-bottom:30px;box-shadow:0 4px 16px #0f172a0a}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-heading h2{color:#0f172a;font-size:19px;font-weight:800;margin:0 0 6px}.section-heading p{color:#64748b;font-size:13px;margin:0}.product-form{width:100%}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.form-group{display:flex;flex-direction:column;min-width:0}.form-group.full-width{grid-column:1 / -1}.form-group label{color:#334155;font-size:12px;font-weight:700;margin-bottom:8px}.form-group input,.form-group select,.form-group textarea{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #dbe2ea;border-radius:9px;background:#fff;color:#1e293b;font-size:13px;outline:none;transition:.2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.form-group textarea{resize:vertical;min-height:85px}.form-group input::placeholder,.form-group textarea::placeholder{color:#94a3b8}.rating-input{display:flex;align-items:center;gap:5px;min-height:40px}.rating-star{background:transparent;border:none;padding:0;color:#cbd5e1;font-size:25px;cursor:pointer;transition:.2s ease}.rating-star.selected{color:#f59e0b}.rating-star:hover{transform:scale(1.15)}.rating-input span{color:#64748b;font-size:12px;margin-left:7px}.form-buttons{display:flex;gap:10px;margin-top:20px}.save-product-button,.cancel-product-button{border:none;border-radius:9px;padding:12px 21px;font-size:13px;font-weight:700;cursor:pointer;transition:.2s ease}.save-product-button{background:#4f46e5;color:#fff}.save-product-button:hover{background:#4338ca;transform:translateY(-2px)}.cancel-product-button{background:#f1f5f9;color:#475569}.cancel-product-button:hover{background:#e2e8f0}.save-product-button:disabled,.cancel-product-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.product-success,.product-error{padding:11px 14px;border-radius:8px;font-size:13px;margin:15px 0 0}.product-success{background:#dcfce7;color:#15803d}.product-error{background:#fee2e2;color:#b91c1c}.product-list-section{margin-top:28px}.product-list-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.product-list-heading h2{color:#0f172a;font-size:21px;font-weight:800;margin:0 0 6px}.product-list-heading p{color:#64748b;font-size:12px;margin:0}.product-filters{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap}.product-search{display:flex;align-items:center;gap:9px;flex:1;min-width:220px;background:#fff;border:1px solid #dbe2ea;border-radius:9px;padding:0 12px}.product-search span{color:#94a3b8;font-size:20px}.product-search input{width:100%;border:none;outline:none;padding:12px 0;background:transparent;color:#1e293b;font-size:13px}.category-filter{min-width:170px;padding:11px 13px;border:1px solid #dbe2ea;border-radius:9px;background:#fff;color:#334155;font-size:13px;outline:none}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;align-items:stretch}.product-card{min-width:0;display:flex;flex-direction:column;padding:15px;border:1px solid #e7ebf3;border-radius:15px;background:linear-gradient(145deg,#fff,#f8faff);box-shadow:0 4px 12px #0f172a0a;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.product-card:hover{transform:translateY(-4px);border-color:#c7d2fe;box-shadow:0 12px 24px #4f46e51a}.product-card-top{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-bottom:12px}.product-card-icon{width:38px;height:38px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:11px;background:linear-gradient(135deg,#eef2ff,#e0e7ff);font-size:19px}.stock-badge{padding:5px 8px;border-radius:20px;font-size:9px;font-weight:800;white-space:nowrap}.stock-badge.in-stock{background:#dcfce7;color:#15803d}.stock-badge.low-stock{background:#fef3c7;color:#b45309}.stock-badge.out-stock{background:#fee2e2;color:#b91c1c}.product-card-info{display:flex;flex-direction:column;flex:1;min-width:0}.product-category{align-self:flex-start;display:inline-block;max-width:100%;overflow-wrap:anywhere;padding:4px 8px;margin-bottom:8px;border-radius:5px;background:#eef2ff;color:#6366f1;font-size:9px;font-weight:800;letter-spacing:.5px;text-transform:uppercase}.product-card h3{color:#1e293b;font-size:14px;font-weight:800;line-height:1.4;margin:0 0 6px;overflow-wrap:anywhere}.product-description{min-height:30px;color:#64748b;font-size:10px;line-height:1.5;margin:0 0 10px;overflow-wrap:anywhere}.product-stars{display:flex;align-items:center;gap:2px;margin-bottom:10px}.star{color:#cbd5e1;font-size:12px}.star.active{color:#f59e0b}.rating-number{color:#64748b;font-size:10px;margin-left:4px}.product-price-row{display:flex;justify-content:space-between;align-items:center;gap:5px;padding:10px 0;margin-bottom:10px;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5}.product-price-row span{color:#64748b;font-size:10px}.product-price-row strong{color:#4f46e5;font-size:17px;font-weight:800;white-space:nowrap}.product-details-row{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:13px}.product-details-row>div{display:flex;flex-direction:column;gap:4px;min-width:0}.product-details-row span{color:#94a3b8;font-size:9px;font-weight:600}.product-details-row strong{color:#334155;font-size:10px;font-weight:700;overflow-wrap:anywhere}.product-actions{display:flex;gap:7px;margin-top:auto}.product-actions button{flex:1;border:none;border-radius:7px;padding:8px 5px;font-size:10px;font-weight:800;cursor:pointer;transition:.2s ease}.edit-button{background:#eef2ff;color:#4338ca}.edit-button:hover{background:#4f46e5;color:#fff}.delete-button{background:#fff1f2;color:#e11d48}.delete-button:hover{background:#e11d48;color:#fff}.loading-message,.empty-products{text-align:center;padding:30px 15px;color:#64748b;background:#fff;border:1px dashed #cbd5e1;border-radius:13px;font-size:13px}.empty-products span{display:block;font-size:30px;margin-bottom:10px}.empty-products h3{color:#334155;font-size:16px;margin:0 0 7px}.empty-products p{font-size:12px;margin:0}@media(max-width:1100px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.products-page{padding:20px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-form-section{padding:19px}}@media(max-width:520px){.products-page{padding:14px}.products-header h1{font-size:25px}.product-header-icon{width:45px;height:45px;font-size:22px}.inventory-summary{gap:10px}.summary-card{padding:12px;gap:9px}.summary-icon{width:34px;height:34px;font-size:15px}.summary-card span{font-size:10px}.summary-card h2{font-size:21px}.form-grid{grid-template-columns:1fr}.form-group.full-width{grid-column:auto}.product-grid{grid-template-columns:1fr}.product-form-section{padding:15px}.product-filters{flex-direction:column}.product-search,.category-filter{width:100%;box-sizing:border-box}}.product-image-wrap{width:100%;height:145px;overflow:hidden;border-radius:11px;background:#f1f5f9;margin-bottom:13px}.product-card-image{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}.product-card:hover .product-card-image{transform:scale(1.06)}@media(max-width:520px){.product-image-wrap{height:180px}}.employees-page{max-width:1200px;margin:0 auto;padding:45px 24px;color:#111827}.employees-header{text-align:center;margin-bottom:35px}.employees-header .eyebrow{color:#2563eb;font-size:13px;font-weight:700;letter-spacing:2px}.employees-header h1{font-size:38px;margin:10px 0}.employees-header p{color:#6b7280}.employee-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:35px}.stat-card{padding:22px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 5px 18px #0000000d}.stat-card span{color:#6b7280;font-size:14px}.stat-card h2{color:#2563eb;font-size:30px;margin:10px 0 0}.employee-form{max-width:600px;margin:0 auto 50px;padding:30px;display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 8px 25px #00000012}.employee-form h2{margin:0 0 10px}.employee-form label{font-weight:600;color:#374151}.employee-form input,.employee-form select{box-sizing:border-box;width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:8px;font-size:15px}.employee-form input:focus,.employee-form select:focus{outline:none;border-color:#2563eb}.employee-form button{margin-top:8px;padding:13px;border:none;border-radius:8px;background:#2563eb;color:#fff;font-size:15px;font-weight:600;cursor:pointer}.employee-form button:hover{background:#1d4ed8}.employee-form .cancel-button{margin-top:0;background:#e5e7eb;color:#374151}.employee-form button:disabled{opacity:.6;cursor:not-allowed}.employee-success{padding:10px;color:#166534;background:#dcfce7;border-radius:8px}.employee-error{padding:10px;color:#b91c1c;background:#fee2e2;border-radius:8px}.employee-list-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.employee-list-header input{width:300px;padding:12px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px}.employee-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.employee-card{padding:25px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;text-align:center;box-shadow:0 5px 18px #0000000d;transition:transform .2s ease,box-shadow .2s ease}.employee-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #00000017}.employee-avatar{width:65px;height:65px;margin:0 auto 15px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#dbeafe;color:#1d4ed8;font-size:28px;font-weight:700}.employee-card h3{margin:0 0 8px;font-size:20px}.employee-card>p{color:#2563eb;font-weight:600}.employee-details{margin:18px 0;text-align:left;overflow-wrap:anywhere}.employee-details p{color:#6b7280;font-size:14px;margin:10px 0}.employee-details strong{color:#374151}.employee-status{display:inline-block;padding:6px 13px;border-radius:20px;font-size:12px;font-weight:700}.status-active{background:#dcfce7;color:#166534}.status-inactive{background:#fee2e2;color:#991b1b}.employee-actions{display:flex;gap:10px;margin-top:20px}.employee-actions button{flex:1;padding:10px;border:none;border-radius:8px;font-weight:600;cursor:pointer}.employee-actions .edit-button{background:#dbeafe;color:#1d4ed8}.employee-actions .edit-button:hover{background:#bfdbfe}.employee-actions .delete-button{background:#fee2e2;color:#b91c1c}.employee-actions .delete-button:hover{background:#fecaca}@media(max-width:900px){.employee-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.employees-page{padding:30px 16px}.employees-header h1{font-size:29px}.employee-stats,.employee-grid{grid-template-columns:1fr}.employee-list-header{flex-direction:column;align-items:stretch}.employee-list-header input{width:100%;box-sizing:border-box}.employee-form{padding:22px}}.login-page{min-height:80vh;display:flex;justify-content:center;align-items:center;background:#f8fafc;padding:40px 20px}.login-card{width:100%;max-width:420px;padding:40px;background:#fff;border-radius:16px;box-shadow:0 10px 30px #0000001a}.login-card h1{margin-bottom:10px;color:#111827;text-align:center}.login-card p{margin-bottom:30px;color:#64748b;text-align:center}.login-card form{display:flex;flex-direction:column}.login-card label{margin-bottom:8px;color:#374151;font-weight:600}.login-card input{padding:12px;margin-bottom:20px;border:1px solid #cbd5e1;border-radius:8px;font-size:16px}.login-card input:focus{outline:none;border-color:#2563eb}.login-card button{padding:13px;border:none;border-radius:8px;background:#2563eb;color:#fff;font-size:16px;font-weight:600;cursor:pointer}.login-card button:hover{background:#1d4ed8}.register-link{margin-top:20px;text-align:center;color:#64748b}.register-link a{color:#2563eb;text-decoration:none;font-weight:600}.register-link a:hover{text-decoration:underline}.login-error{color:#b91c1c;background:#fee2e2;padding:10px;border-radius:8px;font-size:14px}.login-success{color:#166534;background:#dcfce7;padding:10px;border-radius:8px;font-size:14px}.login-card button:disabled{opacity:.6;cursor:not-allowed}.analytics-section{margin:35px 0}.analytics-heading{margin-bottom:20px}.analytics-heading h2{font-size:24px;margin-bottom:6px}.analytics-heading p{color:#64748b}.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.chart-panel{min-width:0;padding:22px}.chart-container{width:100%;height:300px;margin-top:15px}.full-chart{grid-column:1 / -1}@media(max-width:768px){.analytics-grid{grid-template-columns:1fr}.full-chart{grid-column:auto}.chart-container{height:280px}}@media(max-width:480px){.chart-panel{padding:15px}.chart-container{height:250px}}
