:root{
  --ink:#0B0F19;
  --navy:#0E1B3D;
  --navy-2:#172554;
  --blue:#1E5BD9;
  --blue-2:#3B82F6;
  --yellow:#FFE600;
  --yellow-2:#FFD600;
  --green:#10B981;
  --red:#EF4444;
  --text:#1F2937;
  --muted:#64748B;
  --line:#E5E7EB;
  --line-2:#F3F6FA;
  --bg:#F7F8FB;
  --radius:18px;
  --radius-pill:999px;
  --shadow-sm:0 8px 20px rgba(15,23,42,.06);
  --shadow:0 18px 45px rgba(15,23,42,.10);
  --shadow-lg:0 28px 70px rgba(15,23,42,.18);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  min-height:100vh;
  font-family:'Manrope','Arial Unicode MS',sans-serif;
  background:var(--bg);
  color:var(--text);
  font-size:14px;
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{border:0;background:none;cursor:pointer}
img{max-width:100%;display:block}
.mono{font-family:'Space Grotesk',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}

.topbar{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.92);
  border-bottom:1px solid rgba(226,232,240,.9);
  backdrop-filter:blur(16px);
}
.tb-inner{
  max-width:1280px;
  min-height:74px;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  gap:18px;
}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand-mark{
  width:42px;
  height:42px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex:0 0 auto;
  box-shadow:var(--shadow-sm);
}
.brand-mark img{width:36px;height:36px;object-fit:contain}
.brand-name{display:flex;flex-direction:column;line-height:1.05}
.brand-name strong{font-size:15px;font-weight:800;color:var(--ink)}
.brand-name span{font-size:11px;text-transform:uppercase;letter-spacing:.18em;color:var(--blue);font-weight:800}
.nav{display:flex;align-items:center;justify-content:center;gap:4px;margin-left:auto}
.nav a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 12px;
  border-radius:10px;
  color:var(--muted);
  font-weight:700;
  font-size:13px;
  white-space:nowrap;
}
.nav a:hover,.nav a.active{background:var(--line-2);color:var(--ink)}
.nav a.active i{color:var(--blue)}
.tb-right{display:flex;align-items:center;gap:8px;margin-left:4px;flex:0 0 auto}
.call-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  background:#fff;
  padding:8px 12px;
  border-radius:var(--radius-pill);
  color:var(--ink);
  font-weight:800;
  font-size:12px;
}
.call-pill .dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(16,185,129,.12)}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:12px;
  padding:10px 16px;
  min-height:40px;
  font-weight:800;
  font-size:13px;
  border:1px solid transparent;
  transition:transform .15s,background .15s,border-color .15s,color .15s,box-shadow .15s;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--ink);color:#fff}
.btn-primary:hover{background:#172033}
.btn-yellow{background:var(--yellow);color:var(--ink);box-shadow:0 12px 28px rgba(255,214,0,.24)}
.btn-ghost{background:#fff;color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--ink)}
.btn-lg{min-height:48px;padding:13px 20px;font-size:14px}

.page{max-width:1280px;margin:0 auto;padding:56px 28px 86px}
.page-head{margin-bottom:32px}
.page-head h1{
  font-family:'Space Grotesk',sans-serif;
  color:var(--ink);
  font-size:52px;
  line-height:1.03;
  letter-spacing:0;
  font-weight:700;
}
.page-head p{margin-top:12px;max-width:680px;color:var(--muted);font-size:16px}
.tag{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:6px 12px;
  border-radius:var(--radius-pill);
  background:#EEF2FF;
  color:var(--blue);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:11px;
  font-weight:900;
  margin-bottom:14px;
}
.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:var(--shadow-sm)}
.fg{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.fg label{font-size:12px;font-weight:800;color:var(--muted)}
.fg input,.fg select,.fg textarea{
  width:100%;
  border:1.5px solid var(--line);
  border-radius:12px;
  min-height:44px;
  padding:11px 13px;
  background:#fff;
  color:var(--ink);
  outline:none;
  transition:border-color .15s,box-shadow .15s,background .15s;
}
.fg textarea{min-height:100px;resize:vertical}
.fg input:focus,.fg select:focus,.fg textarea:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 4px rgba(30,91,217,.10);
}
.fg-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.fg-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.full{grid-column:1/-1}
.alert{padding:12px 14px;border-radius:12px;font-size:13px;margin-top:12px}
.alert-success{background:#D1FAE5;border:1px solid #86EFAC;color:#065F46}
.alert-error{background:#FEE2E2;border:1px solid #FCA5A5;color:#991B1B}
.badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:var(--radius-pill);
  padding:4px 10px;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
.badge-transit,.badge-in_transit,.badge-customs,.badge-out_for_delivery{background:#FEF3C7;color:#B45309}
.badge-arrived,.badge-delivered,.badge-paid{background:#D1FAE5;color:#065F46}
.badge-pending,.badge-confirmed,.badge-picked_up{background:#F1F5F9;color:#475569}
.badge-delivery{background:#DBEAFE;color:#1D4ED8}
.badge-unpaid,.badge-cancel,.badge-cancelled{background:#FEE2E2;color:#B91C1C}

.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(460px,.92fr) 1.08fr;background:#fff}
.auth-left{padding:34px 48px;display:flex;flex-direction:column;justify-content:space-between;gap:32px}
.auth-form-wrap{width:100%;max-width:430px;margin:0 auto}
.auth-form-wrap h1{
  font-family:'Space Grotesk',sans-serif;
  font-size:38px;
  letter-spacing:0;
  line-height:1.05;
  color:var(--ink);
  margin-bottom:10px;
}
.auth-form-wrap .sub{color:var(--muted);font-size:15px;margin-bottom:26px}
.auth-right{
  position:relative;
  overflow:hidden;
  padding:44px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  color:#fff;
  background:radial-gradient(120% 90% at 100% 0%,#1E5BD9 0%,#0E1B3D 50%,#060D24 100%);
}
.auth-right::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.35;
  background-image:radial-gradient(1px 1px at 25% 30%,rgba(255,255,255,.35) 1px,transparent 1px),
                   radial-gradient(1px 1px at 80% 70%,rgba(255,255,255,.25) 1px,transparent 1px);
  background-size:110px 110px,170px 170px;
}
.auth-side-content{position:relative;z-index:1;max-width:560px}
.auth-side-content h2{
  font-family:'Space Grotesk',sans-serif;
  font-size:58px;
  line-height:1.03;
  letter-spacing:0;
  margin-bottom:18px;
}
.auth-side-content .accent{color:var(--yellow)}
.auth-side-content p{font-size:17px;color:rgba(255,255,255,.7);max-width:500px}
.auth-features{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:30px}
.auth-features div{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:13px 14px;
  color:rgba(255,255,255,.86);
  font-weight:700;
  font-size:13px;
}
.auth-features i{color:var(--yellow);margin-right:7px}

.f-modern{background:var(--ink);color:rgba(255,255,255,.72);padding:56px 28px 24px;margin-top:0}
.f-inner{max-width:1280px;margin:0 auto}
.f-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:34px;margin-bottom:34px}
.f-brand p{max-width:360px;margin-top:14px;color:rgba(255,255,255,.56)}
.f-col h4{color:#fff;font-size:13px;margin-bottom:12px}
.f-col ul{list-style:none;display:grid;gap:8px}
.f-col a{color:rgba(255,255,255,.62)}
.f-col a:hover{color:var(--yellow)}
.f-bottom{border-top:1px solid rgba(255,255,255,.10);padding-top:18px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12px}
.f-socials{display:flex;gap:8px}
.f-socials a{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:#fff}
.f-socials a:hover{background:var(--yellow);color:var(--ink)}

@media(max-width:980px){
  .tb-inner{padding:12px 16px;flex-wrap:wrap}
  .nav{order:3;width:100%;justify-content:flex-start;overflow-x:auto;margin-left:0;padding-bottom:4px}
  .tb-right{margin-left:auto}
  .call-pill{display:none}
  .page{padding:40px 16px 64px}
  .auth-shell{grid-template-columns:1fr}
  .auth-right{display:none}
  .auth-left{min-height:100vh;padding:24px 18px}
  .f-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .brand-name{display:none}
  .tb-right .btn{padding:9px 11px;font-size:12px}
  .fg-grid,.fg-grid-3{grid-template-columns:1fr}
  .page-head h1{font-size:34px}
  .card{padding:18px;border-radius:14px}
  .f-grid{grid-template-columns:1fr}
  .auth-form-wrap h1{font-size:32px}
}
