/* =====================================================================
   quiz.css — CSS của hai bài trắc nghiệm (trang /trac-nghiem-holland, /trac-nghiem-mbti). Chỉ nạp ở trang có khối "quiz".
   Mọi luật bắt đầu bằng .qz, .hl- (Holland), .mbti-edubit- (MBTI); không có luật cho body, html, thẻ trần.
   Bảng đối chiếu class Tailwind của bản gốc Holland với class mới (chữ và cấu trúc giữ nguyên):
     glass-card shadow-xl rounded-3xl p-8 border ........ .hl-card          bg-blue-600 (nút, thanh tiến độ) ... .hl-btn, .hl-bar__in (xanh lá CVTECH)
     grid md:grid-cols-2 (4 ý) / flex items-start ...... .hl-feats / .hl-feat   option-btn (đáp án) ............ .hl-opt, .hl-opt__num, .hl-opt__label
     top 3 (p-6 rounded-3xl border-2) .................. .hl-top (.is-first)    chi tiết (border-l-8 xanh) ....... .hl-detail, .hl-box--major, .hl-box--job
     "Bước tiếp theo" 3 thẻ quảng cáo gốc .............. .hl-next, .hl-ad--blue, .hl-ad--green, .hl-hsa
   Phần MBTI chép nguyên từ bản gốc (tai-lieu/test-goc/mbti-goc.html), chỉ đổi: phông kế thừa của website, nút chính xanh lá CVTECH.
   ===================================================================== */
.qz { padding: 40px 0 64px; }
.qz [hidden], .hl-hidden { display: none !important; }
.qz__box { max-width: 920px; margin: 0 auto; color: var(--ink, #14191C); }
.qz__box--mbti { max-width: 980px; }
.qz .btn__arrow { flex: 0 0 auto; }

/* ---------- Holland ---------- */
.hl-card { background: #FFFFFF; border: 1px solid var(--edge, #E3ECE6); border-radius: 24px; box-shadow: var(--shadow-soft, 0 6px 24px rgba(14, 60, 35, .08)); padding: 28px 18px; }
@media (min-width: 700px) { .hl-card { padding: 40px; } }
.hl-start { text-align: center; }
.hl-icon { display: flex; justify-content: center; margin-bottom: 20px; }
.hl-icon__svg { width: 80px; height: 80px; padding: 20px; box-sizing: border-box; background: var(--green, #0E7839); color: #FFFFFF; border-radius: 24px; box-shadow: 0 10px 22px rgba(14, 120, 57, .28); }
.hl-title { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; line-height: 1.25; color: var(--ink, #14191C); margin: 0 0 14px; text-transform: none; letter-spacing: 0; }
.hl-lead { font-size: 18px; line-height: 1.6; color: #475569; margin: 0 auto 28px; max-width: 640px; }
.hl-feats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 680px; margin: 0 auto 30px; text-align: left; font-size: 15px; }
@media (min-width: 700px) { .hl-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hl-feat { display: flex; align-items: flex-start; gap: 8px; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 14px; padding: 14px 16px; }
.hl-feat__tick { color: var(--green, #0E7839); flex: 0 0 auto; }
.hl-btn { display: block; width: 100%; max-width: 420px; margin: 0 auto; background: var(--green, #0E7839); color: #FFFFFF; border: 0; border-radius: 16px; font: inherit; font-weight: 700; padding: 17px 32px; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; box-shadow: 0 10px 22px rgba(14, 120, 57, .28); transition: background .2s, transform .1s; }
.hl-btn:hover { background: var(--dark-2, #0A5A2B); }
.hl-btn:focus-visible, .hl-opt:focus-visible, .hl-restart__btn:focus-visible { outline: 3px solid var(--blue, #0090D8); outline-offset: 2px; }
.hl-progress { margin-bottom: 22px; }
.hl-progress__row { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #64748B; margin-bottom: 8px; }
.hl-bar { height: 12px; background: #E2E8F0; border-radius: 999px; overflow: hidden; }
.hl-bar__in { height: 100%; background: var(--green, #0E7839); border-radius: 999px; transition: width .3s; }
.hl-qcard { padding: 28px 16px; }
@media (min-width: 700px) { .hl-qcard { padding: 44px 40px; } }
.hl-qtext { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.6; font-weight: 700; text-align: center; margin: 0 0 28px; color: var(--ink, #14191C); text-transform: none; letter-spacing: 0; }
.hl-options { display: grid; gap: 12px; }
.hl-opt { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 58px; text-align: left; padding: 12px 16px; background: #FFFFFF; border: 2px solid #E8EEF2; border-radius: 16px; font: inherit; color: inherit; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.hl-opt:active { transform: translateY(1px); }
.hl-opt__num { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #F1F5F9; color: #64748B; font-weight: 700; transition: background .2s, color .2s; }
.hl-opt__label { font-weight: 500; min-width: 0; }
@media (hover: hover) {
  .hl-opt:hover { border-color: var(--green, #0E7839); background: #F2F8F4; transform: translateY(-1px); }
  .hl-opt:hover .hl-opt__num { background: var(--green, #0E7839); color: #FFFFFF; }
  .hl-btn:hover { transform: translateY(-1px); }
}
.hl-result { padding: 24px 14px; }
@media (min-width: 700px) { .hl-result { padding: 40px; } }
.hl-result__head { text-align: center; margin-bottom: 30px; }
.hl-result__title { font-size: clamp(28px, 4vw, 38px); font-weight: 800; line-height: 1.2; margin: 0 0 6px; text-transform: none; letter-spacing: 0; }
.hl-result__sub { color: #64748B; font-weight: 500; }
.hl-tops { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 32px; }
@media (min-width: 700px) { .hl-tops { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.hl-top { padding: 20px 16px; background: #FFFFFF; border: 2px solid #E8EEF2; border-radius: 22px; text-align: center; min-width: 0; }
.hl-top.is-first { border-color: var(--green, #0E7839); box-shadow: 0 0 0 5px #E1F1E7; }
.hl-top__rank { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 12px; background: #94A3B8; color: #FFFFFF; font-weight: 700; }
.hl-top.is-first .hl-top__rank { background: var(--green, #0E7839); }
.hl-top__name { font-weight: 700; font-size: 18px; line-height: 1.35; margin-bottom: 4px; }
.hl-top__score { font-size: 30px; font-weight: 800; color: var(--green, #0E7839); }
.hl-details { display: grid; gap: 24px; }
.hl-detail { position: relative; overflow: hidden; background: #FFFFFF; border: 1px solid #E8EEF2; border-radius: 22px; padding: 22px 18px 22px 24px; box-shadow: 0 1px 4px rgba(0, 0, 0, .05); }
@media (min-width: 700px) { .hl-detail { padding: 30px 32px 30px 36px; } }
.hl-detail::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--green, #0E7839); }
.hl-detail__title { font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; line-height: 1.3; margin: 0 0 12px; text-transform: none; letter-spacing: 0; }
.hl-detail__desc { color: #475569; line-height: 1.7; font-size: 17px; margin: 0 0 20px; }
.hl-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 700px) { .hl-detail__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.hl-box { padding: 20px; border-radius: 16px; border: 1px solid; min-width: 0; }
.hl-box--major { background: #EFF6FF; border-color: #DBEAFE; }
.hl-box--job { background: #ECFDF5; border-color: #D1FAE5; }
.hl-box__h { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; margin: 0 0 10px; text-transform: none; letter-spacing: 0; }
.hl-box--major .hl-box__h { color: #1E40AF; }
.hl-box--job .hl-box__h { color: #065F46; }
.hl-box__ico { width: 20px; height: 20px; flex: 0 0 auto; }
.hl-box__p { font-weight: 500; color: #1E293B; margin: 0; }
.hl-next { margin-top: 48px; padding-top: 40px; border-top: 2px dashed #E2E8F0; }
.hl-next__head { text-align: center; margin-bottom: 28px; }
.hl-next__title { font-size: clamp(24px, 3vw, 30px); font-weight: 800; line-height: 1.25; margin: 0 0 10px; text-transform: none; letter-spacing: 0; }
.hl-next__sub { color: #475569; font-size: 17px; }
.hl-next__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 800px) { .hl-next__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.hl-ad { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-width: 0; background: #FFFFFF; border: 1px solid #E8EEF2; border-top: 4px solid; border-radius: 22px; padding: 26px 20px; box-shadow: 0 10px 26px rgba(0, 0, 0, .08); }
.hl-ad--blue { border-top-color: #2563EB; } .hl-ad--green { border-top-color: #10B981; }
.hl-ad__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; margin-bottom: 18px; }
.hl-ad--blue .hl-ad__icon { background: #EFF6FF; color: #2563EB; } .hl-ad--green .hl-ad__icon { background: #ECFDF5; color: #059669; }
.hl-ad__svg { width: 32px; height: 32px; }
.hl-ad__h { font-size: 19px; font-weight: 800; line-height: 1.3; text-transform: uppercase; letter-spacing: 0; margin: 0 0 14px; }
.hl-ad__ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 15px; line-height: 1.5; color: #475569; font-weight: 500; }
.hl-ad__ul li { display: flex; gap: 12px; }
.hl-ad__ul span { font-weight: 800; flex: 0 0 auto; }
.hl-ad--blue .hl-ad__ul span { color: #2563EB; } .hl-ad--green .hl-ad__ul span { color: #10B981; }
.hl-ad__btn { display: block; text-align: center; border-radius: 12px; padding: 15px 10px; font-weight: 700; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; color: #FFFFFF; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.hl-ad__btn:hover { color: #FFFFFF; filter: brightness(.92); }
.hl-ad--blue .hl-ad__btn { background: #2563EB; } .hl-ad--green .hl-ad__btn { background: #059669; }
.hl-ad__zalo { text-align: center; margin: 12px 0 0; font-size: 14px; color: #64748B; font-weight: 500; }
.hl-ad__zalo a { color: #059669; font-weight: 700; text-decoration: none; }
.hl-hsa { position: relative; overflow: hidden; margin-top: 20px; background: #FFF7ED; border: 1px solid #FED7AA; border-radius: 22px; padding: 38px 18px 22px; box-shadow: 0 6px 18px rgba(0, 0, 0, .05); }
@media (min-width: 800px) { .hl-hsa { padding: 34px 36px; } }
.hl-hsa__ribbon { position: absolute; top: 0; right: 0; background: #F97316; color: #FFFFFF; font-weight: 700; font-size: 12px; padding: 5px 20px; border-bottom-left-radius: 18px; }
.hl-hsa__in { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 800px) { .hl-hsa__in { flex-direction: row; align-items: center; gap: 32px; } .hl-hsa__right { flex: 0 0 300px; } }
.hl-hsa__left { flex: 1 1 auto; min-width: 0; }
.hl-hsa__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }
.hl-hsa__badge { background: #F97316; color: #FFFFFF; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 8px; letter-spacing: .04em; }
.hl-hsa__h { font-size: 22px; font-weight: 800; line-height: 1.3; text-transform: uppercase; letter-spacing: 0; margin: 0; }
.hl-hsa__sub { font-weight: 700; font-size: 17px; color: #334155; margin: 0 0 12px; }
.hl-hsa__ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; line-height: 1.5; color: #334155; font-weight: 500; }
.hl-hsa__ul li { display: flex; gap: 12px; }
.hl-hsa__ul li > span:first-child { color: #F97316; flex: 0 0 auto; }
.hl-hsa__li { min-width: 0; }
.hl-hsa__price { color: #EA580C; font-size: 20px; font-weight: 800; background: #FFEDD5; padding: 0 8px; border-radius: 6px; margin: 0 4px; }
.hl-hsa__btn { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; background: #059669; color: #FFFFFF; text-decoration: none; padding: 18px 12px; border-radius: 16px; box-shadow: 0 8px 20px rgba(5, 150, 105, .28); }
.hl-hsa__btn:hover { color: #FFFFFF; background: #047857; }
.hl-hsa__t1 { font-weight: 700; font-size: 14px; line-height: 1.4; text-transform: uppercase; }
.hl-hsa__t2 { font-size: 12px; background: rgba(0, 0, 0, .2); padding: 3px 12px; border-radius: 999px; }
.hl-restart { margin-top: 40px; padding-top: 28px; border-top: 1px solid #E8EEF2; display: flex; flex-direction: column; align-items: center; }
.hl-restart__btn { background: #1E293B; color: #FFFFFF; border: 0; border-radius: 16px; padding: 15px 36px; font: inherit; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.hl-restart__btn:hover { background: #334155; }
.hl-restart__note { margin: 14px 0 0; color: #94A3B8; font-size: 14px; font-style: italic; text-align: center; }

/* ---------- Thẻ mời học CNC của CVTECH (hiện cùng kết quả, cả hai bài) ---------- */
.qz-cta { display: flex; gap: 18px; align-items: flex-start; margin: 24px 0 0; padding: 24px 20px; background: linear-gradient(135deg, #F2F8F4 0%, #FFFFFF 100%); border: 2px solid var(--green, #0E7839); border-radius: 22px; box-shadow: var(--shadow-soft, 0 6px 24px rgba(14, 60, 35, .08)); text-align: left; }
.qz-cta.is-match { border-color: var(--red, #D82018); box-shadow: 0 0 0 5px var(--soft-red, #FDF1F0); }
.qz-cta__icon { flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--green, #0E7839); color: #FFFFFF; }
.qz-cta__body { min-width: 0; }
.qz-cta__title { font-size: 20px; font-weight: 800; line-height: 1.3; margin: 0 0 6px; text-transform: none; letter-spacing: 0; color: var(--ink, #14191C); }
.qz-cta__text { color: #475569; margin: 0 0 14px; line-height: 1.6; }
.qz-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.qz-cta .link-u { color: var(--green, #0E7839); }
@media (max-width: 639px) { .qz-cta { flex-direction: column; gap: 14px; } }

/* ---------- MBTI: chép nguyên từ bản gốc (tai-lieu/test-goc/mbti-goc.html) ---------- */
  /* ======================================================
     CSS SCOPED - KHÔNG ẢNH HƯỞNG ĐẾN WEBSITE GỐC
     Prefix: .mbti-edubit-
     ====================================================== */
  
  .mbti-edubit-wrapper {
    font-family: var(--font-body, inherit);
    line-height: 1.6;
    color: #333;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    background-color: transparent;
  }
  
  .mbti-edubit-wrapper *, 
  .mbti-edubit-wrapper *::before, 
  .mbti-edubit-wrapper *::after {
    box-sizing: border-box;
  }
  
  /* --- Container Box --- */
  .mbti-edubit-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e1e4e8;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* --- Headings --- */
  .mbti-edubit-title {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    line-height: 1.3;
  }
  
  .mbti-edubit-subtitle {
    color: #34495e;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 10px;
  }
  
  /* --- Text & Lists --- */
  .mbti-edubit-text {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
    text-align: justify;
  }
  
  .mbti-edubit-list {
    margin-bottom: 20px;
    padding-left: 20px;
  }
  
  .mbti-edubit-list li {
    margin-bottom: 8px;
    font-size: 16px;
  }
  
  /* --- Buttons --- */
  .mbti-edubit-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto 0;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: #0E7839;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
    text-align: center;
    text-transform: uppercase;
  }
  
  .mbti-edubit-btn:hover {
    background-color: #0A5A2B;
    transform: translateY(-2px);
  }
  
  /* --- Question Items --- */
  .mbti-edubit-question-item {
    background: #f9fbfc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #eee;
  }
  
  .mbti-edubit-q-text {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    display: block;
    color: #2c3e50;
  }
  
  .mbti-edubit-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .mbti-edubit-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s;
    user-select: none;
  }
  
  .mbti-edubit-label:hover {
    background: #eef2f5;
  }
  
  .mbti-edubit-radio {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #2980b9;
    cursor: pointer;
  }
  
  /* --- Result Section (Main) --- */
  .mbti-edubit-result-box {
    background: #eaf6ff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #b3d7ff;
    text-align: center;
  }
  
  .mbti-edubit-main-badge {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 15px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(231, 76, 60, 0.3);
  }
  
  .mbti-edubit-result-type {
    font-size: 52px;
    color: #2c3e50;
    margin: 5px 0;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #fff;
  }
  
  .mbti-edubit-result-name {
    font-size: 26px;
    color: #2980b9;
    font-weight: bold;
    margin-bottom: 25px;
    text-transform: uppercase;
  }
  
  .mbti-edubit-result-detail {
    text-align: left;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-left: 5px solid #2980b9;
  }
  
  .mbti-edubit-result-detail p {
      margin-bottom: 12px;
      line-height: 1.6;
  }
  
  .mbti-edubit-tag {
    font-weight: 800;
    color: #d35400; /* Màu cam đậm cho tiêu đề con */
    margin-right: 5px;
    font-size: 16px;
  }
  
  /* --- Secondary Results (Top 2 & 3) --- */
  .mbti-edubit-secondary-section {
    margin-top: 40px;
    text-align: left;
    border-top: 2px dashed #bdc3c7;
    padding-top: 30px;
  }
  
  .mbti-edubit-sec-title {
    font-size: 20px;
    color: #34495e;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .mbti-edubit-sec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .mbti-edubit-sec-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dfe6e9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
  }
  
  .mbti-edubit-sec-header {
      background: #f1f2f6;
      margin: -20px -20px 15px -20px;
      padding: 15px 20px;
      border-radius: 8px 8px 0 0;
      border-bottom: 1px solid #dfe6e9;
      display: flex;
      align-items: center;
      justify-content: space-between;
  }
  
  .mbti-edubit-sec-type {
    font-size: 22px;
    color: #2980b9;
    font-weight: 800;
  }
  
  .mbti-edubit-sec-name {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    text-transform: uppercase;
  }
  
  .mbti-edubit-sec-body p {
      margin-bottom: 10px;
      font-size: 14px;
      text-align: justify;
  }
  
  .mbti-edubit-wrapper .mbti-error-msg {
    color: #e74c3c;
    text-align: center;
    display: none;
    margin-top: 15px;
    font-weight: bold;
    background: #fadbd8;
    padding: 10px;
    border-radius: 5px;
  }

  /* ======================================================
     CSS PHẦN QUẢNG CÁO (ADS SECTION)
     ====================================================== */
  .mbti-edubit-ads-wrapper {
      margin-top: 50px;
      padding-top: 40px;
      border-top: 2px dashed #cbd5e1;
      font-family: var(--font-body, inherit);
      text-align: left;
  }
  .mbti-edubit-ads-title {
      text-align: center;
      margin-bottom: 40px;
  }
  .mbti-edubit-ads-title h2 {
      font-size: 28px; font-weight: 900; color: #1e293b; margin-bottom: 12px; text-transform: uppercase;
  }
  .mbti-edubit-ads-title p {
      font-size: 17px; color: #64748b; margin: 0;
  }

  /* Grid layout cho 2 thẻ đầu */
  .mbti-edubit-ads-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 30px;
  }
  @media (max-width: 768px) {
      .mbti-edubit-ads-grid { grid-template-columns: 1fr; }
  }

  /* Base Card */
  .mbti-edubit-ad-card {
      background: #fff; border-radius: 24px; padding: 30px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.08);
      display: flex; flex-direction: column; justify-content: space-between;
      transition: transform 0.3s;
  }
  .mbti-edubit-ad-card:hover { transform: translateY(-5px); }
  .mbti-edubit-ad-card.blue { border-top: 4px solid #2563eb; }
  .mbti-edubit-ad-card.green { border-top: 4px solid #10b981; }

  /* Icons */
  .mbti-edubit-ad-icon {
      width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  }
  .mbti-edubit-ad-icon.blue { background: #eff6ff; color: #2563eb; }
  .mbti-edubit-ad-icon.green { background: #ecfdf5; color: #10b981; }
  .mbti-edubit-ad-icon svg { width: 32px; height: 32px; }

  /* Text trong Card */
  .mbti-edubit-ad-h3 {
      font-size: 20px; font-weight: 900; color: #1e293b; margin-top: 0; margin-bottom: 15px; text-transform: uppercase; line-height: 1.3;
  }
  .mbti-edubit-ad-ul { list-style: none; padding: 0; margin: 0 0 25px 0; }
  .mbti-edubit-ad-ul li { display: flex; align-items: flex-start; margin-bottom: 12px; font-size: 15px; color: #475569; font-weight: 500; line-height: 1.5; }
  .mbti-edubit-ad-ul li span { margin-right: 12px; font-weight: 900; font-size: 18px; line-height: 1; }
  .mbti-edubit-ad-ul.blue li span { color: #2563eb; }
  .mbti-edubit-ad-ul.green li span { color: #10b981; }

  /* Buttons */
  .mbti-edubit-ad-btn {
      display: block; text-align: center; padding: 16px 10px; border-radius: 12px; font-weight: bold; text-transform: uppercase; text-decoration: none; transition: background 0.2s, box-shadow 0.2s; font-size: 14px;
  }
  .mbti-edubit-ad-btn.blue { background: #2563eb; color: #fff; box-shadow: 0 4px 15px rgba(37,99,235,0.3); }
  .mbti-edubit-ad-btn.blue:hover { background: #1d4ed8; }
  .mbti-edubit-ad-btn.green { background: #10b981; color: #fff; box-shadow: 0 4px 15px rgba(16,185,129,0.3); }
  .mbti-edubit-ad-btn.green:hover { background: #059669; }

  .mbti-edubit-ad-zalo { text-align: center; margin-top: 12px; font-size: 14px; color: #64748b; font-weight: 500; }
  .mbti-edubit-ad-zalo a { color: #10b981; font-weight: bold; text-decoration: none; }
  .mbti-edubit-ad-zalo a:hover { text-decoration: underline; }

  /* Thẻ Banner HSA */
  .mbti-edubit-ad-banner {
      background: #fffaf5; border: 1px solid #fed7aa; border-radius: 24px; padding: 30px 40px; position: relative; overflow: hidden; display: flex; align-items: center; gap: 30px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); margin-top: 20px;
  }
  @media (max-width: 768px) {
      .mbti-edubit-ad-banner { flex-direction: column; align-items: flex-start; padding: 30px; }
  }
  .mbti-edubit-ad-ribbon {
      position: absolute; top: 0; right: 0; background: #f97316; color: #fff; padding: 6px 24px; font-size: 13px; font-weight: bold; border-bottom-left-radius: 24px; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  .mbti-edubit-ad-banner-left { flex: 1; }
  .mbti-edubit-ad-banner-header { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; flex-wrap: wrap; margin-top: 10px;}
  .mbti-edubit-ad-badge { background: #f97316; color: #fff; padding: 5px 12px; border-radius: 8px; font-size: 13px; font-weight: bold; text-transform: uppercase; box-shadow: 0 2px 5px rgba(249,115,22,0.3); }
  .mbti-edubit-ad-banner-h3 { font-size: 22px; font-weight: 900; color: #1e293b; text-transform: uppercase; margin: 0; }
  .mbti-edubit-ad-banner-sub { font-size: 17px; font-weight: bold; color: #334155; margin-bottom: 15px; }
  .mbti-edubit-ad-banner-ul { list-style: none; padding: 0; margin: 0; }
  .mbti-edubit-ad-banner-ul li { display: flex; align-items: flex-start; margin-bottom: 12px; font-size: 15px; color: #334155; font-weight: 500; }
  .mbti-edubit-ad-banner-ul li span.icon { color: #f97316; margin-right: 12px; font-size: 18px; line-height: 1.2; }
  .mbti-edubit-ad-price { color: #ea580c; font-weight: 900; font-size: 18px; background: #ffedd5; padding: 2px 8px; border-radius: 6px; margin: 0 5px; }

  .mbti-edubit-ad-banner-right { min-width: 280px; width: 100%; }
  @media (min-width: 769px) { .mbti-edubit-ad-banner-right { width: auto; } }
  .mbti-edubit-ad-btn-orange {
      display: flex; flex-direction: column; align-items: center; justify-content: center; background: #059669; color: #fff; text-decoration: none; padding: 18px 10px; border-radius: 16px; transition: background 0.2s; box-shadow: 0 4px 15px rgba(5,150,105,0.3);
  }
  .mbti-edubit-ad-btn-orange:hover { background: #047857; }
  .mbti-edubit-ad-btn-orange .t1 { font-weight: bold; font-size: 14px; text-transform: uppercase; margin-bottom: 6px; text-align: center; line-height: 1.4;}
  .mbti-edubit-ad-btn-orange .t2 { font-size: 12px; background: rgba(0,0,0,0.2); padding: 3px 12px; border-radius: 20px; font-weight: normal; }

  /* Khu vực nút Làm lại bài */
  .mbti-edubit-restart-area { text-align: center; margin-top: 50px; padding-top: 30px; border-top: 1px solid #e2e8f0; }
  .mbti-edubit-restart-btn { background: none; border: none; color: #64748b; font-size: 16px; font-weight: 600; text-decoration: underline; cursor: pointer; font-family: inherit; transition: color 0.2s; }
  .mbti-edubit-restart-btn:hover { color: #1e293b; }
  .mbti-edubit-restart-note { font-size: 13px; color: #94a3b8; font-style: italic; margin-top: 12px; }

  /* --- Responsive --- */
  @media (max-width: 768px) {
    .mbti-edubit-box { padding: 20px; }
    .mbti-edubit-title { font-size: 24px; }
    .mbti-edubit-sec-grid { grid-template-columns: 1fr; } /* Chuyển thành 1 cột trên mobile */
    .mbti-edubit-result-type { font-size: 40px; }
  }

/* Chỉnh bổ sung cho MBTI: dòng "Học phí siêu tối ưu..." có chữ in đậm giữa câu nên không xếp theo cột flex của bản gốc */
.mbti-edubit-ad-banner-ul li { display: block; position: relative; padding-left: 30px; }
.mbti-edubit-ad-banner-ul li span.icon { position: absolute; left: 0; top: 0; margin-right: 0; }

/* Chỉnh bổ sung cho MBTI trên điện thoại: bớt lớp đệm lồng nhau (bản gốc có 4 lớp, còn chừng 170 px chữ ở màn 390 px), chữ canh trái */
@media (max-width: 640px) {
  .qz .mbti-edubit-wrapper { padding: 0; }
  .mbti-edubit-box, .mbti-edubit-result-box { padding: 20px 14px; }
  .mbti-edubit-result-detail { padding: 18px 16px; }
  .mbti-edubit-text, .mbti-edubit-sec-body p { text-align: left; }
  .mbti-edubit-ad-card { padding: 24px 18px; }
  .mbti-edubit-ad-banner { padding: 34px 18px 24px; }
  .mbti-edubit-ad-banner-right { min-width: 0; }
}
