/* Bài MBTI bản 2 (17/11/2026): màn mở đầu, thanh 4 chặng, thẻ câu hỏi, thang 5 vòng tròn, thông báo động viên.
   Màu theo site: xanh #00CCF2 / #00A5ED, chữ #2D3942 / #505F79; phía "không đồng ý" dùng tím #8C7AE6 cho tương phản. */
.mbti2 { max-width: 760px; margin: 14px auto 40px; color: #2D3942; }

/* màn mở đầu / làm tiếp */
.mbti2-mo { text-align: center; background: linear-gradient(160deg, #E5FAFE 0%, #F6F8FA 60%, #EFEBFF 100%); border-radius: 30px 30px 30px 0; padding: 30px 24px 34px; }
.mbti2-mo img { width: 300px; max-width: 80%; margin-bottom: 8px; }
.mbti2-mo-nho { font-size: 13px; letter-spacing: 2px; color: #00A5ED; font-weight: 700; margin: 0 0 6px; }
.mbti2-mo h2 { font-size: 28px; font-weight: 800; margin: 0 0 16px; line-height: 1.35; }
.mbti2-mo h2 span { color: #00CCF2; }
.mbti2-meo { list-style: none; padding: 0; margin: 0 auto 22px; display: inline-block; text-align: left; }
.mbti2-meo li { position: relative; padding-left: 30px; margin: 8px 0; color: #505F79; font-size: 16px; }
.mbti2-meo li:before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #00CCF2; box-shadow: inset 0 0 0 4px #fff, 0 0 0 2px #00CCF2; }
.mbti2-mo-nut { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.mbti2-mo-nut .main-btn { font-size: 18px; padding: 13px 36px; border-radius: 30px 30px 30px 0; box-shadow: 0 8px 20px rgba(0, 204, 242, .35); }
.mbti2-mo-nut .sub-btn { padding: 13px 26px; }
.mbti2-mo-vong { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 150px; height: 150px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 8px #E5FAFE, 0 0 0 10px #00CCF2; margin: 6px 0 24px; font-size: 18px; color: #505F79; }
.mbti2-mo-vong b { font-size: 46px; color: #00CCF2; line-height: 1; }
.mbti2-mo-vong span { font-size: 13px; margin-top: 4px; }

/* thanh 4 chặng */
.mbti2-chang { display: flex; gap: 8px; margin-bottom: 8px; }
.mbti2-chang-o { flex: 1 1 0; text-align: center; }
.mbti2-chang-thanh { height: 8px; border-radius: 6px; background: #E6EAEE; overflow: hidden; }
.mbti2-chang-thanh i { display: block; width: 0; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #00CCF2, #00A5ED); transition: width .4s ease; }
.mbti2-chang-o span { display: block; font-size: 12px; color: #A0AAB6; margin-top: 4px; font-weight: 600; }
.mbti2-chang-o.dang span { color: #00A5ED; }
.mbti2-chang-o.xong span { color: #2D3942; }
.mbti2-so { display: flex; justify-content: space-between; font-size: 14px; color: #505F79; margin: 6px 0 14px; }
.mbti2-so b { color: #00A5ED; }

/* thẻ câu hỏi */
.mbti2-the { background: #fff; border-radius: 30px 30px 30px 0; box-shadow: 0 10px 30px rgba(45, 57, 66, .10); padding: 26px 26px 20px; text-align: center; border-top: 5px solid #00CCF2; }
.mbti2-cau span.hien { animation: mbti2Mo .22s ease-out; }
@keyframes mbti2Mo { from { opacity: .15; } to { opacity: 1; } }
.mbti2-nhan { display: inline-block; background: #E5FAFE; color: #00A5ED; font-weight: 700; font-size: 13px; padding: 4px 14px; border-radius: 14px 14px 14px 0; margin-bottom: 12px; }
/* cao cố định = 3 dòng (máy tính) / 4 dòng (điện thoại) để thẻ không co giãn theo độ dài câu */
.mbti2-cau { font-size: 21px; line-height: 1.6; font-weight: 600; color: #2D3942 !important; margin: 0 0 24px; height: 4.8em; display: flex; align-items: center; justify-content: center; }

/* thang 5 vòng tròn */
.mbti2-thang { display: flex; align-items: center; justify-content: center; gap: 14px; }
.mbti2-o { appearance: none; border: 0; background: none; padding: 4px; cursor: pointer; line-height: 0; -webkit-tap-highlight-color: transparent; }
.mbti2-o i { display: block; border-radius: 50%; border: 3px solid; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.mbti2-o.o1 i, .mbti2-o.o5 i { width: 56px; height: 56px; }
.mbti2-o.o2 i, .mbti2-o.o4 i { width: 44px; height: 44px; }
.mbti2-o.o3 i { width: 34px; height: 34px; border-color: #B8C2CC; }
.mbti2-o.o1 i, .mbti2-o.o2 i { border-color: #8C7AE6; }
.mbti2-o.o4 i, .mbti2-o.o5 i { border-color: #00CCF2; }
.mbti2-o:hover i { transform: scale(1.08); }
.mbti2-o.o1:hover i, .mbti2-o.o2:hover i { background: #F1EEFF; }
.mbti2-o.o4:hover i, .mbti2-o.o5:hover i { background: #E5FAFE; }
.mbti2-o.o3:hover i { background: #F1F3F5; }
.mbti2-o.chon i { transform: scale(1.12); }
.mbti2-o.o1.chon i, .mbti2-o.o2.chon i { background: #8C7AE6; box-shadow: 0 6px 16px rgba(140, 122, 230, .45); }
.mbti2-o.o4.chon i, .mbti2-o.o5.chon i { background: #00CCF2; box-shadow: 0 6px 16px rgba(0, 204, 242, .45); }
.mbti2-o.o3.chon i { background: #B8C2CC; }
.mbti2-hai-dau { display: flex; justify-content: space-between; max-width: 420px; margin: 10px auto 0; font-size: 14px; font-weight: 700; }
.mbti2-hai-dau span:first-child { color: #8C7AE6; }
.mbti2-hai-dau span:last-child { color: #00A5ED; }
.mbti2-dang { margin: 12px 0 0; font-size: 15px; font-weight: 600; color: #505F79 !important; min-height: 24px; }

.mbti2-dieu { display: flex; justify-content: space-between; margin: 16px 4px 0; }
.mbti2-dieu a { color: #505F79; font-weight: 600; padding: 6px 2px; }
.mbti2-dieu a:hover { color: #00A5ED; text-decoration: none; }
.mbti2-goi { font-size: 13.5px; color: #8993A4 !important; margin: 10px 0 0; text-align: center; }

/* thông báo động viên / nhắc */
.mbti2-bao { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; z-index: 9999; max-width: 92%; background: #2D3942; color: #fff; padding: 12px 22px; border-radius: 22px 22px 22px 0; font-weight: 600; font-size: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); transition: all .35s ease; text-align: center; }
.mbti2-bao.hien { opacity: 1; transform: translate(-50%, 0); }
.mbti2-bao.mung { background: linear-gradient(90deg, #00CCF2, #00A5ED); }
.mbti2-bao.nhac { background: #F5A623; }

/* màn hoàn thành (xemketqua) */
.mbti2-xong { max-width: 680px; margin: 40px auto 60px; text-align: center; background: linear-gradient(160deg, #E5FAFE 0%, #F6F8FA 70%); border-radius: 30px 30px 30px 0; padding: 34px 24px; }
.mbti2-xong-dau { width: 86px; height: 86px; border-radius: 50%; background: #00CCF2; margin: 0 auto 16px; position: relative; box-shadow: 0 0 0 10px rgba(0, 204, 242, .15); animation: mbti2Nay .6s ease; }
.mbti2-xong-dau:after { content: ""; position: absolute; left: 30px; top: 18px; width: 22px; height: 40px; border: solid #fff; border-width: 0 7px 7px 0; transform: rotate(45deg); }
@keyframes mbti2Nay { 0% { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.mbti2-xong h2 { font-size: 28px; font-weight: 800; margin: 0 0 10px; }
.mbti2-xong p { font-size: 16px; margin: 0 0 22px; }
.mbti2-xong .main-btn { font-size: 18px; padding: 13px 36px; border-radius: 30px 30px 30px 0; box-shadow: 0 8px 20px rgba(0, 204, 242, .35); }

@media (max-width: 575px) {
  .mbti2-mo { padding: 22px 16px 26px; }
  .mbti2-mo h2 { font-size: 23px; }
  .mbti2-the { padding: 20px 14px 16px; }
  .mbti2-cau { font-size: 18px; height: 6.4em; margin-bottom: 18px; }
  .mbti2-thang { gap: 6px; }
  .mbti2-o.o1 i, .mbti2-o.o5 i { width: 50px; height: 50px; }
  .mbti2-o.o2 i, .mbti2-o.o4 i { width: 40px; height: 40px; }
  .mbti2-o.o3 i { width: 30px; height: 30px; }
  .mbti2-chang-o span { font-size: 11px; }
  .mbti2-xong { margin: 24px 15px 40px; padding: 26px 16px; }
  .mbti2-xong h2 { font-size: 23px; }
}
