*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0}body{color:#172033;background:#f5f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;overflow-x:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}.app{min-height:100vh}.topbar{z-index:100;background:#fff;border-bottom:1px solid #e6e9f0;justify-content:space-between;align-items:center;min-height:72px;padding:0 32px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;min-width:0;display:flex}.brandIcon,.loginLogo{color:#fff;background:#1d4ed8;border-radius:12px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.brand b{font-size:17px;display:block}.brand span{color:#778199;margin-top:3px;font-size:12px;display:block}.topRight{align-items:center;gap:14px;display:flex}.user{align-items:center;gap:8px;font-size:13px;display:flex}.user em{text-transform:capitalize;color:#2458c8;background:#eef4ff;border-radius:999px;padding:5px 9px;font-size:11px;font-style:normal;font-weight:700}.iconBtn,.refresh,.actions button{color:#536078;background:#fff;border:1px solid #e0e5ee;border-radius:9px;place-items:center;display:grid}.iconBtn{width:38px;height:38px}.container{width:100%;max-width:1440px;margin:auto;padding:30px}.hero{justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.hero h1{margin:0 0 5px;font-size:28px}.hero p{color:#6d778c;margin:0;font-size:14px}.primary{color:#fff;white-space:nowrap;background:#1d4ed8;border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 16px;font-weight:700;display:inline-flex}.primary:hover{background:#1742b7}.wide{width:100%}.secondary{background:#fff;border:1px solid #dbe1ea;border-radius:9px;min-height:42px;padding:10px 16px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.stat{background:#fff;border:1px solid #e6e9f0;border-radius:14px;align-items:center;gap:13px;min-width:0;padding:18px;display:flex}.statIcon{color:#2563eb;background:#eff5ff;border-radius:10px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.stat span{color:#788398;font-size:12px;display:block}.stat b{margin-top:2px;font-size:22px;display:block}.panel{background:#fff;border:1px solid #e6e9f0;border-radius:14px;width:100%;overflow:hidden}.toolbar{border-bottom:1px solid #edf0f5;align-items:center;gap:10px;padding:16px;display:flex}.search{color:#8390a5;border:1px solid #dfe4ec;border-radius:9px;flex:1;align-items:center;gap:8px;min-width:0;max-width:600px;height:42px;padding:0 12px;display:flex}.search input{background:0 0;border:0;outline:0;width:100%;min-width:0}.toolbar select{background:#fff;border:1px solid #dfe4ec;border-radius:9px;outline:0;min-width:145px;height:42px;padding:0 12px}.refresh{flex-shrink:0;width:42px;height:42px}.tableWrap{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:1050px}th{text-align:left;color:#748097;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;background:#fafbfc;border-bottom:1px solid #edf0f5;padding:12px 14px;font-size:11px}td{vertical-align:top;word-break:break-word;border-bottom:1px solid #edf0f5;padding:14px;font-size:13px}td small{color:#8993a6;margin-top:4px;font-size:11px;display:block}.issue{color:#4d586d;max-width:260px;line-height:1.45}.badge{color:#59657a;white-space:nowrap;background:#eef2f7;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-block}.received{color:#2563eb;background:#edf4ff}.diagnosing{color:#a66a00;background:#fff7df}.in-repair{color:#6d45b5;background:#f0ebff}.ready{color:#087a47;background:#e9fbf2}.delivered{color:#087d77;background:#e7faf9}.cancelled{color:#c33737;background:#ffeded}.actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.actions button{width:34px;height:34px}.actions .danger{color:#c63737}.empty{text-align:center;color:#818ca0;padding:60px 20px}.toast{color:#fff;z-index:300;background:#172033;border-radius:10px;max-width:calc(100vw - 40px);padding:12px 16px;font-size:13px;position:fixed;bottom:25px;right:25px;box-shadow:0 10px 30px #0002}.login{background:linear-gradient(135deg,#eef4ff,#f8fafc);place-items:center;width:100%;min-height:100vh;padding:20px;display:grid}.loginCard{background:#fff;border:1px solid #e4e9f1;border-radius:18px;width:min(420px,100%);padding:34px;box-shadow:0 20px 60px #1e293b12}.loginLogo{margin:auto}.loginCard h1{text-align:center;margin:16px 0 4px}.loginCard>p{text-align:center;color:#7b8598;margin:0 0 26px}.loginCard form{gap:16px;display:grid}.loginCard label,.modal label{color:#4f5b70;gap:7px;font-size:12px;font-weight:700;display:grid}.loginCard input,.modal input,.modal select,.modal textarea{background:#fff;border:1px solid #dce2eb;border-radius:8px;outline:0;width:100%;min-width:0;padding:10px 11px}.loginCard input:focus,.modal input:focus,.modal select:focus,.modal textarea:focus{border-color:#6090ef;box-shadow:0 0 0 3px #2563eb14}.loginCard small{text-align:center;color:#8b94a5;margin-top:18px;line-height:1.5;display:block}.error{color:#bb3434;background:#fff0f0;border-radius:8px;padding:10px;font-size:12px}.overlay{z-index:200;background:#0f172a66;place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow-y:auto}.modal{background:#fff;border-radius:16px;width:min(900px,100%);max-height:calc(100vh - 40px);overflow:auto;box-shadow:0 25px 80px #0003}.modalHead{z-index:2;background:#fff;border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:flex-start;gap:15px;padding:22px 24px;display:flex;position:sticky;top:0}.modalHead h2{margin:0;font-size:20px}.modalHead p{color:#7b8598;margin:5px 0 0;font-size:13px}.modalHead>button{color:#788398;background:0 0;border:0;flex-shrink:0;width:35px;height:35px;font-size:28px;line-height:1}.modal form{padding:22px 24px}.sectionTitle{text-transform:uppercase;letter-spacing:.07em;color:#1d4ed8;margin:4px 0 14px;font-size:12px;font-weight:800}.grid2{grid-template-columns:1fr 1fr;gap:15px;margin-bottom:23px;display:grid}.grid2 .wide{grid-column:1/-1}.modal textarea{resize:vertical;min-height:90px}.modalFoot{background:#fff;justify-content:flex-end;align-items:center;gap:10px;padding-top:4px;padding-bottom:2px;display:flex;position:sticky;bottom:0}@media (width<=1200px){.container{padding:25px}.topbar{padding:0 25px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=768px){.topbar{min-height:64px;padding:0 16px}.brandIcon{width:38px;height:38px}.brand b{font-size:15px}.brand span{font-size:10px}.user span{display:none}.container{padding:20px 16px}.hero{flex-direction:column;align-items:flex-start;gap:15px}.hero h1{font-size:24px}.hero .primary{width:100%}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat{padding:14px}.toolbar{flex-wrap:wrap}.search{flex-basis:100%;width:100%;max-width:none}.toolbar select{flex:1;min-width:0}.modal{width:100%;max-height:calc(100vh - 20px)}.overlay{padding:10px}.modalHead,.modal form{padding:18px}.grid2{grid-template-columns:1fr;gap:14px}.grid2 .wide{grid-column:auto}}@media (width<=600px){.topbar{padding:0 12px}.brand{gap:8px}.brandIcon{border-radius:9px;width:36px;height:36px}.brand b{font-size:14px}.brand span{display:none}.topRight{gap:7px}.user em{padding:4px 7px;font-size:9px}.iconBtn{width:35px;height:35px}.container{padding:16px 12px}.hero h1{font-size:22px}.stats{gap:10px}.stat{border-radius:11px;gap:9px;padding:12px}.statIcon{width:34px;height:34px}.stat b{font-size:18px}.stat span{font-size:10px}.toolbar{padding:12px}.toolbar select{height:40px;font-size:12px}.refresh{width:40px;height:40px}.toast{text-align:center;max-width:none;bottom:12px;left:12px;right:12px}.login{padding:14px}.loginCard{border-radius:15px;padding:25px 18px}.loginCard h1{font-size:23px}.overlay{padding:0}.modal{border-radius:0;height:100%;max-height:100vh}.modalHead{padding:16px}.modalHead h2{font-size:18px}.modalHead p{font-size:11px}.modal form{padding:16px}.modal input,.modal select,.modal textarea{padding:11px;font-size:14px}.modalFoot{gap:8px;padding:12px 0 0}.modalFoot button{flex:1;min-height:44px}}@media (width<=480px){.tableWrap{overflow:visible}table,thead,tbody,tr,th,td{display:block}table{width:100%;min-width:0}thead{display:none}tr{background:#fff;border:1px solid #e6e9f0;border-radius:12px;margin:10px;padding:14px;box-shadow:0 3px 12px #1e293b08}td{border:0;grid-template-columns:100px minmax(0,1fr);align-items:start;gap:10px;width:100%;padding:7px 0;font-size:13px;display:grid}td:before{color:#8993a6;text-transform:uppercase;letter-spacing:.04em;font-size:10px;font-weight:800}td:first-child:before{content:"Repair No."}td:nth-child(2):before{content:"Customer"}td:nth-child(3):before{content:"Product"}td:nth-child(4):before{content:"Issue"}td:nth-child(5):before{content:"Approx Cost"}td:nth-child(6):before{content:"Expected"}td:nth-child(7):before{content:"Status"}td:nth-child(8):before{content:"Actions"}.issue{max-width:none}.actions button{width:38px;height:38px}.empty{padding:45px 15px}}@media (width<=360px){.container{padding:12px 9px}.brand b{font-size:13px}.user em{display:none}.stats{gap:7px}.stat{gap:7px;padding:10px}.statIcon{width:30px;height:30px}.stat b{font-size:17px}.stat span{font-size:9px}tr{margin:8px;padding:11px}td{grid-template-columns:85px minmax(0,1fr);font-size:12px}.modal form,.modalHead{padding:14px}}
