/* =========================================================================
   Sentro Tracking — design tokens
   Palette: warm black + signal orange, built around the brand mark and the
   idea of freight always in motion — package nodes pulse, a slim activity
   line runs along the bottom of every screen.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root{
  --deep:        #0C0C0D;   /* near-black, warm */
  --deep-2:      #1B1A19;
  --sky:         #F85C00;   /* brand orange */
  --sky-bright:  #FF8A3D;
  --pearl:       #FBF8F5;
  --pearl-2:     #F1EAE2;
  --white:       #FFFFFF;
  --ink:         #171512;
  --ink-soft:    #6E655C;
  --line:        #E8DFD4;

  --ok:          #1E9E6E;
  --warn:        #D89A00;
  --bad:         #E1483B;

  --radius:      14px;
  --radius-lg:   22px;
  --shadow:      0 14px 34px -14px rgba(12,12,13,0.35);
  --shadow-sm:   0 6px 18px -8px rgba(12,12,13,0.22);
  --glow:        0 0 0 6px rgba(248,92,0,0.14);

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--pearl);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 34px; /* room for the fixed activity bar */
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
h1,h2,h3,h4{ font-family: var(--font-display); margin: 0; color: var(--deep); font-weight: 800; letter-spacing: -.02em; }
p{ margin: 0 0 .75rem; color: var(--ink-soft); line-height: 1.6; }
a{ color: var(--sky); text-decoration: none; }
img{ max-width: 100%; display:block; }
button{ font-family: inherit; }
:focus-visible{ outline: 2.5px solid var(--sky); outline-offset: 2px; }

.container{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.icon{ display:inline-block; vertical-align:-4px; }

/* ---------- Scroll reveal ---------- */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in-view{ opacity: 1; transform: none; }
.reveal-delay-1.in-view{ transition-delay: .08s; }
.reveal-delay-2.in-view{ transition-delay: .16s; }
.reveal-delay-3.in-view{ transition-delay: .24s; }

/* ---------- Top nav ---------- */
.topbar{
  background: var(--deep);
  color: var(--white);
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container{ display:flex; align-items:center; justify-content:space-between; height: 72px; gap: 12px; position:relative; }
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-weight:700; font-size:1.1rem; color:var(--white); min-width:0; }
.brand img.logo{ height: 30px; width:auto; flex-shrink:0; }
.brand span.brand-text{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.nav-links{ display:flex; align-items:center; gap: 30px; }
.nav-links a{ color: rgba(255,255,255,.8); font-size: .8rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; transition: color .15s; }
.nav-links a:hover{ color: var(--sky-bright); }

.nav-toggle{
  display:none; align-items:center; justify-content:center; width:40px; height:40px; border-radius:9px;
  background: rgba(255,255,255,.08); color:var(--white); border:none; cursor:pointer; flex-shrink:0;
}
.nav-toggle:hover{ background: rgba(255,255,255,.14); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border-radius: 100px; padding: 11px 22px; font-weight:700; font-size:.92rem;
  border: 1px solid transparent; cursor:pointer; transition: transform .12s ease, box-shadow .18s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px) scale(.99); }
.btn-primary{ background: var(--sky); color:var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--sky-bright); box-shadow: var(--glow), var(--shadow-sm); }
/* Higher specificity than .nav-links a:hover so button text stays readable on hover */
.nav-links a.btn-primary:hover{ color: var(--deep); }
.btn-ghost{ background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover{ border-color: var(--white); }
.btn-outline{ background:var(--white); color:var(--deep); border-color: var(--line); }
.btn-outline:hover{ border-color: var(--sky); color: var(--sky); }
.btn-block{ width:100%; }
.btn-lg{ padding: 14px 22px; font-size: 1rem; }
.btn-sm{ padding: 7px 14px; font-size:.82rem; border-radius:8px; }
.btn-danger{ background: var(--bad); color:#fff; }

/* ---------- Mobile nav panel ---------- */
.nav-panel{
  display:none; position:absolute; left:0; right:0; top:72px; background: var(--deep);
  border-bottom: 1px solid rgba(255,255,255,.08); padding: 8px 24px 18px; flex-direction:column; gap:4px;
  box-shadow: var(--shadow);
}
.nav-panel.open{ display:flex; }
.nav-panel a{ color: rgba(255,255,255,.85); padding: 12px 4px; font-size:.96rem; border-bottom:1px solid rgba(255,255,255,.06); }
.nav-panel a:last-child{ border-bottom:none; }

@media (max-width: 860px){
  .nav-links{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background: var(--deep);
  color: var(--white);
  padding: 64px 0 90px;
  overflow: hidden;
}
.hero-bg{
  position:absolute; inset:0; z-index:0;
  background-image: linear-gradient(100deg, rgba(12,12,13,.94) 20%, rgba(12,12,13,.65) 55%, rgba(248,92,0,.25) 100%), url('../img/hero-rider.jpg');
  background-size: cover; background-position: center 30%;
}
.hero .container{ position:relative; z-index:1; }
.hero-grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items:start; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-mono); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase;
  color: var(--sky-bright); background: rgba(248,92,0,.14); border:1px solid rgba(248,92,0,.4);
  padding: 6px 12px; border-radius: 100px; margin-bottom: 18px;
}
.eyebrow .live-dot{ width:7px; height:7px; border-radius:50%; background: var(--sky-bright); animation: heartbeat 1.8s ease-in-out infinite; }
.hero h1{ color:var(--white); font-size: clamp(2rem, 4vw, 2.9rem); line-height:1.12; letter-spacing:-.02em; margin-bottom: 16px; }
.hero p.lead{ color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 46ch; margin-bottom: 26px; }

/* Track lookup — adapted from the "Quick Tracking" reference: dark panel,
   underline input, pill button. Same #trackForm/#trackCode/#trackResult
   hooks as before, just restyled. */
.track-card{
  background: linear-gradient(160deg, #1B1A19 0%, #0C0C0D 100%);
  border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow); position:relative; overflow:hidden;
  border: 1px solid rgba(248,92,0,.22);
}
.track-card::after{
  content:""; position:absolute; right:-50px; bottom:-50px; width:200px; height:200px; border-radius:50%;
  background: radial-gradient(circle, rgba(248,92,0,.22), transparent 70%);
}
.track-eyebrow{
  display:block; font-family: var(--font-mono); font-size:.7rem; letter-spacing:.16em; text-transform:uppercase;
  color: var(--sky-bright); margin-bottom: 10px; position:relative; z-index:1;
}
.track-card h3{ font-size: 1.7rem; color: var(--white); margin-bottom: 6px; position:relative; z-index:1; }
.track-card .hint{ font-size:.85rem; color: rgba(255,255,255,.55); margin-bottom: 22px; position:relative; z-index:1; }
.track-form{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; position:relative; z-index:1; }
.underline-field{ flex:1; min-width:180px; border-bottom: 2px solid rgba(255,255,255,.22); padding-bottom:9px; transition: border-color .15s; }
.underline-field:focus-within{ border-color: var(--sky); }
.underline-input{
  background:transparent; border:none; color:var(--white); width:100%; padding:6px 2px;
  font-family: var(--font-mono); font-size: 1.05rem; letter-spacing:.05em; text-transform:uppercase;
}
.underline-input::placeholder{ color: rgba(255,255,255,.32); }
.underline-input:focus{ outline:none; }
.track-card .btn-primary{ flex-shrink:0; }
#trackResult{ position:relative; z-index:1; }
.input, select.input, textarea.input{
  width:100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  font-family: var(--font-mono); font-size: .95rem; letter-spacing: .03em; text-transform: uppercase;
  color: var(--ink); background: var(--pearl); transition: border-color .15s, box-shadow .15s;
}
input.input:not([data-mono="true"]), textarea.input{ font-family: var(--font-body); text-transform:none; letter-spacing:normal; }
.input:focus, select.input:focus, textarea.input:focus{ outline:none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(248,92,0,.14); }

.hero-stats{ display:flex; gap:26px; margin-top:28px; flex-wrap:wrap; }
.hero-stats strong{ display:block; font-family: var(--font-display); font-size:1.5rem; color:var(--white); }
.hero-stats span{ font-size:.78rem; color: rgba(255,255,255,.65); }

/* ---------- Sections ---------- */
.section{ padding: 64px 0; }
.section-head{ max-width: 640px; margin: 0 auto 36px; text-align:center; }
.section-head h2{ font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom:10px; }

.card{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.card-pad{ padding: 26px; }
.card-hover:hover{ box-shadow: var(--shadow); transform: translateY(-2px); }

/* ---------- Ship form + order summary ---------- */
.ship-grid{ display:grid; grid-template-columns: 1.35fr .95fr; gap: 26px; align-items:start; }
@media (max-width: 900px){ .ship-grid{ grid-template-columns: 1fr; } .hero-grid{ grid-template-columns: 1fr; } }

.field-label{
  display:block; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color: var(--deep); margin-bottom: 6px;
}
.field-label .req{ color: var(--bad); }
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap:16px; margin-bottom:18px; }
.field{ margin-bottom: 18px; }
.suffix-field{ position:relative; }
.suffix-field .input{ padding-right: 58px; }
.suffix-field .suffix{
  position:absolute; right:1px; top:1px; bottom:1px; display:flex; align-items:center; padding:0 14px;
  background: var(--pearl-2); border-left:1.5px solid var(--line); border-radius: 0 9px 9px 0;
  font-family: var(--font-mono); font-size:.72rem; font-weight:700; color: var(--sky);
}

/* Password field with show/hide toggle */
.password-field{ position:relative; }
.password-field .input{ padding-right: 46px; }
.password-toggle{
  position:absolute; right:2px; top:2px; bottom:2px; width:42px; display:flex; align-items:center; justify-content:center;
  background:transparent; border:none; cursor:pointer; color: var(--ink-soft); border-radius:8px;
}
.password-toggle:hover{ color: var(--sky); background: var(--pearl-2); }

.eta-field{ display:none; }
.eta-field.eta-active{ display:block; }
.eta-inputs{ display:flex; gap:12px; }
.eta-inputs > div{ flex:1; position:relative; }
.eta-inputs .input{ padding-right:44px; }
.eta-inputs span{ position:absolute; right:12px; top:50%; transform:translateY(-50%); font-size:.7rem; color:var(--ink-soft); text-transform:uppercase; pointer-events:none; }

/* Live countdown widget (public tracking page) */
.countdown{ display:flex; gap:8px; flex-wrap:wrap; margin:14px 0; }
.countdown-box{ background:var(--deep); color:var(--white); border-radius:10px; padding:10px 12px; text-align:center; min-width:56px; }
.countdown-box .num{ font-family:var(--font-mono); font-size:1.15rem; font-weight:700; color:var(--sky-bright); }
.countdown-box .lbl{ font-size:.62rem; text-transform:uppercase; letter-spacing:.05em; color:rgba(255,255,255,.6); margin-top:2px; }

.divider{ height:1px; background: var(--line); margin: 22px 0; }

.service-options{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.service-card{
  border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; cursor:pointer;
  transition: border-color .15s, box-shadow .15s, background .15s; position:relative;
}
.service-card input{ position:absolute; opacity:0; }
.service-card.active{ border-color: var(--sky); background: rgba(248,92,0,.06); box-shadow: var(--glow); }
.service-card .name{ font-weight:700; color: var(--deep); font-size:.95rem; }
.service-card .rate{ font-family: var(--font-mono); color: var(--sky); font-weight:600; font-size:.85rem; margin-top:4px; }
.service-card .desc{ font-size:.78rem; color: var(--ink-soft); margin-top:6px; }

.parcel-size-badge{
  display:inline-flex; align-items:center; gap:8px; font-family: var(--font-mono); font-size:.78rem;
  color: var(--deep); background: var(--pearl-2); padding: 8px 12px; border-radius: 9px; border: 1px dashed var(--line);
}

/* Order summary panel */
.summary-panel{
  background: linear-gradient(165deg, var(--deep) 0%, var(--deep-2) 100%);
  color: var(--white); border-radius: var(--radius-lg); padding: 26px; position: sticky; top: 90px;
  box-shadow: var(--shadow); border: 1px solid rgba(248,92,0,.18);
}
.summary-panel h3{ color:var(--white); font-size:1.05rem; letter-spacing:.02em; margin-bottom:16px; }
.summary-block{
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 16px; margin-bottom: 14px;
}
.summary-block .label{ font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color: rgba(255,255,255,.55); margin-bottom:10px; }
.summary-row{ display:flex; justify-content:space-between; align-items:center; font-size:.9rem; padding: 5px 0; color: rgba(255,255,255,.85); }
.summary-row strong{ color:var(--white); font-family: var(--font-mono); }
.summary-total{
  display:flex; justify-content:space-between; align-items:baseline; margin-top:6px; padding-top:14px;
  border-top:1px dashed rgba(255,255,255,.25);
}
.summary-total .amount{ font-family: var(--font-display); font-size: 1.9rem; color: var(--sky-bright); }
.route-line{ display:flex; gap:10px; align-items:flex-start; font-size:.86rem; color: rgba(255,255,255,.85); margin-bottom:8px;}
.dot{ width:9px; height:9px; border-radius:50%; margin-top:5px; flex-shrink:0; }
.dot.origin{ background: var(--sky-bright); }
.dot.dest{ background: var(--ok); }

/* ---------- Tracking code result — the "waybill" ---------- */
.waybill{
  background: var(--deep); color: var(--white); border-radius: var(--radius-lg);
  padding: 28px; position: relative; overflow:hidden; box-shadow: var(--shadow); border: 1px solid rgba(248,92,0,.25);
}
.waybill::after{
  content:""; position:absolute; right:-40px; top:-40px; width:180px; height:180px; border-radius:50%;
  background: radial-gradient(circle, rgba(248,92,0,.3), transparent 70%);
}
.waybill .tag{ font-family: var(--font-mono); font-size:.72rem; letter-spacing:.15em; text-transform:uppercase; color: var(--sky-bright); }
.waybill .code{
  font-family: var(--font-mono); font-size: clamp(1.6rem,4vw,2.3rem); font-weight:600; letter-spacing:.06em;
  margin: 10px 0 18px; word-break: break-all;
}
.waybill .perforation{ border-top: 2px dashed rgba(255,255,255,.25); margin: 18px 0; }

/* ---------- Status timeline with a heartbeat pulse on the live node ---------- */
.timeline{ list-style:none; padding:0; margin:0; }
.timeline li{ display:flex; gap:16px; padding-bottom: 26px; position:relative; }
.timeline li:last-child{ padding-bottom:0; }
.timeline li::before{
  content:""; position:absolute; left:9px; top:22px; bottom:-4px; width:2px; background: var(--line);
}
.timeline li:last-child::before{ display:none; }
.timeline .node{ width:20px; height:20px; border-radius:50%; background: var(--pearl-2); border:2px solid var(--line); flex-shrink:0; z-index:1; position:relative; }
.timeline li.done .node{ background: var(--sky); border-color: var(--sky); }
.timeline li.current .node{ background: var(--ok); border-color: var(--ok); }
.timeline li.current .node::before{
  content:""; position:absolute; inset:-6px; border-radius:50%; border:2px solid var(--ok);
  animation: heartbeat-ring 1.6s ease-out infinite;
}
.timeline .t-title{ font-weight:700; color: var(--deep); font-size:.95rem; }
.timeline .t-meta{ font-size:.8rem; color: var(--ink-soft); margin-top:2px; }
.timeline li:not(.done):not(.current) .t-title{ color: var(--ink-soft); font-weight:600; }

@keyframes heartbeat-ring{
  0%   { transform: scale(.7); opacity: .9; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes heartbeat{
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.35);opacity: .65; }
}
@keyframes heartbeat-btn{
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.045); }
}
.btn-heartbeat{ animation: heartbeat-btn 2.2s ease-in-out infinite; }

/* ---------- Status pill ---------- */
.pill{ display:inline-flex; align-items:center; gap:6px; padding:4px 12px; border-radius:100px; font-size:.78rem; font-weight:700; }
.pill::before{ content:""; width:7px; height:7px; border-radius:50%; }
.pill.pending{ background:#FBEFDA; color:#8A5A00; } .pill.pending::before{ background: var(--warn); }
.pill.picked_up, .pill.in_transit{ background:#FDE9DC; color:#B23E00; } .pill.picked_up::before, .pill.in_transit::before{ background: var(--sky); animation: heartbeat 1.8s ease-in-out infinite; }
.pill.out_for_delivery{ background:#FCE3D1; color:#8A3600; } .pill.out_for_delivery::before{ background:#C94A00; animation: heartbeat 1.8s ease-in-out infinite; }
.pill.delivered{ background:#E4F5EC; color:#116B4C; } .pill.delivered::before{ background: var(--ok); }
.pill.cancelled{ background:#FBEAEA; color:#9A2C24; } .pill.cancelled::before{ background: var(--bad); }

/* ---------- Benefits grid ---------- */
.benefits{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px){ .benefits{ grid-template-columns: 1fr; } }
.benefit .icon-wrap{
  width:44px; height:44px; border-radius:11px; background: var(--pearl-2); color: var(--sky);
  display:flex; align-items:center; justify-content:center; margin-bottom:14px;
}
.benefit h4{ font-size:1rem; margin-bottom:6px; }
.benefit p{ font-size:.88rem; }

/* ---------- Auth pages (agent + client login/register) ---------- */
.auth-page{
  min-height: 100vh; position: relative; display:flex; align-items:center; justify-content:center; padding: 40px 20px;
  background: var(--deep);
}
.auth-bg{
  position:absolute; inset:0; z-index:0;
  background-image: linear-gradient(180deg, rgba(12,12,13,.55), rgba(12,12,13,.92)), url('../img/auth-bg-desktop.jpg');
  background-size: cover; background-position: center;
}
.auth-page .container{ position:relative; z-index:1; }
.auth-wrap{ max-width: 420px; margin: 0 auto; width:100%; }
.auth-logo{ display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom: 26px; }
.auth-logo img{ height: 40px; }
.auth-logo span{ font-family: var(--font-display); font-weight:700; color:var(--white); font-size:1.2rem; }
.auth-wrap .card{ background: rgba(255,255,255,.98); }
.auth-wrap .card-pad{ padding: 32px; }
.auth-wrap h2{ margin-bottom:6px; }
.auth-wrap p.sub{ margin-bottom:24px; }
.auth-banner{
  background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.9);
  border-radius: 12px; padding: 14px 16px; font-size:.88rem; margin-bottom: 18px; display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap;
}

/* Signup mode toggle — segmented control switching client/agent fields */
.mode-toggle{
  display:flex; background: var(--pearl-2); border-radius:100px; padding:4px; margin-bottom:24px; gap:4px;
}
.mode-toggle button{
  flex:1; border:none; background:transparent; padding:10px 14px; border-radius:100px; font-weight:700; font-size:.85rem;
  color: var(--ink-soft); cursor:pointer; transition: background .15s, color .15s;
}
.mode-toggle button.active{ background: var(--deep); color: var(--sky); }
.mode-only{ display:none; }
.mode-only.mode-active{ display:block; }
@media (max-width: 640px){
  .auth-bg{ background-image: linear-gradient(180deg, rgba(12,12,13,.5), rgba(12,12,13,.94)), url('../img/auth-bg-mobile.jpg'); }
}

/* ---------- Tables (admin) ---------- */
table.data{ width:100%; border-collapse: collapse; font-size:.88rem; }
table.data th{ text-align:left; font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color: var(--ink-soft); padding: 10px 12px; border-bottom: 1.5px solid var(--line); }
table.data td{ padding: 12px; border-bottom: 1px solid var(--line); color: var(--ink); }
table.data tr{ transition: background .12s; }
table.data tr:hover td{ background: var(--pearl-2); }
.code-chip{ font-family: var(--font-mono); font-weight:600; background: var(--pearl-2); padding:3px 8px; border-radius:6px; font-size:.82rem; }
.table-scroll{ overflow-x:auto; }

/* Small pulsing "new" indicator, sits left of a tracking code */
.new-node{ display:inline-flex; align-items:center; gap:8px; }
.new-node .dot{
  position:relative; width:9px; height:9px; border-radius:50%; background: var(--sky); flex-shrink:0;
}
.new-node .dot::before{
  content:""; position:absolute; inset:-5px; border-radius:50%; border:2px solid var(--sky);
  animation: heartbeat-ring 1.6s ease-out infinite;
}

/* Clickable table rows (the row still contains real links/buttons, which
   take priority — see admin.js) */
tr.row-link{ cursor: pointer; }

/* ---------- Admin shell ---------- */
.admin-shell{ display:grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side{
  background: var(--deep); color:var(--white); padding: 22px 16px; position: sticky; top:0; height:100vh; overflow-y:auto;
}
.admin-side .brand{ margin-bottom: 30px; padding: 0 8px; }
.admin-side nav a{
  display:flex; align-items:center; gap:12px; color: rgba(255,255,255,.72); padding: 11px 12px; border-radius:9px;
  font-size:.9rem; font-weight:500; margin-bottom:4px; transition: background .15s, color .15s;
}
.admin-side nav a .icon{ color: rgba(255,255,255,.55); transition: color .15s; }
.admin-side nav a:hover, .admin-side nav a.active{ background: rgba(248,92,0,.14); color: var(--white); }
.admin-side nav a:hover .icon, .admin-side nav a.active .icon{ color: var(--sky-bright); }
.admin-main{ padding: 30px 34px; background: var(--pearl); min-width:0; }
.admin-topbar-mobile{ display:none; align-items:center; justify-content:space-between; background:var(--deep); color:var(--white); padding: 14px 18px; position:sticky; top:0; z-index:50; }
.admin-topline{ display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; gap:12px; flex-wrap:wrap; }
.stat-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap:18px; margin-bottom: 28px; }
@media (max-width: 900px){ .stat-grid{ grid-template-columns: repeat(2,1fr);} }
.stat-card{ background:var(--white); border:1px solid var(--line); border-radius: var(--radius); padding:18px; display:flex; align-items:center; gap:14px; }
.stat-card .icon-badge{ width:38px; height:38px; border-radius:10px; background: rgba(248,92,0,.1); color:var(--sky); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.stat-card .num{ font-family: var(--font-display); font-size:1.5rem; color: var(--deep); line-height:1.1; }
.stat-card .lbl{ font-size:.74rem; color: var(--ink-soft); text-transform:uppercase; letter-spacing:.05em; }

.alert{ padding: 12px 16px; border-radius: 10px; font-size:.88rem; margin-bottom:18px; }
.alert-error{ background:#FBEAEA; color:#9A2C24; border:1px solid #F4CFCB; }
.alert-ok{ background:#E4F5EC; color:#116B4C; border:1px solid #C4EAD8; }

.footer{ background: var(--deep); color: rgba(255,255,255,.6); padding: 30px 0; font-size:.85rem; }
.footer .container{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; align-items:center; }
.footer-brand{ display:flex; align-items:center; gap:8px; }
.footer-brand img{ height:20px; opacity:.9; }

/* ---------- Fixed bottom activity bar (desktop + mobile) ---------- */
.activity-bar{
  position: fixed; left:0; right:0; bottom:0; height:34px; z-index: 70;
  background: var(--deep); border-top: 1px solid rgba(248,92,0,.25);
  display:flex; align-items:center; overflow:hidden;
}
.activity-bar .rail{
  position:absolute; left:0; top:50%; right:0; height:1px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 6px, transparent 6px 14px);
  transform: translateY(-50%);
}
.activity-track{
  display:flex; align-items:center; gap:46px; white-space:nowrap; padding-left: 100%;
  animation: ticker 52s linear infinite; color: rgba(255,255,255,.75); font-size:.76rem; font-family: var(--font-mono); letter-spacing:.02em;
}
.activity-track span{ display:inline-flex; align-items:center; gap:8px; }
.activity-track .pulse-dot{ width:6px; height:6px; border-radius:50%; background: var(--sky-bright); animation: heartbeat 1.6s ease-in-out infinite; }
@keyframes ticker{
  from{ transform: translateX(0); }
  to{ transform: translateX(-100%); }
}
@media (max-width: 640px){
  .activity-bar{ height:30px; }
  .activity-track{ font-size:.7rem; gap:32px; }
  body{ padding-bottom: 30px; }
}

@media (max-width: 640px){
  .track-form{ flex-direction: column; }
  .field-row{ grid-template-columns: 1fr; }
  .service-options{ grid-template-columns: 1fr; }
  .admin-shell{ grid-template-columns: 1fr; }
  .admin-side{ position: fixed; left:0; top:0; bottom:0; width: 260px; z-index: 90; transform: translateX(-100%); transition: transform .25s ease; box-shadow: var(--shadow); }
  .admin-side.open{ transform: translateX(0); }
  .admin-topbar-mobile{ display:flex; }
  .admin-main{ padding: 20px; }
}
.admin-overlay{ display:none; position:fixed; inset:0; background: rgba(12,12,13,.5); z-index:80; }
.admin-overlay.open{ display:block; }

/* ---------- Notification bell (admin panel) ---------- */
.notif-bell{
  position: fixed; right: 24px; bottom: 50px; z-index: 75;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--deep); color: var(--white);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow); border: 1px solid rgba(248,92,0,.3);
  transition: transform .15s ease;
}
.notif-bell:hover{ transform: translateY(-2px); }
.notif-bell.ringing{ animation: bell-ring .5s ease; }
@keyframes bell-ring{
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(5deg); }
}
.notif-badge{
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px;
  background: var(--sky); color: var(--white); border-radius: 100px; border: 2px solid var(--pearl);
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  display:flex; align-items:center; justify-content:center;
}
@media (max-width: 640px){
  .notif-bell{ right: 16px; bottom: 44px; width: 48px; height: 48px; }
}

/* ---------- Receipt modal ---------- */
.receipt-overlay{
  display:none; position:fixed; inset:0; z-index:200; align-items:center; justify-content:center; padding:24px;
  background: rgba(12,12,13,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.receipt-overlay.open{ display:flex; }
.receipt-modal{
  position:relative; max-width:420px; width:100%; max-height:90vh; overflow-y:auto;
  transform: scale(.92); opacity:0; transition: transform .22s ease, opacity .22s ease;
}
.receipt-overlay.open .receipt-modal{ transform:scale(1); opacity:1; }
.receipt-close{
  position:absolute; top:-14px; right:-14px; width:34px; height:34px; border-radius:50%;
  background:var(--deep); color:#fff; border:2px solid var(--pearl); display:flex; align-items:center; justify-content:center;
  cursor:pointer; z-index:1;
}
.receipt-ticket{
  background:#fff; border-radius:18px; overflow:hidden; box-shadow:0 30px 60px -20px rgba(0,0,0,.5); position:relative;
}
.receipt-head{ background:var(--deep); padding:22px 24px; color:#fff; }
.receipt-head img{ height:24px; margin-bottom:12px; }
.receipt-head .code{ font-family:var(--font-mono); font-size:1.25rem; letter-spacing:.05em; font-weight:700; color:var(--sky-bright); }
.receipt-head .tag{ font-size:.66rem; text-transform:uppercase; letter-spacing:.14em; color:rgba(255,255,255,.55); margin-top:4px; }
.receipt-perf{ border-top:2px dashed rgba(0,0,0,.15); margin:0 24px; }
.receipt-body{ padding:20px 24px; }
.receipt-row{ display:flex; justify-content:space-between; gap:10px; font-size:.83rem; padding:7px 0; border-bottom:1px dashed var(--line); }
.receipt-row:last-child{ border-bottom:none; }
.receipt-row span:first-child{ color:var(--ink-soft); }
.receipt-row span:last-child{ font-weight:600; color:var(--deep); text-align:right; }
.receipt-total{ display:flex; justify-content:space-between; align-items:baseline; margin-top:14px; padding-top:14px; border-top:2px solid var(--deep); }
.receipt-total .amount{ font-family:var(--font-display); font-size:1.5rem; color:var(--sky); font-weight:800; }
.receipt-barcode{
  height:32px; margin:18px 0 4px;
  background: repeating-linear-gradient(90deg, var(--deep) 0 2px, transparent 2px 5px, var(--deep) 5px 6px, transparent 6px 10px);
}
.receipt-footer{ text-align:center; padding:12px; font-size:.66rem; color:var(--ink-soft); }
.receipt-actions{ text-align:center; margin-top:18px; }

/* ---------- Dashboard mini bar chart (weight & revenue by service) ---------- */
.mini-chart{ display:flex; flex-direction:column; gap:22px; }
.mini-chart-row .mc-label{ font-weight:800; color:var(--deep); font-size:.95rem; margin-bottom:10px; font-family:var(--font-display); }
.mc-bar-caption{ display:flex; justify-content:space-between; font-size:.74rem; color:var(--ink-soft); margin-bottom:4px; }
.mc-bar-track{ background:var(--pearl-2); border-radius:8px; height:12px; overflow:hidden; margin-bottom:12px; }
.mc-bar-fill{ height:100%; width:0; border-radius:8px; transition: width 1.1s cubic-bezier(.22,.8,.2,1); }
.mc-bar-fill.weight{ background: var(--sky); }
.mc-bar-fill.revenue{ background: var(--deep); }

/* ---------- Dashboard panel hub (matches the provided design) ---------- */
.panel-grid{
  display:grid; gap:16px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "growth express progress revenue"
    "days   weight  users    revenue";
}
@media (max-width: 1100px){
  .panel-grid{
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "growth express"
      "progress progress"
      "revenue revenue"
      "days weight"
      "users users";
  }
}
@media (max-width: 640px){
  .panel-grid{ grid-template-columns: 1fr;
    grid-template-areas: "growth" "express" "progress" "revenue" "days" "weight" "users";
  }
}
.mini-panel{
  background: var(--pearl); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  display:flex; flex-direction:column;
}
.mini-panel-title{ font-size:.92rem; font-weight:700; color: var(--ink-soft); margin-bottom:14px; }

/* Growth gauge */
.gauge-wrap{ position:relative; width:150px; height:150px; margin:0 auto; }
.gauge-svg{ width:100%; height:100%; transform: rotate(-90deg); }
.gauge-track{ fill:none; stroke: var(--deep); stroke-width:14; }
.gauge-arc{ fill:none; stroke: var(--sky); stroke-width:14; stroke-linecap:round; }
.gauge-center{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.gauge-pct{ font-family:var(--font-display); font-weight:800; font-size:1.7rem; color:var(--deep); }
.gauge-lbl{ font-size:.72rem; color:var(--ink-soft); }

/* Express vs Normal mini chart */
.ev-chart{ display:flex; gap:10px; flex:1; }
.ev-axis{ display:flex; flex-direction:column; justify-content:space-between; font-size:.62rem; color:var(--ink-soft); padding:4px 0; }
.ev-plot{
  flex:1; display:flex; align-items:flex-end; justify-content:space-evenly; gap:28px;
  background: var(--pearl-2); border-radius:10px; padding:12px 10px 0; min-height:150px; position:relative;
}
.ev-pin{
  width:3px; background: var(--sky); border-radius:2px; position:relative; min-height:2px;
  transition: height 1s cubic-bezier(.22,.8,.2,1);
}
.ev-pin.express{ background: var(--deep); }
.ev-pin .ev-chip{
  position:absolute; top:-30px; left:50%; transform:translateX(-50%); white-space:nowrap;
  background: var(--white); border:1px solid var(--line); border-radius:100px; padding:4px 10px;
  font-size:.68rem; font-weight:700; color:var(--deep); box-shadow: var(--shadow-sm);
}
.ev-pin::after{
  content:""; position:absolute; top:-6px; left:50%; transform:translateX(-50%);
  width:8px; height:8px; border-radius:50%; background:inherit;
}

/* Shipment progress list */
.sld-badge{
  display:inline-flex; align-items:center; gap:6px; background: var(--deep); color:#fff;
  font-family:var(--font-mono); font-size:.68rem; font-weight:700; padding:5px 10px; border-radius:100px;
}
.sld-info{
  position:relative; width:15px; height:15px; border-radius:50%; background:rgba(255,255,255,.2);
  display:inline-flex; align-items:center; justify-content:center; font-size:.62rem; font-style:italic; cursor:help;
}
.sld-tooltip{
  display:none; position:absolute; bottom:130%; right:-10px; width:220px; background:var(--white); color:var(--ink);
  border:1px solid var(--line); border-radius:10px; padding:10px 12px; font-size:.72rem; font-weight:400;
  box-shadow: var(--shadow); text-align:left; z-index:10; line-height:1.4;
}
.sld-info:hover .sld-tooltip, .sld-info:focus .sld-tooltip{ display:block; }
.progress-list{ display:flex; flex-direction:column; gap:12px; margin-top:4px; }
.progress-row{ display:grid; grid-template-columns: 88px 1fr 36px; align-items:center; gap:10px; }
.progress-label{ font-size:.72rem; color:var(--ink-soft); }
.progress-track{ background: var(--pearl-2); border-radius:100px; height:9px; overflow:hidden; display:block; }
.progress-fill{ display:block; height:100%; width:0; border-radius:100px; background:var(--sky); transition:width 1s cubic-bezier(.22,.8,.2,1); }
.progress-fill.pending{ background: var(--warn); }
.progress-fill.picked_up{ background: var(--deep); }
.progress-fill.in_transit{ background: var(--sky); }
.progress-fill.delivered{ background: var(--deep); }
.progress-fill.cancelled{ background: var(--bad); }
.progress-pct{ font-size:.74rem; font-weight:700; color:var(--deep); text-align:right; }

/* Average weekly revenue panel */
.revenue-panel{ background: linear-gradient(160deg, var(--deep) 0%, #1B1A19 100%); color:#fff; border:none; position:relative; overflow:hidden; }
.revenue-icon{
  width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.1); color:var(--sky-bright);
  display:flex; align-items:center; justify-content:center; margin-bottom:10px;
}
.revenue-figure{ font-family:var(--font-display); font-size:1.8rem; font-weight:800; color:#fff; margin-bottom:10px; }
.sparkline{ width:100%; height:56px; margin-bottom:10px; }
.sparkline polyline{ fill:none; stroke: var(--sky); stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.revenue-footer{ display:flex; justify-content:space-between; align-items:center; margin-top:auto; }
.revenue-caption{ font-size:.72rem; color:rgba(255,255,255,.5); }
.revenue-growth{ font-size:.74rem; font-weight:700; padding:5px 10px; border-radius:100px; background:rgba(248,92,0,.18); color:var(--sky-bright); }
.revenue-growth.down{ background:rgba(225,72,59,.18); color:#FF8A80; }

/* AVG working days box */
.days-dots{ display:flex; align-items:center; gap:8px; color:var(--ink-soft); font-size:.72rem; margin-bottom:12px; }
.days-big{ font-family:var(--font-display); font-size:1.4rem; font-weight:800; color:var(--deep); }
.days-sub{ font-size:.74rem; color:var(--ink-soft); margin-top:2px; }

/* AVG weight / AVG users boxes */
.avg-box-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.avg-box-title{ font-size:.78rem; font-weight:700; color:var(--ink-soft); }
.period-select{
  border:none; background: var(--sky); color:#fff; font-size:.68rem; font-weight:700; text-transform:uppercase;
  border-radius:100px; padding:4px 20px 4px 10px; cursor:pointer;
  appearance:none; -webkit-appearance:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position: right 4px center; background-size:12px;
}
.period-custom-range{ display:flex; gap:6px; margin-bottom:10px; flex-wrap:wrap; }
.period-custom-range input[type="date"]{
  border:1px solid var(--line); border-radius:8px; padding:5px 8px; font-size:.72rem; font-family:inherit; flex:1; min-width:110px;
}
.avg-box-body{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.avg-box-icon{ width:44px; height:44px; object-fit:contain; }
.avg-box-num{ font-family:var(--font-display); font-size:2rem; font-weight:800; color:var(--deep); }

/* ==========================================================================
   Dashboard analytics panels (Weight & revenue by service)
   ========================================================================== */
.panel-hub{ overflow:hidden; }
.panel-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "growth express progress revenue"
    "days    weight  users    revenue";
  gap: 16px;
}
@media (max-width: 1100px){
  .panel-grid{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "growth express"
      "progress progress"
      "revenue revenue"
      "days weight"
      "users users";
  }
}
@media (max-width: 640px){
  .panel-grid{ grid-template-columns: 1fr; grid-template-areas: "growth" "express" "progress" "revenue" "days" "weight" "users"; }
}

.mini-panel{
  background: var(--pearl-2); border-radius: 16px; padding: 18px; min-width:0;
}
.mini-panel-title{ font-size:.85rem; font-weight:700; color: var(--ink-soft); margin-bottom:14px; }

/* ---- Shipment Growth/Week donut gauge ---- */
.gauge-wrap{ position:relative; width:160px; height:160px; margin:0 auto; }
.gauge-svg{ width:100%; height:100%; transform: rotate(-90deg); }
.gauge-track{ fill: var(--deep); stroke: rgba(255,255,255,.08); stroke-width: 14; }
.gauge-arc{
  fill:none; stroke: var(--sky); stroke-width: 14; stroke-linecap: round;
  transition: stroke-dashoffset 1.1s cubic-bezier(.22,.8,.2,1);
}
.gauge-center{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.gauge-pct{ font-family: var(--font-display); font-size:1.7rem; font-weight:800; color: var(--white); background:var(--deep); }
.gauge-center .gauge-pct, .gauge-center .gauge-lbl{ position:relative; }
.gauge-wrap::before{
  content:""; position:absolute; inset:14px; border-radius:50%; background: var(--deep); z-index:0;
}
.gauge-svg, .gauge-center{ position:relative; z-index:1; }
.gauge-lbl{ font-size:.72rem; color: rgba(255,255,255,.55); margin-top:2px; }

/* ---- Express vs Normal mini chart ---- */
.ev-chart{ display:flex; gap:10px; height:170px; }
.ev-axis{ display:flex; flex-direction:column; justify-content:space-between; font-size:.62rem; color:var(--ink-soft); text-align:right; padding:4px 0; }
.ev-plot{
  flex:1; display:flex; align-items:flex-end; justify-content:space-evenly; gap:20px;
  background: linear-gradient(0deg, var(--line) 1px, transparent 1px) 0 0/100% 25%;
  border-left:1px solid var(--line); border-bottom:1px solid var(--line); padding-top:10px;
}
.ev-pin{ width:3px; background: var(--sky); border-radius:3px; position:relative; transition: height 1s cubic-bezier(.22,.8,.2,1); min-height:2px; }
.ev-pin.express{ background: var(--deep); }
.ev-pin .ev-chip{
  position:absolute; top:-30px; left:50%; transform:translateX(-50%); white-space:nowrap;
  background: var(--deep); color:#fff; font-size:.68rem; font-weight:700; padding:4px 10px; border-radius:100px;
}
.ev-pin.express .ev-chip{ background: var(--sky); }
.ev-pin::after{ content:""; position:absolute; top:-6px; left:50%; transform:translateX(-50%); width:9px; height:9px; border-radius:50%; background:inherit; }

/* ---- Shipment Progress ---- */
.sld-badge{
  display:inline-flex; align-items:center; gap:6px; background: var(--deep); color:#fff; font-size:.68rem; font-weight:700;
  padding:5px 10px; border-radius:100px;
}
.sld-info{
  position:relative; display:inline-flex; align-items:center; justify-content:center; width:15px; height:15px; border-radius:50%;
  background: rgba(255,255,255,.2); font-size:.62rem; font-style:italic; font-family:Georgia,serif; cursor:help;
}
.sld-tooltip{
  display:none; position:absolute; bottom:130%; left:50%; transform:translateX(-50%); width:220px;
  background: var(--white); color: var(--ink); font-size:.72rem; font-weight:500; font-style:normal;
  padding:10px 12px; border-radius:10px; box-shadow: var(--shadow); text-align:left; z-index:10; line-height:1.4;
}
.sld-info:hover .sld-tooltip, .sld-info:focus .sld-tooltip{ display:block; }
.progress-list{ display:flex; flex-direction:column; gap:12px; }
.progress-row{ display:flex; align-items:center; gap:10px; }
.progress-label{ width:100px; flex-shrink:0; font-size:.76rem; color: var(--ink-soft); }
.progress-track{ flex:1; height:9px; background: var(--line); border-radius:100px; overflow:hidden; }
.progress-fill{ display:block; height:100%; width:0; border-radius:100px; background: var(--sky); transition: width 1.1s cubic-bezier(.22,.8,.2,1); }
.progress-fill.picked_up, .progress-fill.delivered{ background: var(--deep); }
.progress-fill.cancelled{ background: var(--bad); }
.progress-pct{ width:34px; text-align:right; font-size:.74rem; font-weight:700; color: var(--deep); flex-shrink:0; }

/* ---- Average Weekly Revenue ---- */
.revenue-panel{
  background: linear-gradient(160deg, var(--deep) 0%, #1B1A19 100%); color:#fff; grid-row: span 2; display:flex; flex-direction:column;
}
.revenue-icon{ width:34px; height:34px; border-radius:50%; background: rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; margin-bottom:14px; color: var(--sky-bright); }
.revenue-figure{ font-family: var(--font-display); font-size:1.9rem; font-weight:800; margin-bottom:10px; }
.sparkline{ width:100%; height:60px; margin-bottom:auto; }
.sparkline polyline{
  fill:none; stroke: var(--sky-bright); stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw-sparkline 1.6s cubic-bezier(.22,.8,.2,1) forwards .2s;
}
@keyframes draw-sparkline{ to{ stroke-dashoffset: 0; } }
.revenue-footer{ display:flex; justify-content:space-between; align-items:center; margin-top:16px; }
.revenue-caption{ font-size:.72rem; color: rgba(255,255,255,.5); }
.revenue-growth{ font-size:.76rem; font-weight:700; padding:5px 12px; border-radius:100px; background: rgba(255,255,255,.12); }
.revenue-growth.up{ color: #6EE7B7; }
.revenue-growth.down{ color: #FCA5A5; }

/* ---- AVG working days ---- */
.days-dots{ display:flex; align-items:center; gap:8px; color: var(--ink-soft); font-size:.74rem; font-weight:600; margin-bottom:12px; }
.days-big{ font-family: var(--font-display); font-size:1.5rem; font-weight:800; color: var(--deep); }
.days-sub{ font-size:.76rem; color: var(--ink-soft); margin-top:2px; }

/* ---- AVG weight / AVG users boxes ---- */
.avg-box-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; position:relative; }
.avg-box-title{ font-size:.8rem; font-weight:700; color: var(--ink-soft); }
.period-select{
  background: var(--sky); color:#fff; font-size:.66rem; font-weight:700; text-transform:uppercase; letter-spacing:.03em;
  border:none; border-radius:100px; padding:4px 22px 4px 10px; cursor:pointer; appearance:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position: right 8px center;
}
.period-custom-range{ display:flex; gap:6px; margin-bottom:12px; flex-wrap:wrap; }
.period-custom-range input[type=date]{ flex:1; min-width:110px; padding:7px 8px; border-radius:8px; border:1.5px solid var(--line); font-size:.76rem; font-family:inherit; }
.avg-box-body{ display:flex; align-items:center; gap:12px; }
.avg-box-icon{ width:40px; height:40px; object-fit:contain; }
.avg-box-num{ font-family: var(--font-display); font-size:2rem; font-weight:800; color: var(--deep); }
