*{box-sizing:border-box}body{color:#0f172a;background:#f3f6fb;margin:0;font-family:Inter,Arial,sans-serif}button,input,select{font:inherit}a{text-decoration:none}.muted-text{color:#64748b;font-size:14px}.auth-form{flex-direction:column;gap:16px;display:flex}.auth-form input,.auth-form select{box-sizing:border-box;border:1px solid #d1d5db;border-radius:12px;outline:none;width:100%;padding:14px;font-size:16px}.auth-form button[type=submit]{color:#fff;cursor:pointer;background:#09162f;border:none;border-radius:12px;width:100%;padding:14px;font-size:16px;font-weight:600;transition:all .2s}.auth-form button[type=submit]:hover{opacity:.9}.auth-switch{text-align:center;color:#475569;font-size:15px}.auth-switch button{color:#2563eb;cursor:pointer;background:0 0;border:none;margin-left:4px;padding:0;font-weight:700}.login-card{box-sizing:border-box;background:#fff;border-radius:24px;width:100%;max-width:440px;padding:40px}.app-shell{grid-template-columns:250px 1fr;min-height:100vh;display:grid}.app-main{padding:24px}.sidebar{color:#fff;background:#0f172a;flex-direction:column;justify-content:space-between;padding:22px 16px;display:flex}.brand{margin-bottom:24px;font-size:22px;font-weight:800}.sidebar-nav{gap:10px;display:grid}.nav-item{color:#cbd5e1;border-radius:12px;align-items:center;gap:10px;padding:12px 14px;display:flex}.nav-item.active,.nav-item:hover{color:#fff;background:#ffffff14}.logout-btn{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:12px;align-items:center;gap:10px;padding:12px 14px;display:flex}.topbar{background:#fff;border-radius:18px;justify-content:space-between;align-items:center;margin-bottom:20px;padding:20px 22px;display:flex;box-shadow:0 8px 20px #0f172a0d}.topbar h1{margin:0;font-size:28px}.topbar p{color:#64748b;margin:4px 0 0}.topbar-user{align-items:center;gap:12px;display:flex}.avatar{color:#fff;background:#111827;border-radius:50%;place-items:center;width:42px;height:42px;font-weight:700;display:grid}.login-page{background:linear-gradient(135deg,#0f172a,#1e293b);place-items:center;min-height:100vh;display:grid}.login-card{background:#fff;border-radius:18px;gap:14px;width:360px;padding:32px;display:grid;box-shadow:0 20px 40px #0003}.login-card h1{margin:0}.login-card input,.login-card button{border:1px solid #d1d5db;border-radius:10px;padding:12px 14px}.login-card button{color:#fff;cursor:pointer;background:#111827;border:none}.error-text{color:#dc2626;font-size:14px}.pos-content{gap:18px;display:grid}.toolbar-grid input,.toolbar-grid select{border:1px solid #d1d5db;border-radius:12px;padding:12px 14px}.primary-btn{color:#fff;cursor:pointer;background:#111827;border:none;border-radius:12px;padding:12px 14px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:16px;display:grid}.product-card{background:#fff;border-radius:16px;gap:10px;padding:16px;display:grid;box-shadow:0 8px 20px #0f172a0d}.product-card-head{justify-content:space-between;gap:12px;display:flex}.product-card h3{margin:0;font-size:17px}.product-description{color:#64748b;margin:0;font-size:14px}.variant-box{background:#f8fafc;border-radius:12px;gap:4px;padding:10px;font-size:14px;display:grid}.cart-panel{color:#fff;background:#0f172a;border-radius:18px;flex-direction:column;height:fit-content;min-height:calc(100vh - 140px);padding:20px;display:flex;position:sticky;top:20px}.cart-item-row{justify-content:space-between;align-items:center;display:flex}.pos-layout{grid-template-columns:1fr 360px;gap:20px;display:grid}.pos-content{flex-direction:column;gap:16px;display:flex}.toolbar-card{background:#fff;border-radius:14px;padding:16px;box-shadow:0 6px 16px #0000000d}.toolbar-grid{grid-template-columns:180px 1fr 180px 120px;gap:12px;display:grid}.primary-btn{color:#fff;cursor:pointer;background:#111827;border:none;border-radius:10px}.empty-state{text-align:center;background:#fff;border-radius:16px;padding:32px;box-shadow:0 8px 20px #0f172a0d}.success-banner{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:14px 16px;display:flex}.success-actions{gap:10px;display:flex}.cart-panel{color:#fff;background:#0f172a;border-radius:18px;flex-direction:column;min-height:calc(100vh - 140px);padding:20px;display:flex;position:sticky;top:20px}.cart-panel-header{justify-content:space-between;align-items:center;display:flex}.cart-items{flex:1;gap:14px;margin:18px 0;display:grid;overflow:auto}.cart-item{background:#ffffff0f;border-radius:14px;gap:10px;padding:14px;display:grid}.cart-item p{color:#cbd5e1;margin:2px 0;font-size:13px}.cart-item-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.qty-box{align-items:center;gap:10px;display:flex}.qty-box button{cursor:pointer;border:none;border-radius:8px;width:30px;height:30px}.cart-price{font-weight:700}.remove-btn{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:10px;width:fit-content;padding:8px 12px}.cart-footer{border-top:1px solid #ffffff1f;padding-top:16px}.summary-line{justify-content:space-between;margin-bottom:14px;display:flex}.cart-footer-actions{gap:10px;display:grid}.checkout-btn{color:#fff;cursor:pointer;background:#22c55e;border:none;border-radius:12px;width:100%;padding:14px;font-weight:700}.empty-cart{text-align:center;background:#ffffff0f;border-radius:14px;padding:24px}.empty-cart h3{margin:0 0 8px}.empty-cart p{color:#cbd5e1;margin:0}.product-card{background:#fff;border:1px solid #eef2f7;border-radius:16px;gap:12px;padding:16px;display:grid;box-shadow:0 8px 20px #0f172a0d}.product-card-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.product-card h3{color:#0f172a;margin:0 0 4px;font-size:17px}.product-description{color:#64748b;min-height:40px;margin:0;font-size:14px}.badge{color:#3730a3;white-space:nowrap;background:#e0e7ff;border-radius:999px;padding:4px 10px;font-size:12px}.variant-box{background:#f8fafc;border:1px solid #edf2f7;border-radius:12px;gap:8px;padding:12px;display:grid}.variant-row{justify-content:space-between;align-items:center;gap:12px;font-size:14px;display:flex}.variant-row span{color:#64748b}.archived-product{opacity:.65;border:1px dashed #94a3b8}.stats-grid{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px;display:grid}.dashboard-grid{grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px;display:grid}.stat-card{background:#fff;border:1px solid #eef2f7;border-radius:18px;padding:20px;box-shadow:0 8px 20px #0f172a0d}.stat-title{color:#64748b;margin-bottom:8px;font-size:14px}.stat-value{color:#0f172a;font-size:28px;font-weight:800}.stat-subtitle{color:#94a3b8;margin-top:8px;font-size:13px}.chart-panel{min-height:420px}.chart-box{width:100%;height:320px;margin-top:10px}.panel-head{margin-bottom:14px}.panel-head h3{color:#0f172a;margin:0;font-size:26px}.panel-head p{color:#64748b;margin:6px 0 0}.summary-list{gap:12px;display:grid}.summary-row{background:#f8fafc;border:1px solid #edf2f7;border-radius:12px;justify-content:space-between;align-items:center;padding:14px;display:flex}.simple-table{gap:10px;display:grid}.table-row{background:#f8fafc;border:1px solid #edf2f7;border-radius:12px;grid-template-columns:1fr 120px 120px;gap:12px;padding:12px;display:grid}.products-table-row{align-items:center}.orders-toolbar,.products-toolbar{flex-wrap:wrap;gap:12px;margin-bottom:18px;display:flex}.orders-toolbar select,.orders-toolbar input,.products-toolbar input{background:#fff;border:1px solid #d1d5db;border-radius:12px;padding:12px 14px}.order-table{gap:10px;display:grid}.order-table-head,.order-table-row{grid-template-columns:1.4fr 120px 100px 100px 180px 80px;align-items:center;gap:12px;display:grid}.order-table-head{color:#334155;padding:0 8px 10px;font-weight:700}.order-table-row{background:#f8fafc;border:1px solid #edf2f7;border-radius:12px;padding:14px 10px}.status-pill{text-transform:capitalize;border-radius:999px;width:fit-content;padding:5px 10px;font-size:12px;font-weight:700;display:inline-flex}.status-completed{color:#166534;background:#dcfce7}.status-refunded{color:#991b1b;background:#fee2e2}.status-cancelled{color:#475569;background:#f1f5f9}.invoice-link{color:#2563eb;font-weight:600}.pagination-bar{justify-content:flex-end;align-items:center;gap:12px;margin-top:18px;display:flex}.pagination-bar button{color:#fff;cursor:pointer;background:#111827;border:none;border-radius:10px;padding:10px 14px}.pagination-bar button:disabled{opacity:.5;cursor:not-allowed}.secondary-btn{color:#111827;cursor:pointer;background:#e5e7eb;border:none;border-radius:12px;padding:12px 14px}.refund-btn{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:10px;padding:10px 12px}.refund-btn:disabled{opacity:.6;cursor:not-allowed}.product-actions{gap:10px;margin-top:6px;display:flex}.danger-btn{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:12px;padding:12px 14px}.modal-overlay{z-index:1000;background:#0f172a73;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border-radius:20px;width:100%;max-width:560px;padding:20px;box-shadow:0 20px 50px #0f172a33}.modal-head{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.modal-head h2{margin:0}.icon-btn{cursor:pointer;background:#e5e7eb;border:none;border-radius:10px;width:36px;height:36px;font-size:22px}.product-form{gap:12px;display:grid}.product-form input,.product-form select{background:#fff;border:1px solid #d1d5db;border-radius:12px;padding:12px 14px}.modal-actions{justify-content:flex-end;gap:12px;margin-top:8px;display:flex}.empty-state{text-align:center;background:#fff;border:1px solid #eef2f7;border-radius:16px;padding:32px;box-shadow:0 8px 20px #0f172a0d}.empty-state h3{margin:0 0 8px}.empty-state p{color:#64748b;margin:0}@media (width<=1200px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}}@media (width<=768px){.stats-grid,.order-table-head,.order-table-row,.table-row{grid-template-columns:1fr}}.dashboard-status-bar{background:#fff;border:1px solid #eef2f7;border-radius:14px;justify-content:space-between;align-items:center;margin-bottom:16px;padding:14px 16px;display:flex;box-shadow:0 8px 20px #0f172a0d}.dashboard-status-actions{align-items:center;gap:10px;display:flex}.refresh-badge{color:#1d4ed8;background:#dbeafe;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}
