html,body,#root{height:100%}body{margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{background:transparent}*{box-sizing:border-box}:root{--primary-500: #7c3aed;--primary-400: #667eea;--surface: rgba(255,255,255,.96);--surface-border: rgba(255,255,255,.5);--text-900: #111827;--text-700: #374151;--text-500: #6b7280}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text-900)}.app-bg{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.topbar{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;color:#fff}.brand{display:flex;align-items:center;gap:12px}.brand-badge{font-size:28px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.25))}.top-actions{display:flex;gap:10px}.container{max-width:1200px;margin:0 auto;padding:24px}.stats{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:8px 0 16px}.chip{background:#ffffffe6;border:1px solid rgba(255,255,255,.5);color:var(--text-900);padding:8px 12px;border-radius:999px;font-weight:600}.stats .search{margin-left:auto}.search input{width:340px;max-width:100%;padding:10px 12px;border-radius:10px;border:1px solid #e5e7eb}.search input:focus{outline:none;border-color:#7c3aed;box-shadow:0 0 0 4px #7c3aed33}.content-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:24px;align-items:start}@media(max-width:900px){.content-grid{grid-template-columns:1fr}}.card{background:var(--surface);border:1px solid var(--surface-border);border-radius:16px;box-shadow:0 12px 28px #0000001f;padding:20px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);overflow:visible}.card h2{margin:6px 0 18px;color:#1f2937;font-size:18px}.list-card{padding:16px}.scroll-x{border-radius:12px;box-shadow:inset 0 0 0 1px #0000000d;background:linear-gradient(135deg,#fafbfb,#f8fafc);overflow:visible;width:100%}.product-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.product-form input{padding:12px;border:1px solid #e5e7eb;border-radius:10px;outline:none;transition:.2s}.product-form input:focus{border-color:#7c3aed;box-shadow:0 0 0 4px #7c3aed29}.form-actions{display:flex;gap:10px;grid-column:1 / -1}.btn{background:linear-gradient(135deg,var(--primary-400),var(--primary-500));color:#fff;border:none;border-radius:10px;padding:10px 14px;cursor:pointer;font-weight:700;letter-spacing:.2px;transition:transform .12s,box-shadow .2s}.btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px #7c3aed52}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background:#e5e7eb;color:#111827}.btn-light{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.45)}.btn-edit{background:#3b82f6}.btn-delete{background:#ef4444}.product-table{width:100%;min-width:700px;border-collapse:separate;border-spacing:0;table-layout:auto}.product-table thead th{text-align:left;color:var(--text-700);padding:14px 16px;font-weight:700;background:linear-gradient(135deg,#fffffff2,#f8fafce6);border-bottom:2px solid #e5e7eb;font-size:13px;text-transform:uppercase;letter-spacing:.5px;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .2s ease}.product-table thead th.sortable:hover{background:linear-gradient(135deg,#f0f5fff2,#eef2ffe6)}.product-table thead th.sort-asc:after{content:" ↑";color:var(--primary-500);font-weight:700}.product-table thead th.sort-desc:after{content:" ↓";color:var(--primary-500);font-weight:700}.product-table thead th:nth-child(1){width:6%}.product-table thead th:nth-child(2){width:15%}.product-table thead th:nth-child(3){width:25%}.product-table thead th:nth-child(4){width:12%}.product-table thead th:nth-child(5){width:12%}.product-table thead th:nth-child(6){width:30%}.product-table thead th:first-child{border-radius:12px 0 0}.product-table thead th:last-child{border-radius:0 12px 0 0}.product-table tbody tr{background:#fff;transition:all .2s ease;box-shadow:0 2px 8px #0000000a}.product-table tbody tr:hover{background:#fafbfc;box-shadow:0 4px 16px #00000014;transform:translateY(-1px)}.product-table tbody tr+tr td{border-top:1px solid #f1f5f9}.product-table tbody td{padding:16px;vertical-align:middle;border-left:4px solid transparent}.product-table tbody tr:hover td:first-child{border-left-color:var(--primary-500)}.row-actions{display:flex;gap:6px;flex-wrap:nowrap;align-items:center;justify-content:flex-start;min-width:160px}.row-actions .btn{flex-shrink:0;min-width:70px;padding:8px 12px;font-size:13px}.qty-badge{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:28px;background:linear-gradient(135deg,#eef2ff,#e0e7ff);color:#3730a3;border:1px solid #c7d2fe;border-radius:8px;font-weight:700;font-size:12px;box-shadow:0 1px 3px #3730a31a}.price-cell{font-weight:700;color:var(--primary-500);font-size:15px}.name-cell{font-weight:600;color:var(--text-900)}.desc-cell{color:var(--text-500);font-size:14px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.muted{color:#6b7280}.empty{text-align:center;color:#6b7280;padding:32px 16px;font-style:italic;background:#f9fafb80;border-radius:12px;margin:16px 0}.success-msg{margin-top:12px;background:#16a34a;color:#fff;padding:10px 12px;border-radius:10px}.error-msg{margin-top:12px;background:#ef4444;color:#fff;padding:10px 12px;border-radius:10px}.loader{color:#4f46e5;font-weight:700}@media(max-width:1100px){.product-form{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.product-form{grid-template-columns:1fr}}.tagline-card{background:linear-gradient(135deg,#fffffffa,#f8fafcf5);border:1px solid rgba(255,255,255,.6);border-radius:16px;box-shadow:0 8px 24px #00000014;padding:24px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);text-align:center;position:relative;overflow:hidden}.tagline-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#667eea,#764ba2,#f59e0b);border-radius:16px 16px 0 0}.tagline-content h3{margin:0 0 12px;font-size:22px;font-weight:700;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:.5px}.tagline-content p{color:#6b7280;font-size:15px;line-height:1.6;max-width:320px;margin:0 auto 20px;font-style:italic}.company-badge{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;background:#f9fafbb3;border:1px solid rgba(229,231,235,.5);border-radius:12px;margin:0 auto;max-width:fit-content;box-shadow:0 2px 8px #0000000a}.powered-by{font-size:12px;color:#9ca3af;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.company-name{font-size:18px;font-weight:800;background:linear-gradient(135deg,#f59e0b,#d97706);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:.5px;text-transform:uppercase}
