*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Arial,Helvetica,sans-serif;background:#ffffff;color:#222222;min-height:100vh}
.topbar{background:#181512;color:#fff;padding:14px 18px;display:flex;align-items:center;gap:12px}
.topbar a{color:#fff;text-decoration:none;font-weight:700}
.topbar img{height:40px}
.wrap{max-width:640px;margin:0 auto;padding:22px 16px 40px}
.card{background:#fff;border:1px solid #e5e5e5;border-radius:14px;padding:22px;margin-bottom:16px;box-shadow:0 2px 10px rgba(0,0,0,.06)}
h1{font-size:22px;color:#222222;margin-bottom:6px}
.sub{color:#787878;font-size:14px;margin-bottom:18px}
.row{display:flex;gap:10px}
input[type=text]{flex:1;padding:13px;border:1.5px solid #e5e5e5;border-radius:10px;font-size:16px;text-transform:uppercase}
input[type=text]:focus{outline:none;border-color:#222222}
button.go{background:#181512;color:#fff;border:0;border-radius:10px;padding:13px 22px;font-size:16px;font-weight:700;cursor:pointer}
button.go:disabled{opacity:.6}
.err{color:#b00020;font-size:14px;margin-top:10px;display:none}
.timeline{margin:18px 0}
.tstep{display:flex;gap:14px;position:relative;padding-bottom:22px}
.tstep:last-child{padding-bottom:0}
.tdot{width:30px;height:30px;border-radius:50%;background:#e9e9e9;color:#787878;display:grid;place-items:center;font-weight:800;flex:0 0 30px;z-index:1}
.tstep.done .tdot{background:#16a34a;color:#fff}
.tstep.now .tdot{background:#181512;color:#fff;box-shadow:0 0 0 5px #181512}
.tstep:not(:last-child)::before{content:'';position:absolute;left:14px;top:30px;bottom:0;width:2px;background:#e9e9e9}
.tstep.done:not(:last-child)::before{background:#16a34a}
.tlabel{font-weight:700;font-size:15px}
.tsub{font-size:13px;color:#787878}
.odetail{font-size:14px;line-height:2}
.odetail b{color:#222222}
.oitems{margin-top:10px;border-top:1px solid #f3f3f3;padding-top:10px}
.oitem{display:flex;justify-content:space-between;padding:6px 0;font-size:14px;border-bottom:1px dashed #f3f3f3}
.ototal{display:flex;justify-content:space-between;font-weight:800;font-size:17px;color:#222222;padding-top:10px}
.badge{display:inline-block;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:800}
.b-Pending{background:#fef3c7;color:#92400e}
.b-Processing{background:#f6f6f6;color:#222222}
.b-Dispatched{background:#f6f6f6;color:#222222}
.b-Delivered{background:#dcfce7;color:#166534}
.b-Cancelled{background:#fee2e2;color:#991b1b}
.hidden{display:none}
.foot{text-align:center;color:#8e8e8e;font-size:12px;padding:20px}
@media(max-width:520px){.row{flex-direction:column}button.go{width:100%}}
