/* ==========================================================================
   VALMONT DATA — storefront design system (Valmont house style)
   navy #0b1f3a / #071428 · orange-gold #d9772a · mobile-first
   ========================================================================== */

:root {
  --navy: #0b1f3a;
  --navy-2: #071428;
  --navy-3: #0b1f3a;
  --panel: #071428;
  --panel-alt: #071428;
  --panel-2: #0b1f3a;
  --line: rgba(248, 250, 252, 0.09);
  --line-strong: rgba(248, 250, 252, 0.22);
  --white: #f8fafc;
  --soft: #c3cfe8;
  --muted: #7f8fb4;
  --orange: #d9772a;
  --orange-2: #e89a4f;
  --orange-glow: rgba(217, 119, 42, 0.22);
  --green: #2fe68f;
  --green-glow: rgba(47, 230, 143, 0.18);
  --red: #ff5c4d;
  --red-glow: rgba(255, 92, 77, 0.18);
  --blue: #4d9fff;
  --mtn: #FFCB05;
  --mtn-glow: rgba(255, 203, 5, 0.2);
  --telecel: #FF4D4D;
  --telecel-brand: #E60000;
  --telecel-glow: rgba(255, 77, 77, 0.2);
  --airtel: #4D9BF5;
  --airtel-brand: #0057B8;
  --airtel-glow: rgba(77, 155, 245, 0.2);
  --r: 18px;
  --r-sm: 12px;
  --r-lg: 26px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--navy);
  color: var(--soft);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange-2); }
b, strong { color: var(--white); font-weight: 700; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
main { flex: 1; padding-bottom: 40px; }
section { padding: 48px 0; }

.k { letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; font-weight: 800; color: var(--orange); }
.t { font-size: clamp(28px, 4.6vw, 44px); font-weight: 850; color: var(--white); line-height: 1.12; letter-spacing: -0.5px; }
.t em { font-style: normal; color: var(--orange); }
.lead { font-size: 17px; color: var(--soft); max-width: 720px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--navy-2); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; color: var(--white); letter-spacing: -0.3px; text-decoration: none; }
.brand .text-col { display: flex; flex-direction: column; justify-content: center; }
.brand .logo { width: 38px; height: 38px; display: grid; place-items: center; flex: none; border-radius: 9px; box-shadow: 0 2px 10px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06); transition: transform .18s ease, box-shadow .18s ease; }
.brand:hover .logo { transform: scale(1.06) rotate(-3deg); box-shadow: 0 4px 16px rgba(0,0,0,.45), 0 0 0 1px rgba(217,119,42,.35); }
/* brand banner logo (transparent constellation + wordmark) */
.brand .brand-banner { height: 42px; width: auto; display: block; flex: none; transition: transform .18s ease, opacity .18s ease; }
.brand .brand-banner.brand-banner-sm { height: 30px; }
.brand:hover .brand-banner { transform: scale(1.03); opacity: 0.94; }
@media (max-width: 720px) { .brand .brand-banner { height: 34px; } .brand .brand-banner.brand-banner-sm { height: 26px; } }
.brand small { font-size: 10px; font-weight: 700; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 1px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--soft); font-weight: 700; font-size: 14px; padding: 9px 13px; border-radius: 10px; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--orange); }
.greeting-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(217, 119, 42, 0.12); border: 1px solid rgba(217, 119, 42, 0.35); color: var(--orange-2); font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: var(--transition); }
.greeting-chip:hover { background: rgba(217, 119, 42, 0.22); }
@media (max-width: 720px) {
  .nav-links { gap: 2px; }
  .nav-links a { padding: 8px 9px; font-size: 13px; }
}

/* ---------- continuous scrolling ticker marquee (infinite smooth loop, pause on hover) ---------- */
.marquee,
.ticker {
  background: var(--navy-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 49;
}
.marquee-track,
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:hover .ticker-track,
.ticker:hover .marquee-track,
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.marquee-content,
.ticker-content {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 14px;
  flex: none;
}
.marquee-item,
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--soft);
  flex: none;
  white-space: nowrap;
}
.marquee-item b,
.ticker-item b {
  color: var(--white);
}
.marquee-link,
.ticker-link {
  color: var(--orange);
  font-weight: 900;
  text-decoration: none;
  margin-left: 6px;
  transition: var(--transition);
}
.marquee-link:hover,
.ticker-link:hover {
  color: var(--orange-2);
  text-decoration: underline;
}
.marquee-dot,
.ticker-dot {
  color: var(--muted);
  opacity: 0.45;
  font-size: 14px;
  flex: none;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 720px) {
  .marquee-content, .ticker-content { gap: 18px; padding: 9px 10px; }
  .marquee-item, .ticker-item { font-size: 12.5px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; border: none; cursor: pointer; font-weight: 800; font-size: 15px; font-family: inherit; transition: var(--transition); line-height: 1.2; text-decoration: none; }
.btn-orange { background: var(--orange); color: #1a0f00; box-shadow: 0 8px 24px var(--orange-glow); }
.btn-orange:hover { background: var(--orange-2); color: #1a0f00; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--soft); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 999px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.hero .t { font-size: clamp(32px, 5vw, 52px); }
.hero .lead { margin: 16px 0 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--soft); }
.chip.live { background: var(--orange-glow); border-color: rgba(217, 119, 42, 0.4); color: var(--orange-2); }
.chip.live b { color: var(--orange-2); }

.hero-panel { background: linear-gradient(160deg, rgba(217, 119, 42, 0.08), rgba(22,48,94,0.5)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.hero-panel h3 { color: var(--white); font-size: 16px; margin-bottom: 4px; }
.hero-panel .sub { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.hero-panel .row { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; font-size: 14px; }
.hero-panel .row b { color: var(--white); }
.hero-panel .row .net { font-weight: 800; font-size: 12.5px; }
.hero-panel .row.mtn .net { color: var(--mtn); }
.hero-panel .row.telecel .net { color: var(--telecel); }
.hero-panel .row.airteltigo .net { color: var(--airtel); }

/* ---------- tabs + bundle grid ---------- */
.net-tabs { display: flex; gap: 6px; background: rgba(0,0,0,0.25); padding: 6px; border-radius: 14px; margin: 22px 0 6px; max-width: 520px; }
.net-tab { flex: 1; text-align: center; padding: 11px 6px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; background: transparent; color: var(--muted); font-weight: 800; font-size: 14px; font-family: inherit; transition: var(--transition); }
.net-tab:hover:not(.on) { color: var(--white); background: rgba(255,255,255,0.05); }
.net-tab.on { background: rgba(255,255,255,0.08); color: var(--white); }
.net-tab.on[data-net="mtn"] { background: rgba(255, 203, 5, 0.12); color: var(--mtn); border-color: rgba(255, 203, 5, 0.4); box-shadow: 0 4px 16px var(--mtn-glow); }
.net-tab.on[data-net="telecel"] { background: rgba(230, 0, 0, 0.12); color: var(--telecel); border-color: rgba(255, 77, 77, 0.4); box-shadow: 0 4px 16px var(--telecel-glow); }
.net-tab.on[data-net="airteltigo"] { background: rgba(0, 87, 184, 0.16); color: var(--airtel); border-color: rgba(77, 155, 245, 0.4); box-shadow: 0 4px 16px var(--airtel-glow); }

/* ---------- Datamart-style vibrant solid bundle cards ---------- */
.delivery-guarantee-banner {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(90deg, rgba(217,119,42,0.15), rgba(255,203,5,0.12));
  border: 1px solid rgba(217,119,42,0.35);
  color: var(--white); font-weight: 800; font-size: 13.5px;
  padding: 10px 18px; border-radius: 999px; margin: 14px auto 18px;
  max-width: 520px; text-align: center; letter-spacing: 0.02em;
}
.delivery-guarantee-banner b { color: var(--orange-2); }

.bundle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 18px; }
.bundle {
  border: none; border-radius: 16px; padding: 18px 18px 16px;
  cursor: pointer; transition: var(--transition); position: relative; overflow: hidden;
  font-family: inherit; text-align: left; width: 100%;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.bundle:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.38); }
.bundle::before { display: none; }

/* Vibrant solid backgrounds with high-contrast text */
.bundle.mtn { background: #FFCB05; color: #0b1f3a; }
.bundle.telecel { background: #E60000; color: var(--white); }
.bundle.airteltigo { background: #0057B8; color: var(--white); }

.bundle-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bundle-size { font-size: 30px; font-weight: 900; letter-spacing: -0.6px; line-height: 1; }
.bundle.mtn .bundle-size { color: #0b1f3a; }
.bundle.telecel .bundle-size, .bundle.airteltigo .bundle-size { color: var(--white); }

.bundle-network-badge {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; flex: none;
}
.bundle.mtn .bundle-network-badge { background: #0b1f3a; color: #FFCB05; }
.bundle.telecel .bundle-network-badge { background: var(--navy-2); color: #E60000; }
.bundle.airteltigo .bundle-network-badge { background: var(--navy-2); color: #0057B8; }

.bundle-delivery-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px;
  width: fit-content;
}
.bundle.mtn .bundle-delivery-badge { background: rgba(11,31,58,0.12); color: #0b1f3a; border: 1px solid rgba(11,31,58,0.18); }
.bundle.telecel .bundle-delivery-badge { background: rgba(255,255,255,0.18); color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.bundle.airteltigo .bundle-delivery-badge { background: rgba(255,255,255,0.18); color: var(--white); border: 1px solid rgba(255,255,255,0.35); }

.bundle-details-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px;
  background: rgba(0,0,0,0.06); border-radius: 12px; padding: 12px 10px; margin-top: 2px;
}
.bundle.telecel .bundle-details-grid, .bundle.airteltigo .bundle-details-grid { background: rgba(255,255,255,0.14); }
.bundle.mtn .bundle-details-grid { background: rgba(11,31,58,0.07); }
.bundle-details-grid .detail { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.bundle-details-grid .detail + .detail { border-left: 1px solid rgba(0,0,0,0.1); }
.bundle.telecel .bundle-details-grid .detail + .detail,
.bundle.airteltigo .bundle-details-grid .detail + .detail { border-left-color: rgba(255,255,255,0.28); }
.bundle-details-grid .label { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.bundle.mtn .bundle-details-grid .label { color: rgba(11,31,58,0.7); }
.bundle.telecel .bundle-details-grid .label, .bundle.airteltigo .bundle-details-grid .label { color: rgba(255,255,255,0.85); }
.bundle-details-grid .value { font-size: 13px; font-weight: 900; line-height: 1.2; }
.bundle.mtn .bundle-details-grid .value { color: #0b1f3a; }
.bundle.telecel .bundle-details-grid .value, .bundle.airteltigo .bundle-details-grid .value { color: var(--white); }
.bundle-details-grid .value.price-val { font-size: 14px; }

/* Legacy selectors for backward compat inside bundle cards */
.bundle .net { font-size: 11px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.bundle .net.mtn { color: inherit; }
.bundle .net.telecel { color: inherit; }
.bundle .net.airteltigo { color: inherit; }
.bundle .gb { font-size: 25px; font-weight: 900; letter-spacing: -0.5px; }
.bundle .price { font-size: 17px; font-weight: 900; margin: 6px 0 2px; }
.bundle .price small { font-size: 12px; font-weight: 600; opacity: 0.75; }
.bundle.mtn .price small { color: rgba(11,31,58,0.7); }
.bundle.telecel .price small, .bundle.airteltigo .price small { color: rgba(255,255,255,0.85); }
.bundle .meta { font-size: 12px; margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.bundle .meta span { padding: 3px 9px; border-radius: 999px; font-weight: 700; font-size: 11px; }
.bundle.mtn .meta span { background: rgba(11,31,58,0.1); border: 1px solid rgba(11,31,58,0.14); color: #0b1f3a; }
.bundle.telecel .meta span, .bundle.airteltigo .meta span { background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3); color: var(--white); }

.bundle.disabled { opacity: 0.55; cursor: not-allowed; filter: grayscale(0.2); }
.bundle.disabled:hover { transform: none; box-shadow: 0 10px 28px rgba(0,0,0,0.28); }
.bundle.disabled .price { opacity: 1; }
.bundle .soldout { position: absolute; top: 12px; right: 12px; background: #0b1f3a; color: var(--white); font-size: 10px; font-weight: 900; padding: 4px 9px; border-radius: 999px; letter-spacing: 0.06em; z-index: 2; }
.bundle.telecel .soldout, .bundle.airteltigo .soldout { background: var(--navy-2); color: #E60000; }
.bundle.airteltigo .soldout { color: #0057B8; }
.bundle .soldout.soft { background: #0b1f3a; color: #FFCB05; border: none; }
.bundle.telecel .soldout.soft { background: rgba(0,0,0,0.25); color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.bundle.airteltigo .soldout.soft { background: rgba(0,0,0,0.25); color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.bundle .restock-note { font-size: 12px; font-weight: 800; margin-top: 4px; }
.bundle.mtn .restock-note { color: #0b1f3a; }
.bundle.telecel .restock-note, .bundle.airteltigo .restock-note { color: var(--white); text-shadow: 0 1px 2px rgba(0,0,0,0.2); }

/* Network brand chips and pills */
.net-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.net-chip.mtn, .pill.mtn {
  background: rgba(255, 203, 5, 0.12);
  color: var(--mtn);
  border: 1px solid rgba(255, 203, 5, 0.35);
}
.net-chip.telecel, .pill.telecel {
  background: rgba(230, 0, 0, 0.12);
  color: var(--telecel);
  border: 1px solid rgba(255, 77, 77, 0.35);
}
.net-chip.airteltigo, .pill.airteltigo {
  background: rgba(0, 87, 184, 0.16);
  color: var(--airtel);
  border: 1px solid rgba(77, 155, 245, 0.35);
}

.notice { background: rgba(255, 92, 77, 0.08); border: 1px solid rgba(255, 92, 77, 0.35); color: #ffb3ab; border-radius: var(--r); padding: 14px 18px; font-size: 14px; margin: 14px 0; }
.notice b { color: #ffd9d4; }
.notice.info { background: rgba(77, 159, 255, 0.08); border-color: rgba(77, 159, 255, 0.35); color: #bfd7ff; }
.notice.info b { color: #dceaff; }
.notice.warn { background: rgba(217, 119, 42, 0.09); border-color: rgba(217, 119, 42, 0.4); color: #ffd9a8; }
.notice.warn b { color: #ffe9c7; }
.notice.ok { background: rgba(47, 230, 143, 0.08); border-color: rgba(47, 230, 143, 0.4); color: #a7f5cf; }
.notice.ok b { color: #d2f9e4; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; margin-top: 26px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px 18px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-size: 12px; font-weight: 900; color: var(--orange); letter-spacing: 0.08em; }
.step h4 { color: var(--white); margin: 10px 0 6px; font-size: 15px; }
.step p { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- solid auth and utility surfaces ---------- */
.signin-card,
.signup-card,
.auth-box {
  background: var(--panel-alt) !important;
  border-color: var(--line-strong);
}

.chat-bubble {
  background: var(--panel-alt) !important;
  color: var(--white) !important;
  border: 1px solid var(--line-strong);
}
.chat-bubble::after { background: var(--panel-alt) !important; }

/* ---------- forms & chips ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 800; color: var(--soft); margin-bottom: 7px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.inp { width: 100%; padding: 14px 16px; border-radius: 13px; border: 1.5px solid var(--line-strong); background: rgba(255,255,255,0.045); color: var(--white); font-size: 16px; font-family: inherit; transition: var(--transition); }
.inp::placeholder { color: var(--muted); }
.inp:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-glow); }
.inp.bad { border-color: var(--red); }
.inp.ok { border-color: var(--green); }
.inp-group { display: flex; gap: 10px; }
.inp-group .inp { flex: 1; }

.chip-suggestions { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.num-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.05); color: var(--soft); cursor: pointer; transition: var(--transition); }
.num-chip:hover { border-color: var(--orange); color: var(--orange); background: rgba(217, 119, 42, 0.1); }
.num-chip.momo { border-color: rgba(77, 159, 255, 0.35); color: #bfd7ff; }

/* ---------- auth tabs ---------- */
.auth-tabs { display: flex; gap: 6px; background: rgba(0,0,0,0.3); padding: 4px; border-radius: 12px; margin-bottom: 18px; }
.auth-tab { flex: 1; text-align: center; padding: 9px; border-radius: 9px; border: none; background: transparent; color: var(--muted); font-weight: 800; font-size: 13.5px; cursor: pointer; transition: var(--transition); }
.auth-tab.active { background: rgba(255,255,255,0.1); color: var(--white); }

/* ---------- modal ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(4, 10, 26, 0.74); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; z-index: 100; padding: 18px; }
.modal-back.open { display: flex; }
.modal { background: var(--navy-2); border: 1px solid var(--line-strong); border-radius: var(--r-lg); width: 100%; max-width: 480px; padding: 26px; position: relative; max-height: 92vh; overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.modal h3 { color: var(--white); font-size: 20px; margin-bottom: 4px; }
.modal .m-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.modal .m-close { position: absolute; top: 14px; right: 14px; background: none; border: none; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }
.modal .m-close:hover { color: var(--white); }
.order-summary { background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; font-size: 14px; }
.order-summary .row { display: flex; justify-content: space-between; padding: 4px 0; }
.order-summary .row b { color: var(--white); }
.order-summary .row.total { border-top: 1px dashed var(--line-strong); margin-top: 8px; padding-top: 10px; font-size: 16px; }
.order-summary .row.total b { color: var(--orange); }
.big-number { font-size: 24px; font-weight: 900; color: var(--white); letter-spacing: 0.5px; text-align: center; background: rgba(255,255,255,0.04); border: 1px dashed var(--line-strong); border-radius: 14px; padding: 14px; margin: 12px 0; }
.demo-note { font-size: 12px; color: var(--muted); background: rgba(217, 119, 42, 0.07); border: 1px dashed rgba(217, 119, 42, 0.35); border-radius: 10px; padding: 9px 12px; margin-top: 14px; }

/* ---------- SMS lead capture popup (Datamart-style solid vibrant card) ---------- */
.sms-lead-modal { max-width: 440px; padding: 0; overflow: hidden; border: none; }
.sms-lead-hero {
  background: linear-gradient(135deg, #FFCB05 0%, #d9772a 100%);
  color: #0b1f3a;
  padding: 30px 26px 24px;
  text-align: center;
  position: relative;
}
.sms-lead-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 14px;
  background: var(--navy-2);
  border-radius: 18px 18px 0 0;
}
.sms-lead-emoji {
  width: 58px; height: 58px; margin: 0 auto 12px;
  background: #0b1f3a; border-radius: 18px;
  display: grid; place-items: center;
  font-size: 28px;
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.35);
}
.sms-lead-hero h3 { color: #0b1f3a; font-size: 21px; line-height: 1.25; margin-bottom: 8px; font-weight: 900; }
.sms-lead-hero p { color: rgba(11, 31, 58, 0.82); font-size: 13.5px; font-weight: 600; margin: 0; }
.sms-lead-modal .field, .sms-lead-modal .btn { margin-left: 26px; margin-right: 26px; width: calc(100% - 52px); }
.sms-lead-modal .btn { padding: 13px 20px; }
.sms-lead-modal .field label { color: var(--soft); }
.sms-lead-modal .m-close { color: rgba(11, 31, 58, 0.6); z-index: 2; }
.sms-lead-modal .m-close:hover { color: #0b1f3a; }
.sms-lead-modal .btn-ghost { margin-bottom: 24px; }

/* ---------- account panel ---------- */
.account-panel { display: grid; gap: 18px; }
.profile-greeting-box { background: linear-gradient(135deg, rgba(217, 119, 42, 0.15), rgba(77,159,255,0.1)); border: 1px solid rgba(217, 119, 42, 0.3); border-radius: 14px; padding: 16px; text-align: center; }
.profile-greeting-box h2 { font-size: 20px; color: var(--white); }
.profile-greeting-box p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.account-section { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.account-section h4 { color: var(--white); font-size: 14px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.num-list { display: grid; gap: 8px; }
.num-item { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 13.5px; }
.num-item .tag { color: var(--muted); font-size: 11.5px; font-weight: 700; margin-left: 6px; }
.del-btn { background: none; border: none; color: var(--muted); font-size: 16px; cursor: pointer; padding: 0 4px; }
.del-btn:hover { color: var(--red); }
.order-mini-list { display: grid; gap: 8px; max-height: 200px; overflow-y: auto; }
.order-mini-item { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 13px; }

/* ---------- status page ---------- */
.track-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-top: 16px; }
.track-card .oid { font-size: 18px; font-weight: 900; color: var(--white); }
.track-card .oid small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.track-card .details { display: grid; gap: 8px; margin-top: 16px; font-size: 14px; }
.track-card .details .drow { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 7px; }
.track-card .details .drow span { color: var(--muted); }
.pill { display: inline-block; font-size: 11px; font-weight: 900; padding: 4px 11px; border-radius: 999px; letter-spacing: 0.05em; vertical-align: middle; }
.pill.pending { background: rgba(255,255,255,0.1); color: var(--soft); }
.pill.paid { background: rgba(77,159,255,0.15); color: #8fbcff; }
.pill.delivering { background: rgba(217, 119, 42, 0.15); color: var(--orange-2); animation: pulse 1.6s infinite; }
.pill.delivered { background: rgba(47,230,143,0.15); color: var(--green); }
.pill.failed { background: rgba(255,92,77,0.15); color: #ff9d92; }
.pill.refunded { background: rgba(77,159,255,0.15); color: #8fbcff; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ---------- admin ---------- */
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.admin-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}
.admin-tab:hover:not(.on) {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(217, 119, 42, 0.4);
  color: var(--white);
}
.admin-tab.on {
  background: var(--orange);
  border-color: var(--orange);
  color: #1a0f00;
  box-shadow: 0 4px 18px var(--orange-glow);
}
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.stat-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; transition: var(--transition); }
.stat-card.stat-card-mtn { border-top: 3px solid var(--mtn); }
.stat-card.stat-card-telecel { border-top: 3px solid var(--telecel); }
.stat-card.stat-card-airteltigo { border-top: 3px solid var(--airtel); }
.stat-card .label { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-card .value { font-size: 26px; font-weight: 900; color: var(--white); margin-top: 6px; }
.stat-card .value.low { color: var(--red); }
.stat-card .value.ok { color: var(--green); }
.stat-card .sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); margin-top: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 11px 14px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; background: rgba(255,255,255,0.03); }
td { color: var(--soft); }
tr:last-child td { border-bottom: none; }
td .err { color: #ff9d92; font-size: 12px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; align-items: end; }
.filters .field { margin-bottom: 0; }
.filters select.inp, .filters .inp { width: auto; min-width: 150px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.toolbar h2 { color: var(--white); font-size: 20px; }
.empty { text-align: center; color: var(--muted); padding: 36px 20px; font-size: 14.5px; font-weight: 500; line-height: 1.6; }
.row-loss td { background: rgba(255, 92, 77, 0.12) !important; }
.badge-loss { display: inline-flex; align-items: center; background: rgba(255, 92, 77, 0.2); border: 1px solid var(--red); color: #ff9d92; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.badge-ok { display: inline-flex; align-items: center; background: rgba(47, 230, 143, 0.15); border: 1px solid rgba(47, 230, 143, 0.4); color: var(--green); font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 6px; }

/* Social icons & community links */
.social-links { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  color: var(--soft);
  transition: var(--transition);
}
.social-btn:hover {
  background: rgba(217, 119, 42, 0.15);
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}
.social-btn.wa:hover { background: rgba(37, 211, 102, 0.15); border-color: #25D366; color: #25D366; }
.social-btn.fb:hover { background: rgba(24, 119, 242, 0.15); border-color: #1877f2; color: #1877f2; }
.social-btn.tt:hover { background: rgba(254, 44, 85, 0.15); border-color: #fe2c55; color: #fe2c55; }

/* Referral highlight banner */
.ref-vision-banner {
  background: linear-gradient(90deg, rgba(217, 119, 42, 0.15), rgba(37, 211, 102, 0.12));
  border: 1px solid rgba(217, 119, 42, 0.35);
  border-radius: 999px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--white);
  margin-bottom: 22px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
.ref-vision-banner b { color: var(--orange-2); }
.ref-vision-banner a { color: var(--white); text-decoration: underline; font-weight: 700; }
.ref-vision-banner a:hover { color: var(--orange); }


/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--navy-2); margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 40px 0 26px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.toast-wrap { position: fixed; bottom: 22px; right: 22px; z-index: 200; display: grid; gap: 10px; }
.toast { background: var(--navy-3); border: 1px solid var(--line-strong); border-left: 4px solid var(--orange); color: var(--soft); font-size: 14px; padding: 13px 16px; border-radius: 12px; max-width: 330px; box-shadow: 0 16px 40px rgba(0,0,0,0.45); animation: slideIn 0.3s cubic-bezier(0.16,1,0.3,1); }
.toast.err { border-left-color: var(--red); }

/* ---------- Hamburger Drawer ---------- */
.btn-hamburger { width: 40px; height: 40px; border-radius: 8px; background: var(--orange); color: #1a0f00; border: none; display: grid; place-items: center; cursor: pointer; transition: transform 0.2s, background 0.2s; flex: none; }
.btn-hamburger:hover { background: var(--orange-2); }
.btn-hamburger:active { transform: scale(0.95); }

.side-drawer {
  position: absolute; right: 0; top: 0; bottom: 0; width: 280px; background: var(--navy-2);
  box-shadow: -4px 0 24px rgba(0,0,0,0.5); padding: 24px; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-back.open .side-drawer { transform: translateX(0); }
.drawer-head { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-top: 12px; }
.drawer-menu { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.menu-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; background: transparent; border: none; color: var(--soft); font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; border-radius: 8px; transition: var(--transition); font-family: inherit; }
.menu-item:hover { background: rgba(255,255,255,0.05); color: var(--white); }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- PWA: install card, update bar, connection pill (assets/js/pwa.js) ---------- */
.pwa-install {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  z-index: 220; width: min(430px, calc(100vw - 32px));
  background: var(--navy-3); border: 1px solid var(--line-strong); border-left: 4px solid var(--orange);
  border-radius: 14px; padding: 14px 16px; box-shadow: 0 18px 48px rgba(0,0,0,0.5);
  display: flex; gap: 10px; align-items: center;
  animation: slideUp 0.35s cubic-bezier(0.16,1,0.3,1);
}
.pwa-install .pi-text { flex: 1; font-size: 13.5px; line-height: 1.45; color: var(--soft); }
.pwa-install .pi-text b { display: block; font-size: 15px; color: var(--white); margin-bottom: 2px; }
.pwa-install .btn { flex: none; padding: 9px 14px; }

.pwa-update {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  z-index: 220; width: min(460px, calc(100vw - 32px));
  background: var(--navy-3); border: 1px solid var(--line-strong); border-left: 4px solid var(--green);
  border-radius: 14px; padding: 12px 14px; box-shadow: 0 18px 48px rgba(0,0,0,0.5);
  display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--soft);
  animation: slideUp 0.35s cubic-bezier(0.16,1,0.3,1);
}
.pwa-update b { color: var(--white); white-space: nowrap; }
.pwa-update .btn { flex: none; padding: 8px 14px; }
.pwa-update [data-pu-x] { padding: 8px 12px; }

.conn-pill {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  z-index: 210; background: var(--red); color: #fff; font-size: 13px; font-weight: 700;
  padding: 10px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  animation: slideUp 0.35s cubic-bezier(0.16,1,0.3,1);
}
/* On small screens, keep the persistent install/update cards above the
   floating WhatsApp / chat buttons (bottom corners). */
@media (max-width: 720px) {
  .pwa-install, .pwa-update { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
@keyframes slideUp {
  from { transform: translate(-50%, 16px); opacity: 0; }
  to   { transform: translate(-50%, 0);    opacity: 1; }
}

/* ==========================================================================
   PURCHASE HISTORY (history.html) — delivery progress, search, filters,
   expandable order cards with copyable references.
   ========================================================================== */
.hist-wrap { max-width: 720px; padding-top: 26px; padding-bottom: 90px; }

.hist-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.hist-title { font-size: clamp(26px, 6vw, 34px); font-weight: 850; color: var(--white); letter-spacing: -0.6px; line-height: 1.1; }
.hist-sub { color: var(--muted); font-size: 15px; margin-top: 2px; }
.hist-refresh { flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--soft); display: grid; place-items: center; cursor: pointer; transition: var(--transition); }
.hist-refresh svg { width: 20px; height: 20px; }
.hist-refresh:hover { color: var(--orange); border-color: var(--orange); }
.hist-refresh.spin svg { animation: hist-spin 0.9s linear infinite; }
@keyframes hist-spin { to { transform: rotate(360deg); } }

/* ---- delivery progress ---- */
.prog-card { margin-top: 20px; background: rgba(77,159,255,0.05); border: 1px solid rgba(77,159,255,0.22); border-radius: var(--r); padding: 16px; }
.prog-head { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16px; color: #9cc6ff; margin-bottom: 12px; }
.prog-head svg { width: 20px; height: 20px; flex: none; }
.prog-notice { display: flex; align-items: flex-start; gap: 11px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.prog-notice .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; margin-top: 4px; }
.prog-notice.slow { color: #ff9d92; border-color: rgba(255,92,77,0.3); }
.prog-notice.slow .dot { background: var(--red); box-shadow: 0 0 0 4px rgba(255,92,77,0.16); }
.prog-notice.ok { color: var(--green); border-color: rgba(47,230,143,0.28); }
.prog-notice.ok .dot { background: var(--green); box-shadow: 0 0 0 4px rgba(47,230,143,0.16); }

.prog-lanes { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.prog-lane { padding: 13px 14px; }
.prog-lane + .prog-lane { border-top: 1px solid var(--line); }
.prog-lane.fast { background: rgba(47,230,143,0.06); }
.prog-lane.std { background: rgba(77,159,255,0.06); }
.prog-lane-top { display: flex; align-items: center; gap: 9px; }
.prog-lane-top svg { width: 18px; height: 18px; flex: none; }
.prog-lane b { font-size: 15px; }
.prog-lane.fast, .prog-lane.fast b { color: var(--green); }
.prog-lane.std, .prog-lane.std b { color: #8fbcff; }
.prog-track { margin-left: auto; font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,0.07); color: inherit; white-space: nowrap; }
.prog-lane small { display: block; margin-top: 5px; font-size: 13.5px; opacity: 0.85; line-height: 1.45; }
.prog-checking { display: flex; align-items: center; gap: 9px; margin-top: 12px; font-size: 14.5px; font-weight: 700; color: #8fbcff; }
.prog-checking .spinner { width: 16px; height: 16px; border: 2px solid rgba(143,188,255,0.3); border-top-color: #8fbcff; border-radius: 50%; animation: hist-spin 0.8s linear infinite; flex: none; }
.prog-checking span { color: var(--muted); font-weight: 600; }
.prog-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* ---- search + filters ---- */
.hist-search { position: relative; margin-top: 18px; }
.hist-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--muted); pointer-events: none; }
.hist-search input { width: 100%; padding: 15px 16px 15px 46px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: rgba(255,255,255,0.045); color: var(--white); font-size: 16px; font-family: inherit; transition: var(--transition); }
.hist-search input::placeholder { color: var(--muted); }
.hist-search input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-glow); }

.filters-toggle { width: 100%; margin-top: 12px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: rgba(255,255,255,0.03); color: var(--soft); font-family: inherit; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; transition: var(--transition); }
.filters-toggle svg { width: 18px; height: 18px; }
.filters-toggle:hover { border-color: var(--orange); color: var(--orange); }
.filters-count { background: var(--orange); color: #1a0f00; font-size: 11px; font-weight: 900; padding: 1px 8px; border-radius: 999px; }

.filters-panel { margin-top: 10px; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; background: rgba(255,255,255,0.025); }
.filter-row + .filter-row { margin-top: 14px; }
.filter-label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--soft); font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: var(--transition); }
.fchip:hover { border-color: var(--orange); color: var(--orange); }
.fchip.on { background: var(--orange); border-color: var(--orange); color: #1a0f00; }

.hist-summary { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.hist-summary b { color: var(--white); }

/* ---- order cards ---- */
.ord-card { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,0.028); overflow: hidden; transition: var(--transition); }
.ord-card:hover { border-color: var(--line-strong); }
.ord-card.open { border-color: rgba(217,119,42,0.4); }

.ord-top { display: flex; align-items: center; gap: 13px; padding: 15px 16px; cursor: pointer; background: none; border: none; width: 100%; text-align: left; font-family: inherit; }
.ord-logo { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 10.5px; font-weight: 900; letter-spacing: -0.2px; }
.ord-logo.mtn { background: var(--mtn); color: #1a0f00; }
.ord-logo.telecel { background: var(--telecel-brand); color: #fff; }
.ord-logo.airteltigo { background: var(--airtel-brand); color: #fff; }
.ord-mid { flex: 1; min-width: 0; }
.ord-line1 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ord-net { font-size: 16.5px; font-weight: 850; color: var(--white); }
.ord-size { font-size: 15px; color: var(--soft); }
.ord-size::before { content: "·"; margin-right: 8px; color: var(--muted); }
.ord-right { text-align: right; flex: none; }
.ord-amount { font-size: 18px; font-weight: 850; color: var(--white); white-space: nowrap; }
.ord-caret { width: 18px; height: 18px; color: var(--muted); flex: none; transition: transform 0.25s; }
.ord-card.open .ord-caret { transform: rotate(180deg); }

.ord-body { border-top: 1px solid var(--line); padding: 14px 16px 16px; }
.ord-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(255,255,255,0.035); }
.ord-row + .ord-row { margin-top: 8px; }
.ord-row > svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.ord-row .lbl { color: var(--muted); font-size: 14.5px; }
.ord-row .val { margin-left: auto; font-size: 14.5px; font-weight: 700; color: var(--white); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; word-break: break-all; text-align: right; }
.ord-row .val.track { color: var(--orange-2); }
.copy-btn { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: none; background: none; color: var(--muted); cursor: pointer; border-radius: 6px; transition: var(--transition); }
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn:hover { color: var(--orange); background: rgba(217,119,42,0.12); }
.copy-btn.done { color: var(--green); }

.ord-note { margin-top: 10px; padding: 13px 14px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.5; border: 1px solid var(--line); }
.ord-note b { display: block; margin-bottom: 4px; font-size: 14.5px; }
.ord-note.ok { background: rgba(47,230,143,0.06); border-color: rgba(47,230,143,0.28); color: #b6f2d6; }
.ord-note.ok b { color: var(--green); }
.ord-note.info { background: rgba(77,159,255,0.07); border-color: rgba(77,159,255,0.28); color: #cfe1ff; }
.ord-note.info b { color: #8fbcff; }
.ord-note.warn { background: rgba(217,119,42,0.08); border-color: rgba(217,119,42,0.3); color: #f3d3b3; }
.ord-note.warn b { color: var(--orange-2); }
.ord-note.bad { background: rgba(255,92,77,0.07); border-color: rgba(255,92,77,0.3); color: #ffcac4; }
.ord-note.bad b { color: #ff9d92; }

.ord-date { display: flex; align-items: center; gap: 9px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.ord-date svg { width: 16px; height: 16px; flex: none; }
.ord-date .val { margin-left: auto; }
.ord-actions { margin-top: 12px; display: grid; gap: 9px; }
.btn-copy-all { width: 100%; padding: 14px; border-radius: var(--r-sm); border: none; background: var(--navy-2); color: var(--white); font-family: inherit; font-size: 15px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px; transition: var(--transition); border: 1px solid var(--line-strong); }
.btn-copy-all:hover { border-color: var(--orange); color: var(--orange); }
.btn-copy-all svg { width: 17px; height: 17px; }
.btn-receipt { width: 100%; padding: 14px; border-radius: var(--r-sm); border: 1px solid rgba(77,159,255,0.3); background: rgba(77,159,255,0.08); color: #8fbcff; font-family: inherit; font-size: 15px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px; transition: var(--transition); }
.btn-receipt:hover { background: rgba(77,159,255,0.16); }

.hist-empty { margin-top: 22px; text-align: center; padding: 40px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r); color: var(--muted); }
.hist-empty b { display: block; color: var(--white); font-size: 17px; margin-bottom: 6px; }
.hist-more { margin-top: 16px; }
.hist-skel { margin-top: 14px; height: 78px; border-radius: var(--r); background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.07), rgba(255,255,255,0.03)); background-size: 200% 100%; animation: hist-shimmer 1.3s infinite; }
@keyframes hist-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.wa-float-fixed { position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(37,211,102,0.42); z-index: 90; transition: var(--transition); }
.wa-float-fixed:hover { transform: scale(1.07); color: #fff; }
.wa-float-fixed svg { width: 30px; height: 30px; }
