/* ==========================================================================
   HOMEPAGE - VIETTEL DATA (MERGED)
   Gom từ: homepage.css + home-vietteldata.css
   Quy ước cascade gốc: homepage.css load trước, home-vietteldata.css load sau
   => Khi 2 file đụng selector, ưu tiên giữ home-vietteldata.css (override)
   ========================================================================== */


/* ==========================================================================
   1. ROOT VARIABLES & BASE
   ========================================================================== */
:root {
  /* Bảng màu chuẩn (gộp từ cả 2 file) */
  --red: #ee0033;
  --red-dark: #cc002b;
  --red-light: #fff1f2;
  --v-red: #ee0033;          /* alias cũ từ homepage.css */
  --v-dark-red: #b91c1c;
  --v-light: #fff1f2;
  --v-dark: #333;
  --v-gray: #f8fafc;

  --blue: #0284c7;
  --blue-light: #e0f2fe;
  --green: #16a34a;
  --green-light: #dcfce7;
  --orange: #f59e0b;
  --orange-light: #ffedd5;
  --purple: #9333ea;
  --purple-light: #f3e8ff;
  --teal: #14b8a6;
  --teal-light: #ccfbf1;
  --slate: #334155;
  --slate-light: #e2e8f0;
  --gray: #64748b;
  --gray-light: #f1f5f9;

  --border: #e5e7eb;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
  --radius: 12px;
}

html { scroll-behavior: smooth; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }


/* ==========================================================================
   2. HELPER CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.font-bold   { font-weight: bold; }
.text-red    { color: var(--red); }
.text-gray   { color: #666; font-size: 13px; }
.text-muted  { color: #555; font-size: 13px; }

@media (min-width: 768px) {
  .hide-on-pc { display: none !important; }
}


/* ==========================================================================
   3. QUICK SYNTAX HERO (ô nổi bật cú pháp)
   ========================================================================== */
.quick-syntax-hero {
  background: linear-gradient(135deg, #fff5f5 0, #ffecec 100%);
  border: 2px dashed #e03;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  margin: 15px 0 20px;
  position: relative;
  overflow: hidden;
}
.quick-syntax-hero::before {
  content: "\f0e0";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 60px;
  color: rgba(238, 0, 51, 0.05);
  transform: rotate(-15deg);
}
.qs-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 5px;
  text-transform: uppercase;
}



/* ==========================================================================
   4. VD FINAL ANSWER / WARNING / BRIDGE
   ========================================================================== */
.vd-final-answer,
.vd-warning {
  margin: 25px 0;
  font-family: 'Segoe UI', Roboto, sans-serif;
  position: relative;
}
.vd-final-answer {
  background-color: #fff5f5;
  border-left: 0px solid #e03;
  padding: 15px;
  border-radius: 0 12px 12px 0;
  color: #333;
  box-shadow: 0 4px 15px rgba(238, 0, 51, 0.08);
}
.vd-final-answer strong,
.vd-warning strong { color: #b91c1c; }

.vd-final-answer .answer-title {
  margin: 0 0 15px;
  font-weight: 700;
  font-size: 18px;
  color: #b91c1c;
  position: relative;
  padding-left: 30px;
  line-height: 1.4;
}
.vd-final-answer .answer-title::before {
  content: "\f0e7";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: #e03;
  font-size: 20px;
}
.vd-final-answer .answer-list { list-style: none; padding: 0; margin: 0; }
.vd-final-answer .answer-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  line-height: 1.5;
  font-size: 15px;
}
.vd-final-answer .answer-list li::before {
  position: absolute;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  left: 0;
  top: 2px;
  color: #e03;
  font-size: 16px;
  width: 25px;
  text-align: center;
}
.vd-final-answer .li-wifi::before   { content: "\f1eb"; }
.vd-final-answer .li-social::before { content: "\f144"; }
.vd-final-answer .li-day::before    { content: "\f783"; }

.vd-final-answer .answer-note {
  margin: 15px 0 0;
  padding-top: 15px;
  border-top: 1px dashed #fecaca;
  font-size: 14px;
  color: #64748b;
  font-style: italic;
}

.vd-warning {
  background-color: #fff;
  border: 1px solid #fecaca;
  border-left: 5px solid #b91c1c;
  padding: 20px 20px 20px 65px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(185, 28, 28, 0.05);
}
.vd-warning::before {
  content: "\f071";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 20px;
  top: 22px;
  font-size: 28px;
  color: #b91c1c;
}
.vd-warning .warn-title {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: #b91c1c;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.vd-warning p,
.vd-bridge p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.vd-warning p { color: #333; }

.vd-bridge {
  background-color: #f8fafc;
  border-top: 3px solid #e03;
  padding: 20px 25px;
  margin: 0;
  border-radius: 0 0 8px 8px;
  position: relative;
  font-family: 'Segoe UI', Roboto, sans-serif;
}
.vd-bridge p {
  position: relative;
  padding-left: 35px;
  color: #334155;
}
.vd-bridge p::before {
  content: "\f05a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 22px;
  color: #e03;
}
.vd-bridge strong { color: #e03; }


/* ==========================================================================
   5. TOP 5 SCROLL CARDS
   ========================================================================== */
.top5-wrapper { background: #fff; }
.top5-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding: 0 5px;
}
.top5-title {
  font-size: 18px;
  font-weight: 900;
  color: #b91c1c;
  margin: 0;
  display: flex;
  align-items: center;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.flame-icon {
  color: #ef4444;
  font-size: 20px;
  margin-right: 6px;
  animation: flame 1.5s infinite alternate;
}
.top5-subtext {
  color: #444;
  background: #fef3c7;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid #fcd34d;
  white-space: nowrap;
  text-transform: uppercase;
  animation: urgency-pulse 0.8s infinite alternate;
  cursor: help;
}

.top5-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-top: 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.top5-scroll-container::-webkit-scrollbar { display: none; }

.top5-card {
  flex: 0 0 145px;
  background: #fff;
  border-radius: 16px;
  padding: 25px 5px 15px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  scroll-snap-align: center;
}
.card-king {
  border: 2px solid #f59e0b;
  background: linear-gradient(180deg, #fffbeb 0, #fff 100%);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2);
}
.king-crown {
  position: absolute;
  top: -18px;
  right: -8px;
  font-size: 24px;
  color: #f59e0b;
  transform: rotate(25deg);
  z-index: 10;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}
.rank-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  background: #64748b;
  z-index: 5;
  white-space: nowrap;
}
.rank-1 { background: linear-gradient(90deg, #d97706, #f59e0b); }
.rank-2 { background: #94a3b8; }
.rank-3 { background: #b45309; }

.top5-name  { font-weight: 900; color: #dc2626; font-size: 19px; margin-top: 5px; letter-spacing: -0.5px; }
.top5-data  { font-weight: 800; color: #1e293b; font-size: 17px; margin: 4px 0; }
.unit       { font-size: 11px; font-weight: 500; color: #64748b; }
.top5-tag {
  font-size: 11px;
  color: #059669;
  background: #d1fae5;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
  font-weight: 600;
}
.top5-price { font-weight: 700; color: #4b5563; font-size: 14px; margin-bottom: 10px; }
.top5-btn {
  display: block;
  background: #ef4444;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(239, 68, 68, 0.25);
  white-space: nowrap;
  text-decoration: none;
}
.btn-king {
  background: linear-gradient(90deg, #dc2626, #ef4444);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
  animation: pulse-red 2s infinite;
}

@media (min-width: 1024px) {
  .top5-title    { font-size: 24px; }
  .top5-subtext  { font-size: 14px; padding: 5px 15px; }
  .top5-scroll-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    overflow: visible;
    padding-top: 10px;
  }
  .top5-card {
    flex: unset;
    width: auto;
    padding: 30px 10px 20px;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .top5-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 2;
  }
  .card-king          { transform: scale(1.05); z-index: 1; }
  .card-king:hover    { transform: scale(1.05) translateY(-10px); }
  .top5-name          { font-size: 22px; }
  .top5-data          { font-size: 20px; }
  .top5-btn           { padding: 10px 0; font-size: 15px; }
}


/* ==========================================================================
   6. VIETTEL TABLE  (gộp - dùng định nghĩa sau cùng làm chuẩn)
   ========================================================================== */
.viettel-table-wrap,
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.viettel-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border: 1px solid #eee;
}
.viettel-table thead tr,
.viettel-table th {
  background-color: var(--red) !important;
  color: #fff;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
}
.viettel-table th,
.viettel-table td {
  padding: 10px;
  border: 1px solid #ddd;
  vertical-align: middle;
}
.viettel-table th { padding: 12px 10px; }

.vt-col-name  { width: 15%; text-align: center; color: #2e7d32; font-weight: 700; font-size: 16px; }
.vt-col-price { width: 15%; text-align: center; color: var(--red); font-weight: 700; }
.vt-col-info  { width: 50%; text-align: left; line-height: 1.4; }
.vt-col-btn   { width: 20%; text-align: center; }

.vt-btn-reg {
  display: inline-block;
  background-color: var(--red);
  color: #fff !important;
  padding: 6px 15px;
  border-radius: 20px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}
.vt-btn-reg:hover { background-color: #b71c1c; }

/* Nút SMS / link nhỏ trong bảng */
.pkg-link {
  font-weight: bold;
  color: var(--red);
  font-size: 15px;
  text-decoration: none;
}
.btn-table-reg {
  background: var(--red);
  color: #fff;
  padding: 6px 15px;
  border-radius: 4px;
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
}
.btn-table-reg:hover { background: var(--red-dark); color: #fff; }

.table-seo-wrapper h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
  text-transform: capitalize;
  border-left: 4px solid var(--red);
  padding-left: 10px;
}
.table-seo-wrapper h3::after { width: 0; height: 0; }


/* ==========================================================================
   7. LIST CÁCH ĐĂNG KÝ
   ========================================================================== */
.list-cach-dang-ky {
  list-style: none !important;
  padding: 0;
  margin: 20px 0;
}
.list-cach-dang-ky li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
}
.list-cach-dang-ky li::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 18px;
  color: #e03;
  width: 25px;
  text-align: center;
}
.list-cach-dang-ky .type-sms::before  { content: "\f0e0"; }
.list-cach-dang-ky .type-ussd::before { content: "\f095"; }
.list-cach-dang-ky .type-app::before  { content: "\f3cd"; }
.list-cach-dang-ky .type-web::before  { content: "\f0ac"; margin-right: 20px; }


/* ==========================================================================
   8. SECTION #cach-dang-ky-4g-5g (FAQ block)
   ========================================================================== */
#cach-dang-ky-4g-5g {
  text-align: justify !important;
}
#cach-dang-ky-4g-5g.faq {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--v-dark);
  border-top: 5px solid var(--v-red);
}
#cach-dang-ky-4g-5g h2 {
  color: var(--v-red);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  text-align: center;
  text-transform: uppercase;
}
/* h3 - gộp: đỏ sẫm + viền trái Viettel */
#cach-dang-ky-4g-5g h3 {
  color: #a52a2a;
  font-size: 1.6rem;
  font-weight: bold;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  border-left: 5px solid var(--v-red);
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 1.5rem 0 0.75rem 0;
  line-height: 1.4;
  display: block;
}
#cach-dang-ky-4g-5g h3::after { background: 0 0; }
#cach-dang-ky-4g-5g strong { color: var(--v-dark-red); }

#cach-dang-ky-4g-5g h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 25px;
  margin-bottom: 15px;
  background: var(--v-gray);
  padding: 10px 15px;
  border-radius: 8px;
  display: inline-block;
}
#cach-dang-ky-4g-5g p { margin-bottom: 15px; font-size: 16px; }

#cach-dang-ky-4g-5g ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}
#cach-dang-ky-4g-5g ul li {
  position: relative;
  padding: 12px 15px 12px 32px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
#cach-dang-ky-4g-5g ul li:hover {
  transform: translateX(5px);
  border-color: #fca5a5;
  box-shadow: 0 4px 10px rgba(238, 0, 51, 0.1);
}
#cach-dang-ky-4g-5g h4 + ul li { padding-left: 35px; }
#cach-dang-ky-4g-5g h4 + ul li::before {
  content: "\2714";
  position: absolute;
  left: 12px;
  top: 12px;
  color: var(--v-red);
  font-weight: 700;
}

#cach-dang-ky-4g-5g pre {
  background: linear-gradient(135deg, #1e293b 0, #334155 100%);
  padding: 25px;
  border-radius: 12px;
  margin: 20px 0;
  position: relative;
  border: 2px dashed var(--v-red);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
}
#cach-dang-ky-4g-5g pre::before {
  content: "SOẠN TIN NHẮN:";
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
#cach-dang-ky-4g-5g code {
  font-family: Consolas, Monaco, monospace;
  font-size: 22px;
  font-weight: 700;
  color: #fbbf24;
  display: block;
  letter-spacing: 1px;
}


/* ==========================================================================
   9. SEO HEADING / TITLE 5G / EXPAND CONTENT
   ========================================================================== */
.seo-heading {
  color: #c00;
  margin-bottom: 20px;
  font-size: 22px;
  text-align: center;
  text-transform: uppercase;
}

.container-seo h3.title-5g {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px !important;
  margin-bottom: 10px !important;
  border: none !important;
  padding: 0 !important;
  background: 0 0 !important;
}
.container-seo h3.title-5g::before,
.container-seo h3.title-5g::after {
  display: none !important;
  content: none !important;
}
.container-seo h3.title-5g .icon-svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: #c00;
  margin-top: 1px;
}
.container-seo h3.title-5g .icon-box {
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.container-seo h3.title-5g .icon-box i { color: #c00; font-size: 20px; }
.container-seo h3.title-5g .text-title {
  color: #c00;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  flex: 1;
  text-transform: uppercase;
}
.container-seo p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
  text-align: justify;
  padding-left: 36px;
}

.expand-wrapper { position: relative; }
.expand-content {
  overflow: hidden;
  transition: height 0.5s;
  position: relative;
}
.expand-content.collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
.expand-content.expanded { height: auto; }
.expand-content.expanded::after { display: none; }
.expand-footer { margin-top: 10px; text-align: center; }

.btn-expand {
  background: #fff;
  border: 1px solid #c00;
  color: #c00;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.3s;
}
.btn-expand:hover { background: #c00; color: #fff; }


/* ==========================================================================
   10. SECTION HEADER MODERN / TABS / VIEW ALL
   ========================================================================== */
.section-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.view-all-link {
  color: #e03;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.view-all-link:hover { text-decoration: underline; }

.category-tabs-container {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 0;
}
.category-tabs-container::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(to right, transparent, #fff);
  pointer-events: none;
}
.tabs-wrapper {
  display: flex;
  gap: 8px;
  padding: 10px 15px 5px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.tabs-wrapper::-webkit-scrollbar { display: none; }

.tab-btn {
  flex: 0 0 auto;
  background: #f8f9fa;
  border: 1px solid #eee;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  color: #555;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
  transition: 0.2s;
}
.tab-btn i { font-size: 0.9rem; }
.tab-btn:hover  { background: #e5e7eb; color: #333; }
.tab-btn.active {
  background: #e03;
  color: #fff;
  border-color: #e03;
  box-shadow: 0 4px 8px rgba(238, 0, 51, 0.25);
  transform: scale(1.02);
}

.tab-content { display: none; animation: fadeIn 0.5s; }
.tab-content.active { display: block; }


/* ==========================================================================
   11. MOBILE BOTTOM NAV  (gộp 2 phiên bản)
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  display: none;                /* mặc định ẩn, hiện ở mobile */
  padding: 8px 5px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 9999;
  border-top: 1px solid #f1f5f9;
  height: 65px;
}
.bottom-nav-item,
.mbn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: 0 0;
  border: none;
  outline: 0;
  color: #64748b;
  padding: 5px 0;
  text-decoration: none;
  gap: 4px;
  cursor: pointer;
  transition: 0.2s;
  position: relative;
}
.mbn-item:hover { text-decoration: none; }
.bottom-nav-item i { font-size: 20px; margin-bottom: 4px; }
.mbn-icon          { padding-top:8px; height: 22px; }
.bottom-nav-item span { font-size: 10px; font-weight: 600; text-transform: uppercase; }
.mbn-title  { font-weight: 800; font-size: 10px; text-transform: uppercase; }
.mbn-price  { font-size: 9px; font-weight: 500; margin-top: 1px; white-space: nowrap; }

.bottom-nav-item.active,
.active-item { color: var(--red); }
.bottom-nav-item.active   { background: rgba(238, 0, 51, 0.03); }
.bottom-nav-item.active i { transform: translateY(-2px); }

@media (min-width: 769px) { .mobile-bottom-nav { display: none; } }
@media (max-width: 768px) { .mobile-bottom-nav { display: flex; } }


/* ==========================================================================
   12. MOBILE FLOATING SEARCH BUTTON
   ========================================================================== */
.mobile-search-btn {
  position: fixed;
  bottom: 100px;
  left: 10px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #e03, #ff5e62);
  color: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(238, 0, 51, 0.4);
  z-index: 9999;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.3s;
}
.mobile-search-btn:active { transform: scale(0.9); }
.search-btn-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(238, 0, 51, 0.6);
  border-radius: 50%;
  z-index: -1;
  animation: pulse-ring 2s infinite;
}
@media (min-width: 768px) {
  .mobile-search-btn { display: none; }
}


/* ==========================================================================
   13. FILTER DROPDOWN
   ========================================================================== */
.filter-dropdown-container {
  background: linear-gradient(180deg, #fff 0, #fff9fa 100%);
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #ffecec;
}
.filter-dropdown-box {
  background: #fff;
  padding: 25px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(238, 0, 51, 0.08);
  border: 1px solid #fff0f0;
  position: relative;
  overflow: hidden;
}
.filter-dropdown-box::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}
.filter-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #333;
  margin-bottom: 0;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}
.filter-title i {
  color: #e03;
  background: #ffecec;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
}
.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.filter-item { flex: 1; }
.filter-item label {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 8px;
  padding-left: 5px;
}

.input-wrapper,
.select-wrapper {
  position: relative;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  transition: 0.3s;
  height: 50px;
  box-sizing: border-box;
}
.input-wrapper input,
.select-wrapper select {
  border: none;
  outline: 0;
  font-size: 1rem;
  color: #333 !important;
  font-weight: 600;
  font-family: inherit;
  width: 100%;
}
.select-wrapper select {
  height: 100%;
  padding: 0 40px 0 30px !important;
  line-height: 16px;
  display: flex;
  align-items: center;
  background-color: transparent !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}
.select-wrapper select option {
  background-color: #fff;
  color: #333;
  padding: 10px;
  min-height: 1.2em;
}
.select-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  color: #e03;
  font-size: 1.1rem;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}
.arrow-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  color: #999;
  font-size: 0.8rem;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}
.input-wrapper:hover,
.input-wrapper:focus-within {
  border-color: #e03;
  box-shadow: 0 4px 12px rgba(238, 0, 51, 0.1);
}
.input-wrapper input {
  height: 100%;
  padding: 0 15px 0 45px !important;
  background: 0 0;
}
.input-wrapper input::placeholder { color: #bbb; font-weight: 400; }
.input-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #e03;
  font-size: 1.1rem;
  pointer-events: none;
}

@media (min-width: 769px) {
  .search-item     { flex: 1.5; }
  .filter-controls { gap: 20px; }
  .filter-item     { flex: 1; }
}


/* ==========================================================================
   14. SAPO BOX
   ========================================================================== */
.sapo-section {
  padding: 60px 15px !important;
  background: #fff !important;
}
.sapo-box {
  max-width: 900px !important;
  margin: 0 auto !important;
  background: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
  border-top: 4px solid #e03 !important;
  border-radius: 16px !important;
  padding: 40px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  text-align: center !important;
  position: relative !important;
}
.sapo-box::before {
  content: "\f521";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15rem;
  color: rgba(238, 0, 51, 0.02);
  z-index: 0;
  pointer-events: none;
}
.sapo-title    { margin-bottom: 25px !important; }
.sapo-features {
  margin-top: 30px !important;
  padding-top: 30px !important;
  border-top: 1px solid #e5e7eb !important;
}


/* ==========================================================================
   15. PACKAGE CARDS — pkgnew (hero) & pkg-card (chuẩn)
   ========================================================================== */

/* --- pkg-card (gộp: bao trùm cả 2 file) --- */
.pkg-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pkg-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.best-seller { border: 2px solid var(--red); }

/* Ribbon */
.ribbon {
  position: absolute;
  right: -5px;
  top: -5px;
  z-index: 10;
  overflow: hidden;
  width: 75px;
  height: 75px;
}
.ribbon span {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(45deg);
  width: 100px;
  display: block;
  position: absolute;
  top: 19px;
  right: -21px;
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
}
.ribbon-red    span { background: var(--red); }
.ribbon-blue   span { background: var(--blue); }
.ribbon-green  span { background: var(--green); }
.ribbon-orange span { background: var(--orange); }
.ribbon-purple span { background: var(--purple); }
.ribbon-teal   span { background: var(--teal); }
.ribbon-pink   span { background: #db2777; }
.ribbon-yellow span { background: #d97706; }

/* Header / Body / Footer của pkg-card */
.pkg-header { padding: 18px 16px; text-align: center; background: #fee2e2; }
.pkg-header.header-blue   { background: var(--blue-light); }
.pkg-header.header-green  { background: var(--green-light); }
.pkg-header.header-orange { background: var(--orange-light); }
.pkg-header.header-purple { background: var(--purple-light); }
.pkg-header.header-teal   { background: var(--teal-light); }
.pkg-header.header-pink   { background: #fce7f3; }
.pkg-header.header-yellow { background: #fef3c7; }
.pkg-header.header-slate  { background: var(--slate-light); }

.pkg-name {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  text-transform: uppercase;
}
.pkg-name::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--red);
  margin: 8px auto 0;
  border-radius: 2px;
  position: static !important;
}
.pkg-price { font-size: 24px; font-weight: 700; color: var(--red); margin-top: 6px; }
.pkg-cycle { font-size: 13px; font-weight: 400; color: #666; }

.pkg-body  { padding: 18px 16px; text-align: center; }
.main-data { margin-bottom: 14px; }
.data-num  { font-size: 32px; font-weight: 800; color: #1e293b; line-height: 1; }
.data-unit { font-size: 16px; font-weight: 600; color: #555; }
.data-note { font-size: 13px; color: #666; margin-top: 4px; }

ul.pkg-features {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left;
}
ul.pkg-features li {
  list-style: none !important;
  margin-bottom: 9px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 14px;
  color: #444;
}
ul.pkg-features li::before,
ul.pkg-features li::after {
  content: none !important;
  display: none !important;
}
.icon-wrap { flex-shrink: 0 !important; width: 20px !important; text-align: center; padding-top: 2px; }
.text-wrap { flex: 1; text-align: left; font-size: 14px; color: #444; line-height: 1.4; }
.icon-check { color: #22c55e; }

.pkg-footer { padding: 0 16px 18px; text-align: center; }
.btn-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s;
  font-size: 14px;
}
.btn-cta:hover { transform: scale(1.03); text-decoration: none; color: #fff; }
.btn-red    { background: var(--red);    box-shadow: 0 4px 15px rgba(238, 0, 51, 0.4); }
.btn-red:hover    { background: var(--red-dark); }
.btn-blue   { background: var(--blue);   box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4); }
.btn-blue:hover   { background: #0369a1; }
.btn-green  { background: var(--green);  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4); }
.btn-green:hover  { background: #15803d; }
.btn-orange { background: var(--orange); box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4); }
.btn-orange:hover { background: #d97706; }
.btn-purple { background: var(--purple); box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4); }
.btn-purple:hover { background: #7e22ce; }
.btn-teal   { background: var(--teal);   box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4); }
.btn-teal:hover   { background: #0f766e; }
.btn-pink   { background: #db2777; box-shadow: 0 4px 15px rgba(219, 39, 119, 0.4); }
.btn-pink:hover   { background: #9d174d; }
.btn-yellow { background: #d97706; box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4); }
.btn-yellow:hover { background: #b45309; }
.btn-pulse  { animation: pulse-btn 2s infinite; }
.sms-syntax { font-size: 13px; color: #666; margin-top: 8px; }

.btn-reg {
  flex: 1.5;
  background: linear-gradient(90deg, #e03, #ff4b2b);
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 10px rgba(238, 0, 51, 0.25);
  white-space: nowrap;
  text-decoration: none;
}
.btn-reg i { margin-right: 6px; }
.btn-reg:hover { box-shadow: 0 6px 15px rgba(238, 0, 51, 0.35); }

/* --- pkgnew hero variant --- */
.pkgnew-grid-box {
  display: grid;
  width: 100%;
  gap: 20px;
  grid-template-columns: 1fr;
}
.pkgnew-hero-card {
  background: #fff;
  width: 100%;
  border-radius: 24px;
  padding: 35px 15px 25px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #fce7e7;
  text-align: center;
  transition: 0.3s;
  display: flex;
  flex-direction: column !important;
  align-items: center;
  height: 100%;
  margin: 15px 0;
}
.pkgnew-hero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(238, 0, 51, 0.15);
  border-color: #fee2e2;
  z-index: 2;
}
.pkgnew-top    { order: 1; margin: 15px 0 10px; width: 100%; text-align: center; }
.pkgnew-orb {
  order: 2;
  position: relative;
  width: 110px;
  height: 110px;
  margin: 5px auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.pkgnew-info   { order: 3; width: 100%; margin-bottom: 0; flex-grow: 1; }
.pkgnew-action-group {
  order: 4;
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.pkgnew-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 5;
  white-space: nowrap;
  text-transform: uppercase;
}
.bg-red    { background: linear-gradient(90deg, #e03, #ff5e62); }
.bg-purple { background: linear-gradient(90deg, #d946ef, #a855f7); }
.bg-green  { background: linear-gradient(90deg, #22c55e, #10b981); }
.bg-orange { background: linear-gradient(90deg, #f59e0b, #f97316); }
.bg-blue   { background: linear-gradient(90deg, #3b82f6, #06b6d4); }
.bg-gray   { background: #64748b; }
.bg-black  { background: #1e293b; }
.ring-red    { background: conic-gradient(#e03, #fff, #e03); }
.ring-purple { background: conic-gradient(#a855f7, #fff, #a855f7); }
.ring-green  { background: conic-gradient(#22c55e, #fff, #22c55e); }
.ring-orange { background: conic-gradient(#f97316, #fff, #f97316); }
.ring-blue   { background: conic-gradient(#3b82f6, #fff, #3b82f6); }
.ring-gray   { background: conic-gradient(#64748b, #fff, #64748b); }
.ring-black  { background: conic-gradient(#1e293b, #fff, #1e293b); }

.pkgnew-name {
  font-size: 32px;
  font-weight: 900;
  color: #1e293b;
  margin: 0 0 10px;
  line-height: 1;
  position: relative;
}
.pkgnew-name::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #f1f5f9;
  margin: 8px auto 0;
  border-radius: 2px;
}
.pkgnew-price {
  font-size: 22px;
  font-weight: 700;
  color: #e03;
  display: flex;
  justify-content: center;
  align-items: baseline;
}
.pkgnew-cycle { font-size: 14px; color: #64748b; font-weight: 400; margin-left: 4px; }

.pkgnew-orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition: 0.5s;
  transform: translateZ(0);
}
.pkgnew-hero-card:hover .pkgnew-orb-ring { animation: pkgnewSpin 2s linear infinite; }
.pkgnew-orb-overlay {
  position: absolute;
  width: 96px;
  height: 96px;
  background: #fff;
  border-radius: 50%;
  z-index: 2;
}
.pkgnew-orb-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.pkgnew-val  { font-size: 36px; font-weight: 900; color: #1e293b; }
.pkgnew-unit { font-size: 12px; font-weight: 700; color: #94a3b8; }

.pkgnew-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
}
.pkgnew-benefit-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: #334155;
  line-height: 1.4;
}
.pkgnew-icon-box {
  width: 24px;
  height: 24px;
  background-color: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
}
.pkgnew-icon-box i { color: #e03; font-size: 11px; }

.pkgnew-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  padding: 12px 0;
  transition: 0.2s;
  cursor: pointer;
  text-transform: uppercase;
}
.pkgnew-btn:hover { transform: translateY(-2px); }
.btn-detail {
  flex: 1;
  background: #fff;
  color: #64748b;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.btn-detail:hover {
  border-color: #94a3b8;
  color: #334155;
  background: #f8fafc;
}

/* Suffix động cho badge theo năm */
.pkg-card[data-year="2022"] .pkgnew-badge::after { content: " - ĐẠI TRÀ"; }
.pkg-card[data-year="2023"] .pkgnew-badge::after { content: " - SIM 2023+"; }
.pkg-card[data-year="2024"] .pkgnew-badge::after { content: " - SIM 2024+"; }
.pkg-card[data-year="2025"] .pkgnew-badge::after { content: " - SIM 2025+"; }

@media (min-width: 1024px) {
  .pkgnew-grid-box { grid-template-columns: repeat(4, 1fr); }
  .pkgnew-hero-card { max-width: none; margin: 15px 0 0; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .pkgnew-grid-box { grid-template-columns: repeat(2, 1fr); }
}


/* ==========================================================================
   16. QUICK TABLE
   ========================================================================== */
.quick-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 20px 0;
  box-shadow: var(--shadow);
}
.quick-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}
.quick-table thead th {
  background: var(--slate) !important;
  color: #fff;
  padding: 11px 14px;
  text-align: left;
  font-weight: 700;
}
.quick-table tbody tr:nth-child(even) { background: #f8fafc; }
.quick-table tbody tr:hover { background: #f0fdf4; }
.quick-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.quick-table td:nth-child(1) { font-weight: 700; color: var(--red); }
.quick-table td:nth-child(2) { font-weight: 700; }

.btn-sms-sm {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.btn-sms-sm:hover { background: var(--red-dark); color: #fff; }


/* ==========================================================================
   17. HIGHLIGHT / INFO / WARNING / TIP BOXES
   ========================================================================== */
.vt-highlight-txt {
  background: #f8fafc;
  border-left: 4px solid var(--red);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
}

.info-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
  font-size: 14px;
}
.warning-box {
  background: var(--red-light);
  border-left: 4px solid var(--red);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
  font-size: 14px;
}

/* tip-box: gộp - dùng phiên bản vàng/cam (định nghĩa thứ 2 trong file gốc đã override) */
.tip-box {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #d97706;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #92400e;
  margin: 16px 0;
}
.tip-box strong { color: #b45309; }


/* ==========================================================================
   18. GROUP SECTION HEADER

   ========================================================================== */
.group-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--red);
}
.group-section-title {
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.group-section-desc {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn-view-all:hover {
  background: var(--red-dark);
  transform: scale(1.03);
  color: #fff;
  text-decoration: none;
}
.btn-view-all-blue   { background: var(--blue); }
.btn-view-all-blue:hover   { background: #0369a1; }
.btn-view-all-orange { background: var(--orange); }
.btn-view-all-orange:hover { background: #d97706; }


/* ==========================================================================
   19. PACKAGE GRID (cho .package-grid của home-vietteldata)
   ========================================================================== */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: flex-start;
}


/* ==========================================================================
   20. TEASER BLOCK (Combo & MXH)
   ========================================================================== */
.teaser-block {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.teaser-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.teaser-content h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: #1e293b;
  border: none;
  padding: 0;
}
.teaser-content p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}
.teaser-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.teaser-tag {
  background: #fff;
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}


/* ==========================================================================
   21. FAQ (gộp .faq-section + .geo-faq-section + .faq-item)
   ========================================================================== */
.geo-faq-section {
  margin-top: 40px;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #eee;
}
.faq-container { max-width: 100%; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 10px;
}
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  padding: 15px 30px 15px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: #333;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 15px;
  font-weight: 700;
  color: #e03;
  font-size: 1.2rem;
}
details[open] summary::after { content: '-'; }
.faq-content {
  padding: 0 0 15px;
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq-section details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.faq-section summary {
  padding: 15px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--slate);
  cursor: pointer;
  list-style: none;
  position: relative;
  outline: none;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 14px;
  color: #94a3b8;
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.3s;
}
.faq-section details[open] summary {
  background: #f8fafc;
  color: var(--red);
  border-bottom: 1px solid var(--border);
}
.faq-section details[open] summary::after { content: "\2212"; color: var(--red); }
.faq-section details p {
  padding: 14px 20px;
  margin: 0;
  color: #475569;
  line-height: 1.6;
  font-size: 14px;
}


/* ==========================================================================
   22. CTA GRADIENT
   ========================================================================== */
.cta-gradient {
  background: linear-gradient(135deg, var(--red) 0%, #b91c1c 100%);
  color: #fff;
  text-align: center;
  padding: 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 17px;
  margin-top: 20px;
  box-shadow: 0 5px 15px rgba(238, 0, 51, 0.3);
}


/* ==========================================================================
   23. REGISTER CARD (vdtsms)
   ========================================================================== */
.vdtsms-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 560px;
  margin: 20px auto;
}
.vdtsms-card-header {
  background: var(--slate);
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  text-align: center;
}
.vdtsms-card-body { padding: 22px 20px; text-align: center; }
.vdtsms-code-text {
  font-size: 24px;        /* gộp: dùng 24px (override sau) thay cho 20px */
  color: var(--red);
  font-weight: 800;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}
.vdtsms-btn-sms {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(238, 0, 51, 0.3);
  transition: all 0.3s;
}
.vdtsms-btn-sms:hover { background: var(--red-dark); color: #fff; text-decoration: none; }


/* ==========================================================================
   24. RATING
   ========================================================================== */
.vdt-rating-container {
  margin: 20px 0;
  padding: 14px 18px;
  background: #fffcf0;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.vdt-stars {
  color: #fbbf24;
  font-size: 18px;
  display: flex;
  gap: 2px;
}
.vdt-rating-info { color: #4b5563; font-size: 14px; }


/* ==========================================================================
   25. METHOD HIGHLIGHT BOX
   ========================================================================== */
.method-highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 5px solid var(--red);
  padding: 20px 25px;
  border-radius: 8px;
  margin: 30px auto;
  max-width: 800px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.mhb-icon i {
  color: var(--red);
  font-size: 2.2rem;
  margin-top: 5px;
}
.mhb-content p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #334155;
}
.mhb-content strong { color: #0f172a; }
.highlight-number {
  color: var(--red);
  font-weight: 900;
  font-size: 1.3rem;
}
.highlight-free {
  color: #16a34a;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #bbf7d0;
  text-underline-offset: 4px;
}

@media (max-width: 600px) {
  .method-highlight-box {
    flex-direction: column;
    align-items: center;
    text-align: justify;
    padding: 20px 15px;
  }
  .mhb-icon i { margin-top: 0; margin-bottom: 10px; }
}


/* ==========================================================================
   26. SYNTAX HIGHLIGHT BOX
   ========================================================================== */
.syntax-highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 5px solid var(--red);
  padding: 20px 25px;
  border-radius: 8px;
  margin: 30px auto;
  max-width: 800px;
  box-shadow: 0 4px 6px -1px rgba(238, 0, 51, 0.05);
}
.shb-icon i {
  color: var(--red);
  font-size: 2.2rem;
  margin-top: 5px;
}
.shb-content p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #334155;
}
.shb-content strong { color: #0f172a; }
.shb-content em {
  color: #16a34a;
  font-style: normal;
  font-weight: 700;
}
.shb-code {
  background-color: var(--red);
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 6px;
  font-family: monospace, sans-serif;
  font-size: 1.3rem;
  display: inline-block;
  margin: 0 5px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(238, 0, 51, 0.3);
}

@media (max-width: 600px) {
  .syntax-highlight-box {
    flex-direction: column;
    align-items: center;
    text-align: justify;
    padding: 20px 15px;
  }
  .shb-icon i { margin-top: 0; margin-bottom: 10px; }
  .shb-code   { margin: 10px 0; }
}


/* ==========================================================================
   27. ĐIỀU KIỆN ĐĂNG KÝ
   ========================================================================== */
#dieu-kien-dang-ky p {
  font-size: 1.5rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}
#dieu-kien-dang-ky .answer-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
}
#dieu-kien-dang-ky .answer-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  font-size: 1.5rem;
  line-height: 1.7;
  color: #334155;
}
#dieu-kien-dang-ky .answer-list li::before {
  content: '\f058';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: #16a34a;
  font-size: 1.5rem;
}
#dieu-kien-dang-ky .answer-list li strong { color: #0f172a; }
#dieu-kien-dang-ky code {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--red);
  font-weight: 700;
  font-family: monospace;
  font-size: 1.5rem;
}


/* ==========================================================================
   28. STEP GUIDE (hướng dẫn các bước)
   ========================================================================== */
.step-guide {
  max-width: 800px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step-item {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .step-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(238, 0, 51, 0.1);
  }
}
@media (min-width: 600px) {
  .step-item { flex-direction: row; }
}

.step-num {
  background: var(--red);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (min-width: 600px) {
  .step-num {
    flex: 0 0 150px;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
.step-item:nth-child(1) .step-num::before { content: '\f058'; }
.step-item:nth-child(2) .step-num::before { content: '\f53c'; }
.step-item:nth-child(3) .step-num::before { content: '\f1d8'; }
.step-item:nth-child(4) .step-num::before { content: '\f0e0'; }
.step-item .step-num::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 2rem;
}
.step-content {
  padding: 20px 25px;
  font-size: 1.5rem;
  line-height: 1.7;
  color: #334155;
  background: #f8fafc;
  flex: 1;
}
.step-content strong { color: #0f172a; }
.step-content code {
  background: #fff;
  border: 1px solid #cbd5e1;
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--red);
  font-weight: 700;
  font-family: monospace;
  font-size: 1.15rem;
}


/* ==========================================================================
   29. ANSWER LIST (cho .li-5g)
   ========================================================================== */
.answer-list .li-5g { position: relative; }
.answer-list .li-5g::before {
  content: "\f0e7";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #f97316;
  position: absolute;
  left: 0;
}
h3::after { position: static !important; }


/* ==========================================================================
   30. CONCLUSION SECTION
   ========================================================================== */
.list-hub,
.super-hub-content { padding: 25px; background: #fff; }

.admin-conclusion-section {
  background: #fff;
  padding: 40px 15px;
}
.conclusion-box {
  margin: 0 auto;
  background: #fdf8f8;
  padding: 30px !important;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.conclusion-content {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  text-align: justify;

}
#dieu-kien-dang-ky
{
	padding-left:15px!important;
	padding-right:15px!important;
}
.admin-sign { margin-top: 25px; text-align: right; }
.admin-sign strong {
  display: block;
  color: #c00;
  font-size: 16px;
  font-weight: 700;
}
.admin-sign span { font-size: 13px; color: #666; }

.conclusion-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0;
  border-bottom: 0 solid #eee;
  padding-bottom: 15px;
  gap: 15px;
}
.conclusion-icon {
  width: 40px;
  height: 40px;
  fill: #c00;
  font-size: 32px;
  color: #c00;
  margin: 0;
}
.conclusion-header h3 {
  text-align: left;
  margin: 0;
  color: #c00;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}


/* ==========================================================================
   31. SPEED CARD / CTA CARD / TRUST ROW / FEEDBACK
   ========================================================================== */
.speed-card {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  padding: 20px !important;
  position: relative !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  min-width: 260px;
}
.speed-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fef2f2;
  color: #e03;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}
.speed-val {
  font-size: 2.5rem;
  font-weight: 900;
  color: #111;
  display: block;
  line-height: 1;
}
.speed-unit { color: #6b7280; font-size: 0.9rem; font-weight: 700; }
.speed-visual-bar {
  height: 6px;
  background: #f3f4f6;
  border-radius: 3px;
  margin-top: 15px;
}
.bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #e03, #ff6b6b);
}

.cta-card {
  background: linear-gradient(135deg, #1f2937 0, #111827 100%) !important;
  color: #fff !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta-content h3 { color: #fff !important; font-size: 1.2rem; }
.cta-content p  { color: #9ca3af !important; font-size: 0.9rem; margin-bottom: 15px; }

.trust-row {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 20px !important;
  margin-bottom: 15px !important;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s;
}
.trust-row:hover { transform: translateX(5px); border-color: #e03; }
.trust-icon {
  width: 50px;
  height: 50px;
  background: #fef2f2;
  color: #e03;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feedback-section { padding: 50px 0; background: #f9fafb; }
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.feedback-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}
.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.user-name   { font-weight: 700; color: #111; font-size: 0.95rem; }
.user-rating { color: #f59e0b; font-size: 0.8rem; }
.feedback-content {
  font-size: 0.95rem;
  color: #4b5563;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 15px;
}
.verified-badge {
  font-size: 0.8rem;
  color: #22c55e;
  font-weight: 600;
  border-top: 1px dashed #e5e7eb;
  padding-top: 10px;
}


/* ==========================================================================
   32. VIETTEL GUIDE CONTAINER
   ========================================================================== */
.viettel-guide-container {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
}
.viettel-guide-container .description { margin-bottom: 20px; }
.viettel-guide-container .highlight-box {
  background-color: #f8f9fa;
  padding: 15px 20px;
  border-radius: 6px;
  font-weight: bold;
  font-style: italic;
  color: #222;
  margin-bottom: 15px;
}
.viettel-guide-container .step-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-top: 0;
  margin-bottom: 20px;
}
.viettel-guide-container .step-list li { margin-bottom: 10px; }
.viettel-guide-container .step-list li:last-child { margin-bottom: 0; }


/* ==========================================================================
   33. ANIMATIONS
   ========================================================================== */
@keyframes flame {
  0%   { opacity: 1;  transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.1); }
}
@keyframes pulse-red {
  0%   { box-shadow: 0 0 0 0   rgba(239, 68, 68, 0.7); }
  70%  { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0   rgba(239, 68, 68, 0); }
}
@keyframes urgency-pulse {
  0% {
    transform: scale(1);
    background: #fef3c7;
    color: #444;
    border-color: #fcd34d;
    box-shadow: 0 0 0 transparent;
  }
  100% {
    transform: scale(1.05);
    background: #fee2e2;
    color: #dc2626;
    border-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
  }
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes pkgnewSpin {
  0%   { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-btn {
  0%   { box-shadow: 0 0 0 0    rgba(238, 0, 51, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(238, 0, 51, 0); }
  100% { box-shadow: 0 0 0 0    rgba(238, 0, 51, 0); }
}


/* ==========================================================================
   34. RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 768px) {
  .viettel-table th,
  .viettel-table td       { padding: 8px; }
  .vt-col-name            { font-size: 15px; }

  #cach-dang-ky-4g-5g.faq { padding: 20px 15px; }
  #cach-dang-ky-4g-5g h2  { font-size: 22px; }
  #cach-dang-ky-4g-5g code{ font-size: 18px; }

  .section-header-modern  { flex-direction: column; gap: 10px; text-align: center; }
  .category-tabs-container,
  .arrow-icon             { display: none; }

  body                    { padding-bottom: 70px; }
  .mobile-search-btn      { bottom: 206px !important; }

  .filter-dropdown-box    { padding: 15px; }
  .filter-controls        { gap: 12px; }
  .search-item            { flex: 0 0 100%; order: 1; }
  .filter-item:not(.search-item) {
    flex: 0 0 calc(50% - 6px);
    width: calc(50% - 6px);
    order: 2;
  }
  .filter-item label      {
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .select-wrapper select  { padding: 0 10px 0 35px; font-size: 0.9rem; }
  .select-icon            { left: 10px; font-size: 1rem; }
  .input-wrapper input    { font-size: 0.95rem; }

  .package-grid           { grid-template-columns: 1fr; }

  .data-num               { font-size: 28px; }
  .pkg-price              { font-size: 20px; }
  .teaser-block           { flex-direction: column; gap: 10px; }
  .group-section-header   { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .quick-table td,
  .quick-table th         { padding: 8px 10px; font-size: 12px; }
}

