:root {
  /* VTV brand palette */
  --vtv-navy: #07356a;
  --vtv-navy-dark: #052a54;
  --vtv-navy-darker: #031528;
  --vtv-navy-gradient: linear-gradient(180deg, #0a4080 0%, #07356a 100%);
  --vtv-navy-card-gradient: linear-gradient(
    180deg,
    #0a4080 0%,
    #07356a 55%,
    #052a54 100%
  );
  --vtv-dark-card-gradient: linear-gradient(180deg, #052a54 0%, #031528 100%);

  --page-bg: #f4f6fb;
  --surface: #ffffff;
  --surface-border: #e2e8f0;

  --primary: #d9252a;
  --primary-hover: #c01f24;
  --primary-pressed: #a8191e;

  --secondary: #07356a;
  --secondary-hover: #052a54;
  --secondary-pressed: #031528;

  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --expiry: #fb923c;
  --price: #c9970a;
  --price-on-dark: #ffd166;
  --best-seller-gradient: linear-gradient(
    90deg,
    #8b6d31 0%,
    #c9a227 45%,
    #f9e498 100%
  );
  --best-seller-gradient-hover: linear-gradient(
    90deg,
    #9a7b3a 0%,
    #d4ad33 45%,
    #fff0b0 100%
  );
  --best-seller-gradient-pressed: linear-gradient(
    90deg,
    #7a5f28 0%,
    #b08f22 45%,
    #e8d080 100%
  );
  --best-seller-border: #8b6d31;

  --text: #16213d;
  --text-secondary: #5d6c8f;
  --text-on-navy: #ffffff;
  --text-on-navy-muted: rgba(255, 255, 255, 0.78);

  --header-bg: #000000;
  --footer-bg: #000000;
  --header-border: rgba(255, 255, 255, 0.14);
  --shadow: 0 8px 24px rgba(7, 53, 106, 0.1);
  --shadow-lg: 0 16px 40px rgba(7, 53, 106, 0.14);

  /* Alias tương thích */
  --bg: var(--page-bg);
  --vtv-red: var(--primary);
  --card: var(--surface);
  --card-hover: #f8fafc;
  --card-package: var(--vtv-navy);
  --card-package-gradient: var(--vtv-navy-card-gradient);
  --page-text: var(--text);
  --page-heading: var(--text);
  --page-muted: var(--text-secondary);
  --page-muted-2: var(--text-secondary);
  --lookup-page-bg: #000000;
  --lookup-card-bg: var(--surface);
  --lookup-card-border: var(--surface-border);
  --accent-red-dark: var(--primary-pressed);
  --muted: var(--text-secondary);
  --surface-soft: #eef2f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    "Be Vietnam Pro",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background: var(--page-bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

/* —— Trang tra cứu (lookup.html) —— */
body.lookup-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 28px);
  background: var(--lookup-page-bg);
}

.lookup-shell {
  width: min(100%, 520px);
  margin: 0 auto;
  transform: translateY(-45px);
}

.lookup-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.lookup-hero-logo {
  display: block;
  width: auto;
  height: clamp(72px, 18vw, 104px);
  max-width: min(160px, 42vw);
  margin: 0 auto 14px;
  object-fit: contain;
}

.lookup-hero h1 {
  margin: 0;
  font-size: clamp(1.6rem, 4.4vw, 2.2rem);
  letter-spacing: -0.02em;
  color: var(--text-on-navy);
  line-height: 1.2;
  font-weight: 700;
}

.lookup-hero p {
  margin: 8px 0 0;
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  font-weight: 500;
  color: var(--text-on-navy-muted);
}

.lookup-card {
  background: var(--lookup-card-bg);
  border-radius: 16px;
  border: 1px solid var(--lookup-card-border);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 3vw, 28px);
}

.lookup-card label {
  display: inline-block;
  color: var(--text);
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  font-weight: 600;
  margin-bottom: 10px;
}

.lookup-card input {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text);
  outline: none;
  padding: 0 16px;
  font-size: clamp(0.95rem, 2.6vw, 1.05rem);
  font-weight: 500;
  font-family: inherit;
}

.lookup-card input::placeholder {
  color: #94a3b8;
}

.lookup-card input:focus {
  border-color: var(--vtv-navy);
  box-shadow: 0 0 0 3px rgba(7, 53, 106, 0.15);
}

.input-with-oauth {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-with-oauth input {
  width: 100%;
}

.oauth-autofill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 42px;
  border: 1.5px solid #0068ff;
  border-radius: 10px;
  background: #f0f7ff;
  color: #0068ff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.oauth-autofill-btn .material-symbols-outlined {
  font-size: 1.2em;
}

.oauth-autofill-btn:hover {
  background: #e0efff;
}

.oauth-autofill-btn:active {
  transform: scale(0.97);
}

.oauth-autofill-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lookup-card .lookup-submit {
  margin-top: 14px;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: var(--primary);
  border: 1px solid var(--primary-hover);
  color: #ffffff;
  cursor: pointer;
  font-size: clamp(1.15rem, 3.2vw, 1.35rem);
  font-weight: 700;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.lookup-card .lookup-submit .material-symbols-outlined {
  font-size: 1.15em;
  line-height: 1;
  font-variation-settings:
    "FILL" 0,
    "wght" 700,
    "GRAD" 0,
    "opsz" 24;
}

.lookup-card .lookup-submit:hover {
  background: var(--primary-hover);
  color: #ffffff;
  border-color: var(--primary-hover);
}

.lookup-card .lookup-submit:active {
  transform: scale(0.98);
}

.app-shell {
  width: min(100%, 960px);
  margin: 0 auto;
  min-height: 100dvh;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .app-shell {
    width: 100%;
  }

  .progress-wrap {
    padding: 16px 20px 18px;
  }

  .content {
    padding: 20px 18px 34px;
  }

  .hero h2 {
    font-size: 36px;
  }

  .group-heading h3 {
    font-size: 24px;
  }

  .split-packages {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .package-card {
    border-radius: 18px;
  }

  .micro-package-header {
    min-height: 102px;
  }

  .feature-list.compact li {
    font-size: 14px;
  }

  .action-btn {
    height: 46px;
    font-size: 20px;
  }

  .action-btn.ghost {
    height: 42px;
    font-size: 19px;
  }

  .purchase-sheet {
    max-width: min(100vw, 820px);
  }
}

.top-header {
  color: #fff;
  padding: 12px 14px 10px;
}

.status-bar {
  height: 16px;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nav-row h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

/* CTA — đỏ VTV (chính) */
.btn-cta,
.lookup-card .lookup-submit,
.action-btn,
.best-seller-btn,
.renew-btn,
.no-package-cta,
.plan-proceed,
.add-package-btn,
.success-btn,
.fail-btn,
.sheet-confirm {
  background: var(--primary);
  border: 1px solid var(--primary-hover);
  color: #ffffff;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

/* CTA phụ — navy VTV */
.btn-secondary,
.action-btn.ghost {
  background: var(--secondary);
  border: 1px solid var(--secondary-hover);
  color: #ffffff;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
  text-decoration: none;
}

.btn-cta:hover,
.lookup-card .lookup-submit:hover,
.action-btn:hover,
.best-seller-btn:hover,
.renew-btn:hover,
.no-package-cta:hover,
.plan-proceed:hover,
.add-package-btn:hover,
.success-btn:hover,
.fail-btn:hover,
.sheet-confirm:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
  filter: none;
}

.btn-secondary:hover,
.action-btn.ghost:hover {
  background: var(--secondary-hover);
  border-color: var(--secondary-hover);
  color: #ffffff;
}

.home-btn-secondary {
  background: rgba(22, 33, 61, 0.1);
  border: 1px solid rgba(22, 33, 61, 0.16);
  color: #16213d;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
  text-decoration: none;
}

.home-btn-secondary:hover {
  background: rgba(22, 33, 61, 0.16);
  border-color: rgba(22, 33, 61, 0.22);
  color: #16213d;
}

.home-btn-secondary:active {
  transform: scale(0.98);
  background: rgba(22, 33, 61, 0.22);
  border-color: rgba(22, 33, 61, 0.28);
}

.btn-cta:active,
.lookup-card .lookup-submit:active,
.action-btn:active,
.renew-btn:active,
.plan-proceed:active,
.add-package-btn:active {
  transform: scale(0.98);
  background: var(--primary-pressed);
}

.btn-secondary:active,
.action-btn.ghost:active {
  transform: scale(0.98);
  background: var(--secondary-pressed);
}

.btn-disabled-owned {
  background: #9ca3af !important;
  border-color: #9ca3af !important;
  color: #ffffff !important;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-disabled-owned:hover,
.btn-disabled-owned:active {
  background: #9ca3af !important;
  transform: none;
}

.progress-wrap {
  background: var(--header-bg);
  padding: 14px 16px 18px;
  border-radius: 0;
  border-bottom: 2px solid var(--header-border);
  color: var(--text-on-navy);
}

.progress-wrap .hotline {
  color: var(--text-on-navy);
}

.progress-wrap .text-title-md {
  color: var(--text-on-navy);
}

.progress-wrap .customer-info .bg-surface-container-low {
  background: var(--surface);
  border-color: var(--surface-border);
}

.progress-wrap .customer-info .text-on-surface-variant {
  color: var(--text-secondary);
}

.progress-wrap .customer-info .text-body-md {
  color: var(--text);
}

.progress-wrap .customer-info .customer-detail-link {
  color: var(--vtv-navy);
}

.progress-wrap .customer-info .bg-primary\/20 {
  background: rgba(7, 53, 106, 0.1);
}

.progress-wrap .customer-info .text-primary {
  color: var(--vtv-navy);
}

.progress-wrap .customer-info .bg-secondary-container\/50 {
  background: rgba(7, 53, 106, 0.08);
}

.progress-wrap .customer-info .text-secondary {
  color: var(--vtv-navy);
}

.progress-wrap .progress-stepper {
  color: var(--text-on-navy-muted);
}

.progress-wrap .step small {
  color: var(--text-on-navy-muted);
}

.progress-wrap .step.active small {
  color: var(--text-on-navy);
}

.progress-wrap .step.done small {
  color: var(--text-on-navy);
}

.progress-wrap .line {
  background: rgb(255 255 255);
}

.progress-wrap .step span {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--text-on-navy);
}

.progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.brand-logo {
  height: 28px;
  object-fit: contain;
}

.hotline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-on-navy-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.hotline svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Thông tin khách hàng (header) */
.mb-stack-lg {
  margin-bottom: 16px;
}

.mb-stack-sm {
  margin-bottom: 8px;
}

.px-1 {
  padding-left: 4px;
  padding-right: 4px;
  padding-bottom: 4px;
}

.text-title-md {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text);
}

.font-semibold {
  font-weight: 600;
}

.text-label-sm {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.text-body-md {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.text-on-surface-variant {
  color: var(--text-secondary);
}

.bg-surface-container-low {
  background: var(--surface);
  border: 1px solid var(--surface-border);
}

.p-card-padding {
  padding: 14px;
}

.rounded-2xl {
  border-radius: 16px;
}

.border {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.border-white\/5 {
  border-color: rgba(255, 255, 255, 0.08);
}

.space-y-4 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.gap-3 {
  gap: 12px;
}

.w-10 {
  width: 40px;
  min-width: 40px;
}

.h-10 {
  height: 40px;
  min-height: 40px;
}

.rounded-full {
  border-radius: 999px;
}

.customer-info .w-10.h-10 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
  aspect-ratio: 1;
}

.bg-primary\/20 {
  background: rgba(7, 53, 106, 0.1);
}

.text-primary {
  color: var(--vtv-navy);
}

.bg-secondary-container\/50 {
  background: rgba(7, 53, 106, 0.08);
}

.text-secondary {
  color: var(--vtv-navy);
}

.customer-info .material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
  display: block;
  width: auto;
  height: auto;
  flex-shrink: 0;
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

.customer-info .bg-secondary-container\/50 .material-symbols-outlined {
  font-size: 22px;
  font-variation-settings:
    "FILL" 1,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
}

.h-\[1px\] {
  height: 1px;
}

.bg-white\/5 {
  background: rgba(255, 255, 255, 0.08);
}

.customer-info .customer-info-divider,
.customer-info .bg-surface-container-low > .h-\[1px\] {
  height: 1px;
  width: 100%;
  background: var(--surface-border);
  margin: 0;
  flex-shrink: 0;
}

.w-full {
  width: 100%;
}

.customer-info .text-body-md.font-semibold {
  color: var(--text);
}

.customer-detail-link {
  margin-left: auto;
  color: var(--vtv-navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.customer-detail-link:hover {
  color: var(--secondary-hover);
}

/* Badge phân loại gói */
.pkg-tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.pkg-tier-badge.tier-wc {
  background: rgba(255, 193, 7, 0.2);
  border: 1px solid rgba(255, 193, 7, 0.55);
  color: #ffd54f;
}

.pkg-tier-badge.tier-vip {
  background: rgba(167, 139, 250, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.5);
  color: #c4b5fd;
}

.pkg-tier-badge.tier-sctv {
  background: rgba(227, 6, 19, 0.18);
  border: 1px solid rgba(227, 6, 19, 0.45);
  color: #fca5a5;
}

.micro-package-header .pkg-tier-badge {
  margin-top: 4px;
}

.card-cover .pkg-tier-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.active-package .pkg-tier-badge {
  margin-bottom: 8px;
}

/* infor.html */
body.infor-page {
  background: var(--page-bg);
}

.infor-content {
  color: var(--text);
}

.my-packages-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.my-packages-head h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 44px);
  color: var(--text);
}

.my-packages-head p {
  margin: 2px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.add-package-btn {
  min-height: 40px;
  border-radius: 12px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  white-space: nowrap;
  text-decoration: none;
}

.add-package-btn:hover,
.add-package-btn:focus,
.add-package-btn:active {
  text-decoration: none;
}

.packages-scroll {
  margin-top: 2px;
}

.package-pagination {
  margin: 10px 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 10px;
}

.page-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--vtv-navy);
  font-size: 22px;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.page-nav-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-nav-btn.focus {
  width: 52px;
  height: 46px;
  border-color: rgba(0, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.page-dots {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--vtv-navy);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.page-dot.active {
  background: var(--vtv-navy);
  border-color: var(--vtv-navy);
}

.active-package {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  margin-bottom: 12px;
  background: #16213d;
  color: var(--text-on-navy);
}

.active-package:hover {
  background: #1a2847;
}

.near-expiry {
  border-color: rgba(251, 146, 60, 0.45);
  box-shadow: 0 12px 24px rgba(3, 9, 28, 0.4);
}

.active-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.active-title-wrap {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
  flex: 1 1 auto;
}

.crown-box {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--price-on-dark);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  margin-top: 2px;
}

.active-title-wrap small {
  display: block;
  color: var(--text-on-navy-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.active-title-wrap h3 {
  margin: 2px 0 0;
  color: var(--text-on-navy);
  font-size: clamp(20px, 3.6vw, 28px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.duration-badge {
  min-width: 80px;
  height: 34px;
  border-radius: 999px;
  background: var(--price-on-dark);
  color: #1a1400;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  white-space: nowrap;
  flex: 0 0 auto;
  max-width: 100%;
}

.active-price {
  margin-top: 12px;
  color: var(--price-on-dark);
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.price-alert-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.expiry-inline-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(251, 146, 60, 0.55);
  background: rgba(251, 146, 60, 0.15);
  color: #ffedd5;
  font-size: 12px;
  font-weight: 700;
}

.warning-inline-icon {
  font-size: 14px;
  line-height: 1;
  color: var(--expiry);
}

.date-row {
  margin-top: 10px;
  display: flex;
  gap: 18px;
  flex-wrap: nowrap;
  color: var(--text-on-navy-muted);
  font-size: clamp(11px, 2.1vw, 14px);
  white-space: nowrap;
  overflow: hidden;
}

.date-row strong {
  color: var(--text-on-navy);
}

.date-row span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.remain-row {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-on-navy-muted);
  font-size: 14px;
}

.remain-row strong {
  color: var(--success);
  font-size: 22px;
}

.remain-row strong.remain-mid {
  color: var(--warning);
}

.remain-row strong.remain-low {
  color: var(--expiry);
}

.remain-row strong.remain-critical,
.expiry-alert {
  color: var(--danger) !important;
  font-size: 19px;
}

.remain-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  margin-top: 6px;
}

.remain-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--success);
}

.remain-bar.remain-mid i {
  background: var(--warning);
}

.remain-bar.remain-low i {
  background: var(--expiry);
}

.remain-bar.remain-critical i,
.remain-bar.near i {
  background: var(--danger);
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.benefit-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-on-navy);
  font-size: clamp(11px, 2vw, 14px);
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.35;
}

.benefit-list li::before {
  content: "✓";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: absolute;
  left: 0;
  top: 1px;
  background: var(--success);
  color: #052e16;
  font-size: 11px;
  font-weight: 900;
}

.renew-btn {
  margin-top: 14px;
  width: 100%;
  height: 44px;
  border-radius: 12px;
  font-size: 22px;
}

.my-benefits {
  border-radius: 16px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  padding: 14px;
  margin-top: 6px;
}

.my-benefits h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 28px;
}

.my-benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.my-benefits li {
  position: relative;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 14px;
}

.my-benefits li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-size: 12px;
}

@media (max-width: 640px) {
  .my-packages-head {
    align-items: center;
  }

  .my-packages-head h2 {
    font-size: 36px;
  }

  .add-package-btn {
    min-height: 36px;
    font-size: 13px;
    padding: 0 12px;
  }

  .active-price {
    font-size: 44px;
  }

  .duration-badge {
    min-width: 74px;
    height: 23px;
    font-size: 12px;
  }

  .active-title-wrap h3 {
    font-size: clamp(16px, 4.8vw, 22px);
  }

  .date-row {
    gap: 10px;
    font-size: clamp(10px, 2.8vw, 12px);
  }

  .benefit-list,
  .my-benefits ul {
    grid-template-columns: 1fr;
  }

  .renew-btn {
    height: 40px;
    font-size: 18px;
  }

  .my-benefits h3 {
    font-size: 22px;
  }
}

/* no-package.html */
.no-package-content .my-packages-head p {
  margin-top: 4px;
}

.no-package-card {
  border-radius: 18px;
  border: 1px dashed var(--surface-border);
  background: var(--surface);
  padding: 18px 14px;
  text-align: center;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.no-package-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(7, 53, 106, 0.08);
  border: 1px solid var(--surface-border);
  font-size: 28px;
}

.no-package-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 34px;
}

.no-package-card p {
  margin: 10px auto 0;
  max-width: 520px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.no-package-cta {
  margin: 14px auto 0;
  width: min(100%, 290px);
  height: 42px;
  border-radius: 12px;
  font-size: 17px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.no-package-card small {
  display: block;
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 12px;
}

.register-benefits h3,
.popular-packages h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 19px;
  letter-spacing: 0.04em;
}

.register-benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.register-benefit-item {
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.register-benefit-item strong {
  color: var(--text);
  font-size: 14px;
}

.register-benefit-item span {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.35;
}

.popular-packages {
  margin-top: 12px;
}

.popular-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 6px;
}

.popular-tag-hot {
  position: absolute;
  top: -9px;
  right: 12px;
  z-index: 3;
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.popular-right {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 2;
  text-align: right;
  pointer-events: none;
  padding: 2px 4px;
}

.popular-item {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  border-radius: 14px;
  border: none;
  overflow: visible;
  text-decoration: none;
  color: var(--text-on-navy);
  background-color: #16213d;
  isolation: isolate;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  box-shadow: 0 6px 18px rgba(7, 53, 106, 0.16);
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

.popular-item--plus {
  aspect-ratio: 512 / 147;
  background-image: url("./Image-Package/86TTspN31r-WCVVTVgoPlus-209k.png");
}

.popular-item--vip {
  aspect-ratio: 512 / 148;
  background-image: url("./Image-Package/d26TSenke1-WorldCupVIP.png");
}

.popular-item:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(7, 53, 106, 0.22);
}

.popular-item:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.popular-item-main {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1;
}

.popular-item small {
  display: block;
  color: var(--text-on-navy-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.popular-item strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(14px, 3.8vw, 16px);
  line-height: 1.2;
  color: var(--text-on-navy);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.popular-right b {
  position: relative;
  z-index: 1;
  display: block;
  color: #fff8e0;
  font-size: clamp(22px, 5.8vw, 28px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.7),
    0 2px 6px rgba(0, 0, 0, 0.5),
    0 0 8px rgba(255, 252, 235, 0.95),
    0 0 16px rgba(255, 236, 180, 0.85),
    0 0 28px rgba(255, 210, 120, 0.65),
    0 0 40px rgba(255, 190, 90, 0.4);
}

.popular-right span {
  display: block;
  margin-top: 4px;
  color: var(--text-on-navy-muted);
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

@media (max-width: 640px) {
  .no-package-card h3 {
    font-size: 30px;
  }

  .register-benefit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .register-benefit-item strong {
    font-size: 13px;
  }

  .popular-right b {
    font-size: 24px;
  }
}

@media (max-width: 420px) {
  .active-title-wrap h3 {
    font-size: clamp(14px, 4.6vw, 18px);
  }

  .duration-badge {
    min-width: 68px;
    padding: 0 10px;
    font-size: 11px;
  }

  .date-row {
    gap: 8px;
    font-size: 10px;
  }

  .benefit-list li {
    font-size: 11px;
  }
}

.progress-stepper {
  display: flex;
  align-items: flex-start;
  color: #d2d5da;
}

.step {
  text-align: center;
  min-width: 74px;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #7f8692;
  font-size: 12px;
  font-weight: 700;
}

.step small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.step.active span {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.step.active small {
  color: var(--success);
}

.line {
  flex: 1;
  height: 1px;
  background: #5a606b;
  margin: 10px 8px 0;
}

.content {
  padding: 18px 14px 34px;
  color: var(--text);
}

.hero h2 {
  margin: 0 0 6px;
  font-size: clamp(30px, 4.4vw, 42px);
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero p {
  margin: 0;
  color: var(--text-secondary);
}

.hero-features {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(6px, 1.6vw, 14px);
  flex-wrap: nowrap;
  padding-bottom: 2px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, 6px);
  flex: 1 1 0;
  min-width: 0;
  font-weight: 600;
  font-size: clamp(11px, 1.7vw, 15px);
  line-height: 1.2;
  color: var(--text-secondary);
}

.hero-feature-item span {
  min-width: 0;
  white-space: normal;
}

.hero-feature-item img {
  width: clamp(11px, 1.8vw, 16px);
  height: clamp(11px, 1.8vw, 16px);
  object-fit: contain;
  flex: 0 0 auto;
}

.step.done span {
  background: var(--success);
  border-color: var(--success);
  color: #ffffff;
}

.step.done small {
  color: #ffffff;
}

.step.warn span {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(248, 113, 113, 0.6);
  color: #f87171;
}

.step.warn small {
  color: #ffffff;
}

.line.done {
  background: var(--success);
}

.package-group {
  margin-top: 18px;
  animation: riseUp 0.55s ease both;
}

.package-group:nth-of-type(2) {
  animation-delay: 0.15s;
}

.group-heading {
  margin-bottom: 10px;
}

.group-heading h3 {
  margin: 0;
  font-size: clamp(20px, 3.1vw, 28px);
  color: var(--text);
}

.group-heading span {
  color: var(--text-secondary);
  font-size: 14px;
}

.package-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--surface-border);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.package-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

/* Gói 30 ngày — card trắng, cover navy gradient */
.package-card.highlight {
  background: var(--surface);
  border-color: var(--surface-border);
}

/* Gói 6 tháng — dark navy card */
#goi-6-thang .dark-card {
  background: var(--vtv-dark-card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

#goi-6-thang .dark-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

#goi-6-thang .micro-package-header {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#goi-6-thang .micro-title {
  color: var(--text-on-navy);
}

#goi-6-thang .price-row strong,
#goi-6-thang .highlight-price strong {
  color: var(--price-on-dark);
}

#goi-6-thang .feature-list.compact li {
  color: rgba(255, 255, 255, 0.88);
}

.best-seller-card {
  position: relative;
  border: 2px solid var(--price-on-dark);
  box-shadow: var(--shadow-lg);
}

.best-seller-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  z-index: 4;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--best-seller-gradient);
  border: 1px solid var(--best-seller-border);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow: 0 4px 12px rgba(139, 109, 49, 0.45);
}

.split-packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.split-packages .package-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dark-card {
  background: var(--vtv-dark-card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.micro-package-header {
  border-radius: 12px;
  min-height: 92px;
  padding: 8px 10px;
  background: var(--vtv-navy-card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  gap: 6px;
}

.micro-package-header img {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}

.micro-title {
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  color: #e9efff;
  font-weight: 700;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin: 10px 0;
}

.price-row strong {
  color: var(--price);
  font-size: 33px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-row span {
  color: var(--text-secondary);
  font-size: 14px;
}

.highlight-price strong {
  color: var(--price);
}

.card-cover {
  border-radius: 16px;
  padding: 16px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.card-cover::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -25px;
  top: -35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.six-month,
.best-seller-cover {
  background: var(--vtv-navy-card-gradient);
}

.card-cover.thirty-month.vtv-gradient.sctv-layout {
  background: #16213d;
}

.vtv-gradient::before,
.best-seller-cover::before {
  content: none;
}

.sctv-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  align-items: center;
}

.sctv-left {
  min-width: 0;
  padding-left: 18px;
}

.brand-pair {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sctv-logo {
  /* width: 100%; */
  max-width: 260px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.sctv-logo-half {
  /* width: calc(50% - 4px); */
  max-width: none;
}

.sctv-title {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-on-navy);
}

#goi-30-thang .package-card + .package-card {
  margin-top: 12px;
}

.sctv-right {
  text-align: right;
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.sctv-price {
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  color: var(--price-on-dark);
  letter-spacing: -0.03em;
}

.sctv-price.price-red {
  color: var(--price-on-dark);
}

.best-seller-card .sctv-title {
  color: var(--text-on-navy);
}

.sctv-unit {
  margin-top: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-on-navy-muted);
}

.best-seller-card .feature-status li.ok::before {
  background: var(--success);
  color: #052e16;
  box-shadow: none;
}

.chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.2);
}

.price {
  margin-top: 10px;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.card-cover p {
  margin: 8px 0 0;
  max-width: 280px;
}

.feature-list {
  margin: 14px 0 10px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  list-style: none;
}

.feature-list li::before,
.feature-status li.ok::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--success);
  color: #052e16;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
}

.feature-status li {
  color: var(--text-secondary);
}

.feature-status li.no::before {
  content: "✕";
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  background: var(--danger);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
}

.feature-status li.device-count::before {
  content: none;
}

.feature-status li.device-count {
  padding-left: 0;
  font-weight: 700;
  color: var(--text-secondary);
}

.feature-list.compact {
  margin-top: 6px;
  flex: 1;
}

.feature-list.compact li {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-secondary);
}

.action-btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  height: 48px;
  font-size: 22px;
}

.action-btn.ghost {
  height: 42px;
  font-size: 20px;
}

.policy-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
}

.policy-note p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.policy-note a {
  color: var(--vtv-navy);
}

.app-footer {
  padding: 14px;
  border-radius: 0;
  background: var(--footer-bg);
  color: var(--text-on-navy);
  border: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
}

.footer-meta p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-on-navy-muted);
}

.footer-meta p strong {
  color: var(--text-on-navy);
}

.footer-support {
  margin-top: 8px;
}

.footer-bottom {
  margin-top: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.footer-support h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text-on-navy);
}

.support-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 14px;
  color: var(--text-on-navy-muted);
}

.support-item svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.85);
  flex: 0 0 auto;
}

.success-result {
  width: min(100%, 760px);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: clamp(16px, 2.8vw, 24px);
}

.success-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle,
    rgba(34, 197, 94, 0.2) 0%,
    rgba(34, 197, 94, 0.05) 68%
  );
  border: 2px solid rgba(34, 197, 94, 0.36);
}

.success-ring .material-symbols-outlined {
  font-size: 34px;
  color: var(--success);
}

.fail-ring {
  background: radial-gradient(
    circle,
    rgba(248, 113, 113, 0.18) 0%,
    rgba(248, 113, 113, 0.04) 68%
  );
  border: 2px solid rgba(248, 113, 113, 0.38);
  position: relative;
}

.fail-ring .material-symbols-outlined {
  color: var(--danger);
}

.success-result .result-title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.3rem, 3.3vw, 1.8rem);
  font-weight: 800;
  color: var(--success);
}

.success-result .result-sub {
  margin: 6px auto 14px;
  max-width: 320px;
  text-align: center;
  color: var(--text-secondary);
  line-height: 1.55;
  font-size: clamp(0.92rem, 2.4vw, 1rem);
}

.success-result .receipt {
  background: var(--page-bg);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.success-result .rrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.success-result .rrow + .rrow {
  border-top: 1px solid var(--surface-border);
}

.success-result .rk {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.success-result .rv {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

.success-result .rv.big {
  font-size: 24px;
  line-height: 1;
  color: var(--price);
}

.success-result .rv.green {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: var(--success);
  font-weight: 700;
  line-height: 1;
}

.fail-title {
  color: var(--danger) !important;
}

.fail-status {
  color: var(--danger) !important;
}

.success-btn {
  width: min(100%, 420px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 12px;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1;
  text-decoration: none;
}

.fail-btn {
  border-color: var(--primary-hover);
}

.home-btn-secondary {
  width: min(100%, 420px);
  margin: 8px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 12px;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
}

body.success-page .app-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.success-page {
  background: var(--page-bg);
}

body.success-page .content {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.success-page .app-footer {
  margin-top: auto;
}

.purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.purchase-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(38, 40, 43, 0.55);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.purchase-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  max-width: min(100vw, 960px);
  background: var(--vtv-navy);
  color: var(--text-on-navy);
  border-radius: 16px 16px 0 0;
  padding: 14px 12px 12px;
  transform: translateY(110%);
  transition: transform 0.24s ease;
  box-shadow: 0 -12px 26px rgba(7, 53, 106, 0.35);
}

.plan-popup {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(100vw - 24px, 520px);
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 0 0 16px;
  box-shadow: 0 20px 48px rgba(7, 53, 106, 0.2);
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
  font-family: inherit;
  color: var(--text);
  overflow: hidden;
}

.plan-popup-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 16px 16px 18px;
  background: #16213d;
}

.plan-popup-head::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -36px;
  top: -48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.plan-popup-head > div {
  position: relative;
  z-index: 1;
}

.plan-popup-head p {
  margin: 0;
  color: var(--text-on-navy-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: inherit;
}

.plan-popup h4 {
  margin: 6px 0 0;
  color: var(--text-on-navy);
  font-size: clamp(20px, 3.2vw, 26px);
  line-height: 1.15;
  font-weight: 800;
  font-family: inherit;
  padding-right: 44px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.plan-popup-close {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-on-navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.plan-popup-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.plan-benefits {
  margin: 14px 16px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--surface-border);
  background: var(--surface);
}

@media (min-width: 520px) {
  .plan-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.benefit-chip {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 36px;
  border-radius: 8px;
  padding: 8px 10px;
  background: #dcfce7;
  border: none;
  color: #000000;
  font-size: clamp(10px, 1.9vw, 11px);
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  line-height: 1.25;
  white-space: normal;
}

.benefit-chip::before {
  content: "✓";
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--success);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  margin-right: 6px;
  flex-shrink: 0;
  line-height: 1;
}

.plan-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 16px 0;
  padding: 0;
}

.plan-options::before {
  content: "THỜI HẠN ĐĂNG KÝ";
  grid-column: 1 / -1;
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-family: inherit;
}

.plan-options:has(.plan-option:only-child) {
  grid-template-columns: 1fr;
}

.plan-option {
  position: relative;
  width: 100%;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background: #f0f4f8;
  min-height: 92px;
  padding: 16px 14px 14px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.plan-option-main {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--warning);
  color: #1a1400;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
  font-family: inherit;
  white-space: nowrap;
  z-index: 3;
}

.plan-badge.hot {
  background: var(--primary);
  color: #ffffff;
}

.plan-option-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: absolute;
  top: 12px;
  right: 12px;
}

.plan-option-icon svg {
  width: 100%;
  height: 100%;
}

.plan-option-copy strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  font-family: inherit;
  padding: 0 28px 6px 0;
}

.plan-option-copy .plan-option-price {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: clamp(18px, 3.8vw, 22px);
  line-height: 1;
  font-weight: 800;
  font-family: inherit;
}

.plan-option-copy small {
  display: none;
}

.plan-option.active {
  border: 2px solid var(--vtv-navy);
  background: #f0f4f8;
  box-shadow: none;
}

.plan-option.active .plan-option-copy strong {
  color: var(--vtv-navy);
}

.plan-option.active .plan-option-copy .plan-option-price {
  color: var(--primary);
}

.plan-summary {
  margin: 14px 16px 0;
  border-radius: 10px;
  border: 1px solid var(--surface-border);
  border-top: 2px solid var(--vtv-navy);
  background: #f0f4f8;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.plan-summary-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.plan-summary-col.right {
  text-align: right;
  flex-shrink: 0;
}

.plan-summary-col span {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 500;
  font-family: inherit;
}

.plan-summary-col strong {
  color: var(--vtv-navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  font-family: inherit;
}

.plan-summary-col.right strong {
  color: var(--primary);
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 800;
}

.plan-proceed {
  margin: 12px 16px 0;
  width: calc(100% - 32px);
  height: 52px;
  border: none;
  border-radius: 12px;
  font-size: clamp(15px, 2.2vw, 17px);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.plan-popup.is-open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

@media (max-width: 767px) {
  .app-shell {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .lookup-shell {
    width: min(100%, 620px);
  }
}

@media (max-width: 640px) {
  body.lookup-page {
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  .lookup-shell {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .lookup-hero {
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .plan-popup {
    width: min(100vw - 10px, 420px);
    padding: 0 0 12px;
    border-radius: 12px;
  }

  .plan-popup-close {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .plan-popup h4 {
    font-size: 18px;
  }

  .benefit-chip {
    min-height: 28px;
    padding: 0 6px;
    font-size: clamp(8px, 2.6vw, 10px);
  }

  .plan-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-options {
    gap: 10px;
  }

  .plan-option {
    min-height: 90px;
    padding: 20px 8px 10px;
    border-radius: 12px;
  }

  .plan-option-copy strong {
    font-size: 12px;
    padding-right: 28px;
  }

  .plan-option-copy .plan-option-price {
    font-size: clamp(18px, 4.5vw, 22px);
  }

  .plan-option-copy small {
    font-size: 10px;
  }

  .plan-summary {
    padding: 10px;
    border-radius: 12px;
  }

  .plan-summary-col strong {
    font-size: 14px;
  }

  .plan-summary-col.right strong {
    font-size: 18px;
  }

  .plan-proceed {
    height: 46px;
    border-radius: 12px;
    font-size: 14px;
  }

  .lookup-shell {
    margin: 0 auto;
  }

  .lookup-card {
    border-radius: 18px;
    padding: 14px;
  }

  .lookup-card input {
    height: 48px;
  }

  .lookup-card .lookup-submit {
    height: 44px;
  }
}

@media (max-width: 360px) {
  body.lookup-page {
    padding: 12px;
  }

  .lookup-card .lookup-submit {
    gap: 6px;
  }
}

.sheet-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #f6f6f6;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.sheet-label {
  color: #cfc7c7;
  font-size: 16px;
  font-weight: 600;
}

.sheet-price {
  margin-top: 2px;
  color: var(--price);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.sheet-confirm {
  margin-top: 10px;
  width: 100%;
  border: none;
  height: 40px;
  border-radius: 12px;
  background: var(--primary);
  border: 1px solid var(--primary-hover);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.sheet-confirm .material-symbols-outlined {
  font-size: 24px;
  line-height: 1;
}

.purchase-modal.is-open {
  pointer-events: auto;
}

.purchase-modal.is-open .purchase-backdrop {
  opacity: 1;
}

.purchase-modal.is-open .purchase-sheet {
  transform: translateY(0);
}

body.modal-open {
  overflow: hidden;
}

.footer-logo {
  width: 112px;
  max-width: 34%;
  height: auto;
  object-fit: contain;
  align-self: flex-end;
}

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

@media (max-width: 480px) {
  .app-shell {
    max-width: 100%;
  }

  .progress-wrap {
    padding: 12px 12px 14px;
    border-radius: 0;
  }

  .progress-top {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 8px;
  }

  .brand-logo {
    height: 24px;
  }

  .hotline {
    font-size: 15px;
  }

  .text-title-md {
    font-size: 16px;
  }

  .p-card-padding {
    padding: 12px;
  }

  .text-body-md {
    font-size: 14px;
  }

  .progress-stepper {
    gap: 4px;
  }

  .step {
    min-width: 60px;
  }

  .step small {
    font-size: 11px;
  }

  .line {
    margin: 10px 4px 0;
  }

  .content {
    padding: 14px 10px 26px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 14px;
  }

  .group-heading h3 {
    font-size: 20px;
  }

  .group-heading span {
    font-size: 13px;
  }

  .success-result {
    border-radius: 16px;
    padding: 14px 12px;
  }

  .success-ring {
    width: 64px;
    height: 64px;
  }

  .success-ring .material-symbols-outlined {
    font-size: 30px;
  }

  .success-result .rv.big {
    font-size: 22px;
  }

  .split-packages {
    gap: 10px;
  }

  .package-card {
    border-radius: 16px;
    padding: 10px;
  }

  .micro-package-header {
    min-height: 82px;
    padding: 6px 8px;
  }

  .price-row strong {
    font-size: 30px;
  }

  .feature-list.compact li {
    font-size: 12px;
  }

  .sctv-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sctv-left {
    padding-left: 10px;
  }

  .sctv-right {
    text-align: left;
  }

  .sctv-logo {
    height: 46px;
  }

  .sctv-price {
    font-size: 34px;
  }

  .sctv-unit {
    font-size: 13px;
  }

  .best-seller-badge {
    top: -8px;
    right: 10px;
    padding: 4px 10px;
    font-size: 12px;
  }

  .purchase-sheet {
    max-width: 100%;
    border-radius: 14px 14px 0 0;
    padding: 12px 10px 10px;
  }

  .sheet-price {
    font-size: 38px;
  }

  .app-footer {
    padding: 12px;
  }

  .footer-bottom {
    align-items: center;
  }
}

@media (max-width: 430px) {
  #goi-6-thang .split-packages {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .action-btn {
    height: 44px;
    font-size: 20px;
  }

  .action-btn.ghost {
    height: 40px;
    font-size: 18px;
  }

  .footer-logo {
    width: 88px;
  }
}

@media (max-width: 375px) {
  .nav-row h1 {
    font-size: 18px;
  }

  .hero h2 {
    font-size: 30px;
  }

  .price {
    font-size: 40px;
  }

  #goi-6-thang .split-packages {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .sctv-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sctv-right {
    text-align: left;
  }

  .sctv-price {
    font-size: 36px;
  }

  .price-row strong {
    font-size: 30px;
  }

  .action-btn {
    font-size: 18px;
    height: 44px;
  }

  .action-btn.ghost {
    height: 40px;
    font-size: 18px;
  }

  .app-footer {
    padding: 12px;
  }

  .sheet-label {
    font-size: 15px;
  }

  .sheet-price {
    font-size: 36px;
  }

  .sheet-confirm {
    height: 41px;
    font-size: 18px;
  }

  .sheet-confirm .material-symbols-outlined {
    font-size: 22px;
  }

  .footer-logo {
    width: 96px;
  }
}
