:root {
  --primary: #1565C0;
  --secondary: #42A5F5;
  --accent: #00BCD4;
  --bg: #F6F8FC;
  --white: #FFFFFF;
  --text: #1A2332;
  --muted: #7A8699;
  --radius: 18px;
  --shadow: 0 8px 24px rgba(21, 101, 192, 0.08);
  --nav-h: 72px;
}

.login-page {
  height: 100%;
  background: linear-gradient(180deg, #E3F2FD 0%, #F6F8FC 50%, #fff 100%);
  padding: 16px 24px 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.login-back {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.login-hero { text-align: center; margin: 28px 0 24px; }
.login-logo {
  width: auto;
  height: 64px;
  margin: 0 auto 14px;
  display: block;
  animation: scaleIn 0.6s ease, float 3s ease-in-out infinite;
}
.login-logo img {
  width: auto;
  height: 100%;
  object-fit: contain;
}
.login-hero h1 { font-size: 24px; font-weight: 800; margin: 0; color: var(--text); }
.login-hero p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.login-form .form-label { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.input-wrap { position: relative; margin-bottom: 14px; }
.input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #aab; }
.input-wrap .form-control {
  border-radius: 14px;
  border: 1.5px solid #e6ebf2;
  padding: 12px 14px 12px 42px;
  font-size: 15px;
  background: #fff;
}
.input-wrap .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15);
}
.btn-login {
  margin-top: 8px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(21, 101, 192, 0.35);
}
.login-hint { text-align: center; font-size: 11px; color: #aab; margin-top: 16px; }
.login-error { color: #e53935; font-size: 12px; margin-bottom: 8px; text-align: center; }

.app-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  position: relative;
}
.app-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + 8px);
  -webkit-overflow-scrolling: touch;
}
.page { display: none; min-height: 100%; animation: fadeInUp 0.28s ease; }
.page.active { display: block; }

.bottom-nav {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(21, 101, 192, 0.06);
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 8px 4px 18px;
  z-index: 100;
}
.nav-item {
  flex: 1;
  border: none;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #9aa8bc;
  font-size: 10px;
  font-weight: 600;
  padding: 4px;
  cursor: pointer;
}
.nav-item i { font-size: 20px; }
.nav-item.active { color: var(--primary); }

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.7);
}

.section-pad { padding: 12px 16px; }
.section-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-title .link {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  border: none;
  background: none;
}

.dash-top {
  background: linear-gradient(135deg, #1565C0 0%, #42A5F5 55%, #00BCD4 100%);
  padding: 10px 16px 28px;
  border-radius: 0 0 26px 26px;
  color: #fff;
  text-align: center;
}
.dash-top .greet { font-size: 12px; opacity: 0.9; }
.dash-top h1 { font-size: 20px; font-weight: 800; margin: 2px 0 14px; letter-spacing: -0.3px; }
.brand-mark {
  width: auto;
  height: 48px;
  margin: 0 auto 8px;
  display: block;
  animation: scaleIn 0.45s ease, float 3s ease-in-out infinite;
}
.brand-mark img {
  width: auto;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(21, 101, 192, 0.3));
}
.brand-line { font-size: 14px; font-weight: 600; margin: 8px 0 12px; opacity: 0.95; }

.summary-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: -16px 16px 0;
  position: relative;
  z-index: 2;
}
.summary-card {
  background: #fff;
  border-radius: 16px;
  padding: 12px 10px;
  text-align: center;
  box-shadow: var(--shadow);
}
.summary-card .n { font-size: 18px; font-weight: 800; color: var(--text); }
.summary-card .l { font-size: 10px; color: var(--muted); margin-top: 2px; }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.quick-item {
  border: none;
  background: none;
  text-align: center;
  padding: 0;
  cursor: pointer;
  animation: fadeInUp 0.4s ease both;
  transition: transform 0.2s ease;
}
.quick-item:hover { transform: translateY(-4px); }
.quick-item:nth-child(1) { animation-delay: 0.05s; }
.quick-item:nth-child(2) { animation-delay: 0.1s; }
.quick-item:nth-child(3) { animation-delay: 0.15s; }
.quick-item:nth-child(4) { animation-delay: 0.2s; }
.quick-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 6px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  background: #E3F2FD;
}
.quick-item span { font-size: 10px; font-weight: 600; color: #556; display: block; line-height: 1.25; }

.ship-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 8px;
  box-shadow: var(--shadow);
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.ship-row .icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #E3F2FD;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ship-row .meta { flex: 1; min-width: 0; }
.ship-row .meta strong {
  font-size: 13px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ship-row .meta small { color: var(--muted); font-size: 11px; }

.badge-st {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.st-transit { background: #E3F2FD; color: #1565C0; }
.st-warehouse { background: #E0F7FA; color: #00838F; }
.st-delivered { background: #E8F5E9; color: #2E7D32; }
.st-pending { background: #FFF3E0; color: #EF6C00; }

.page-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 12px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.page-header .back-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-header h2 { font-size: 17px; font-weight: 800; margin: 0; flex: 1; }

.chip-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 12px;
  scrollbar-width: none;
}
.chip-scroll::-webkit-scrollbar { display: none; }
.filter-chip {
  flex-shrink: 0;
  border: none;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.filter-chip.active { background: var(--primary); color: #fff; }

.track-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.track-search input {
  flex: 1;
  border-radius: 14px;
  border: 1.5px solid #e6ebf2;
  padding: 11px 14px;
  font-size: 14px;
}
.track-search button {
  border: none;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  padding: 0 16px;
  font-weight: 700;
}

.map-preview {
  height: 140px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(21,101,192,0.15), rgba(0,188,212,0.2)),
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(21,101,192,0.06) 18px, rgba(21,101,192,0.06) 19px),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(21,101,192,0.06) 18px, rgba(21,101,192,0.06) 19px),
    #dce8f5;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.map-preview .pin {
  position: absolute;
  top: 42%;
  left: 58%;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(0,188,212,0.25);
  animation: pulseSoft 2s ease infinite;
}
.map-preview .label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  background: rgba(255,255,255,0.92);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

.timeline {
  position: relative;
  padding-left: 22px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #d7e3f4;
}
.tl-item {
  position: relative;
  padding-bottom: 16px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid #b0c4de;
}
.tl-item.active::before {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(21,101,192,0.2);
}
.tl-item .t { font-size: 13px; font-weight: 700; color: var(--text); }
.tl-item .d { font-size: 11px; color: var(--muted); }
.tl-item .at { font-size: 10px; color: #aab; margin-top: 2px; }

.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.form-card label { font-size: 12px; font-weight: 600; color: var(--muted); }
.form-card .form-control,
.form-card .form-select {
  border-radius: 12px;
  border: 1.5px solid #e6ebf2;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 10px;
}
.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
}
.btn-blue {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  border-radius: 14px;
  padding: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(21,101,192,0.3);
}
.btn-outline-blue {
  background: #fff;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 14px;
  padding: 12px;
  font-weight: 700;
}
.result-card {
  background: linear-gradient(135deg, #1565C0, #42A5F5);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(21,101,192,0.3);
}
.result-card .big { font-size: 28px; font-weight: 800; }
.result-card .sub { font-size: 12px; opacity: 0.9; }

.wh-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}
.wh-card h4 { font-size: 14px; font-weight: 800; margin: 0 0 4px; }
.progress {
  height: 8px;
  border-radius: 999px;
  background: #eef2f8;
}
.progress-bar { background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 999px; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.detail-grid .cell {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.detail-grid .cell .l { font-size: 10px; color: var(--muted); }
.detail-grid .cell .v { font-size: 13px; font-weight: 700; color: var(--text); margin-top: 2px; }

.profile-hero {
  background: linear-gradient(135deg, #1565C0, #42A5F5);
  color: #fff;
  padding: 20px 16px 28px;
  border-radius: 0 0 26px 26px;
  text-align: center;
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 10px;
  border: 3px solid rgba(255,255,255,0.45);
}
.menu-list { margin: -12px 16px 16px; }
.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 8px;
  box-shadow: var(--shadow);
  border: none;
  width: 100%;
  text-align: left;
}
.menu-item i.main {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #E3F2FD;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.menu-item span { flex: 1; font-weight: 600; font-size: 14px; }
.menu-item .val { font-size: 12px; color: var(--muted); font-weight: 500; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.stats-grid .glass-card { padding: 14px; }
.stats-grid .num { font-size: 18px; font-weight: 800; color: var(--text); }
.stats-grid .lbl { font-size: 11px; color: var(--muted); }

.chart-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  height: 180px;
}

.fab {
  position: absolute;
  right: 18px;
  bottom: calc(var(--nav-h) + 16px);
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 24px;
  box-shadow: 0 12px 28px rgba(21, 101, 192, 0.4);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseSoft 2.4s ease infinite;
}
.fab.hidden { display: none; }

.hidden-nav .bottom-nav,
.hidden-nav .fab { display: none !important; }
.hidden-nav .app-body { padding-bottom: 16px; }

.method-pills { display: flex; gap: 8px; margin-bottom: 10px; }
.method-pill {
  flex: 1;
  border: 1.5px solid #e6ebf2;
  background: #fff;
  border-radius: 12px;
  padding: 10px 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}
.method-pill.active {
  border-color: var(--primary);
  color: var(--primary);
  background: #E3F2FD;
}

.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-state i { font-size: 40px; color: #d0d8e4; display: block; margin-bottom: 8px; }

.table-modern {
  width: 100%;
  font-size: 12px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.table-modern th {
  background: #F0F4FA;
  font-weight: 700;
  color: var(--muted);
  padding: 10px 12px;
}
.table-modern td { padding: 10px 12px; border-top: 1px solid #f0f3f8; color: var(--text); }

/* Import flow additions (blue theme) */
.paste-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 14px;
  padding: 6px 6px 6px 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  margin-top: 4px;
}
.paste-box i { color: #1565C0; font-size: 18px; }
.paste-box input {
  flex: 1; border: none; outline: none; font-size: 12px;
  min-width: 0; background: transparent; color: #1A2332;
}
.paste-box button {
  border: none;
  background: linear-gradient(135deg, #1565C0, #42A5F5);
  color: #fff; font-weight: 700; font-size: 12px;
  padding: 10px 14px; border-radius: 12px; white-space: nowrap;
}
.platform-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.plat-btn {
  border: none; background: #fff; border-radius: 14px; padding: 12px 8px;
  box-shadow: var(--shadow); font-weight: 800; font-size: 13px;
}
.plat-1688 { color: #FF6600; }
.plat-tb { color: #FF5000; }
.plat-tm { color: #E60012; }
.banner-blue {
  border-radius: 18px; padding: 18px 16px; color: #fff;
  background-size: cover; background-position: center;
  box-shadow: var(--shadow); min-height: 90px;
}
.banner-blue h3 { font-size: 16px; font-weight: 800; margin: 0 0 4px; }
.banner-blue p { font-size: 12px; margin: 0; opacity: .92; }
.howto-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.howto-item {
  background: #fff; border-radius: 14px; padding: 10px 6px;
  text-align: center; box-shadow: var(--shadow);
  animation: bounceIn 0.5s ease both;
  transition: transform 0.2s ease;
}
.howto-item:nth-child(1) { animation-delay: 0.1s; }
.howto-item:nth-child(2) { animation-delay: 0.2s; }
.howto-item:nth-child(3) { animation-delay: 0.3s; }
.howto-item:nth-child(4) { animation-delay: 0.4s; }
.howto-item:hover { transform: translateY(-3px); }
.howto-item .n {
  width: 24px; height: 24px; margin: 0 auto 4px; border-radius: 50%;
  background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
  color: #1565C0; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  animation: pulseSoft 2s ease-in-out infinite;
}
.howto-item .t { font-size: 10px; font-weight: 700; color: #1A2332; }
.howto-item .d { font-size: 9px; color: #7A8699; margin-top: 2px; line-height: 1.2; }
.nav-item { position: relative; }
.nav-badge {
  position: absolute; top: 0; right: calc(50% - 18px);
  background: #E53935; color: #fff; font-size: 9px; font-weight: 800;
  min-width: 16px; height: 16px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.source-tag {
  display: inline-block; font-size: 10px; font-weight: 800;
  padding: 3px 8px; border-radius: 999px; background: #E3F2FD; color: #1565C0;
}
.sku-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.sku-chip {
  border: 1.5px solid #e6ebf2; background: #fff; border-radius: 12px;
  padding: 8px 12px; font-size: 12px; font-weight: 600; color: #556;
}
.sku-chip.active { border-color: #1565C0; color: #1565C0; background: #E3F2FD; }
.qty-row { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.qty-row button {
  width: 36px; height: 36px; border-radius: 12px; border: none;
  background: #F0F4FA; font-size: 18px; font-weight: 700;
}
.qty-row span { font-weight: 800; min-width: 24px; text-align: center; }
.pd-gallery img { width: 100%; height: 260px; object-fit: cover; }
.pd-thumbs { display: flex; gap: 8px; padding: 10px 16px; overflow-x: auto; }
.pd-thumbs img {
  width: 52px; height: 52px; border-radius: 12px; object-fit: cover;
  border: 2px solid transparent; cursor: pointer;
}
.pd-thumbs img.active { border-color: #1565C0; }
.pd-info { padding: 4px 16px 20px; }
.pd-price-row { display: flex; align-items: baseline; gap: 10px; margin: 8px 0; }
.pd-price-row .thb { font-size: 24px; font-weight: 800; color: #1565C0; }
.pd-price-row .cny { color: #999; font-size: 13px; }
.pd-actions {
  position: sticky; bottom: 8px; display: flex; gap: 8px;
  padding: 12px 16px; background: rgba(255,255,255,.95);
}
.btn-soft {
  border: none; border-radius: 14px; background: #F0F4FA;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
}
.btn-import {
  flex: 1; border: none; border-radius: 14px;
  background: linear-gradient(135deg, #1565C0, #42A5F5);
  color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 20px rgba(21,101,192,.35);
}
.checkout-steps {
  display: flex; justify-content: space-around; padding: 10px 16px;
  background: #fff; border-bottom: 1px solid #eef2f8;
}
.cstep {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 10px; font-weight: 600; color: #bbb;
}
.cstep i { font-size: 18px; }
.cstep.active { color: #1565C0; }
.cstep.done { color: #43A047; }
.cart-shop { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.cart-item {
  display: flex; gap: 10px; background: #fff; border-radius: 16px;
  padding: 12px; margin-bottom: 8px; box-shadow: var(--shadow);
}
.cart-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.cart-item .info { flex: 1; min-width: 0; }
.cart-item .title { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item .sku { font-size: 11px; color: #7A8699; }
.cart-item .price { font-size: 13px; font-weight: 800; color: #1565C0; }
.cart-item .rm { border: none; background: none; color: #ccc; font-size: 16px; }
.cart-footer {
  position: sticky; bottom: calc(var(--nav-h) + 4px); margin: 0 12px 8px;
  background: #fff; border-radius: 18px; padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 8px 28px rgba(21,101,192,.15); z-index: 40;
}
.cf-label { font-size: 11px; color: #7A8699; }
.cf-price { font-size: 18px; font-weight: 800; color: #E53935; }
.btn-checkout {
  border: none; background: linear-gradient(135deg, #1565C0, #42A5F5);
  color: #fff; font-weight: 800; padding: 12px 22px; border-radius: 14px;
}
.ship-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.ship-opt {
  border: 1.5px solid #e6ebf2; background: #fff; border-radius: 16px;
  padding: 14px 10px; text-align: center; font-size: 12px; font-weight: 700;
  color: #666; display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.ship-opt i { font-size: 22px; }
.ship-opt.active {
  border-color: #1565C0; color: #1565C0; background: #E3F2FD;
  box-shadow: 0 0 0 1px #1565C0;
}
.ship-opt small { font-weight: 500; color: #999; font-size: 10px; }
.toggle-list { background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; margin-bottom: 12px; }
.toggle-row {
  display: flex; align-items: center; gap: 10px; padding: 14px;
  border-bottom: 1px solid #f0f3f8;
}
.toggle-row:last-child { border-bottom: none; }
.toggle-row .meta { flex: 1; }
.toggle-row .meta strong { font-size: 13px; display: block; }
.toggle-row .meta small { font-size: 11px; color: #7A8699; }
.toggle-row .fee { font-size: 12px; font-weight: 700; color: #1565C0; margin-right: 6px; }
.form-switch .form-check-input:checked { background-color: #1565C0; border-color: #1565C0; }
.summary-box {
  background: #fff; border-radius: 16px; padding: 14px;
  box-shadow: var(--shadow); margin-bottom: 12px; font-size: 13px;
}
.summary-box .row-line { display: flex; justify-content: space-between; margin-bottom: 6px; color: #666; }
.summary-box .row-line.total {
  margin-top: 8px; padding-top: 8px; border-top: 1px dashed #e6ebf2;
  font-weight: 800; color: #1A2332; font-size: 15px;
}
.summary-box .row-line.total span:last-child { color: #E53935; }
.terms-row { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: #666; margin-bottom: 12px; }
.sticky-order-bar {
  position: sticky; bottom: 8px; display: flex; align-items: center;
  justify-content: space-between; background: #fff; border-radius: 18px;
  padding: 12px 14px; box-shadow: 0 8px 28px rgba(21,101,192,.15);
}
.sticky-order-bar .price { font-size: 18px; font-weight: 800; color: #E53935; }
.po-card {
  background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow);
  margin-bottom: 10px; border: none; width: 100%; text-align: left; cursor: pointer;
}
.po-card .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.po-card .id { font-weight: 800; font-size: 14px; }
.po-status { font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 999px; color: #fff; }
.po-card .meta { font-size: 11px; color: #7A8699; }
.po-timeline-h {
  display: flex;
  overflow-x: auto;
  padding: 8px 0 4px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.po-timeline-h::-webkit-scrollbar { display: none; }
.po-tl { flex: 0 0 auto; width: 72px; text-align: center; font-size: 9px; color: #bbb; font-weight: 600; }
.po-tl .dot {
  width: 18px; height: 18px; border-radius: 50%; background: #eee;
  margin: 0 auto 4px; display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #fff;
}
.po-tl.done .dot { background: #43A047; }
.po-tl.current .dot { background: #1565C0; box-shadow: 0 0 0 4px rgba(21,101,192,.2); }
.po-tl.done, .po-tl.current { color: #444; }
.po-item-row { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f3f8; }
.po-item-row:last-child { border-bottom: none; }
.po-item-row img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.paid-banner {
  background: #E8F5E9; color: #2E7D32; text-align: center;
  font-weight: 800; padding: 10px; border-radius: 12px; margin: 10px 0;
}
.btn-outline-orange { border: 1.5px solid #1565C0; color: #1565C0; background: #fff; border-radius: 12px; padding: 8px 12px; font-weight: 700; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes checkPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 10px rgba(21, 101, 192, 0.3); }
  50% { box-shadow: 0 0 20px rgba(21, 101, 192, 0.6); }
}
