/* BIZSIM – giao dien sang: xanh duong tuoi + trang + mau phu (ngoc, cam, vang, tim) */
:root {
  --nen: #f1f7ff;
  --nen2: #e8f1ff;
  --the: #ffffff;
  --the2: #e6f0ff;
  --vien: #d6e4fb;
  --xanh: #1a4fd0;
  --xanh_dam: #09318D;
  --xanh_sang: #4d86ff;
  --xanh_nhat: #1a4fd0;
  --ngoc: #2bb5a0;
  --cam: #FC734D;
  --vang: #ffc53d;
  --tim: #7b6bff;
  --hong: #ff6f91;
  --chu: #0f2756;
  --chu_phu: #5a6e98;
  --xanh_la: #12b886;
  --do: #e5484d;
  --bong: 0 10px 30px rgba(26, 79, 208, .12);
  --bong_manh: 0 18px 44px rgba(26, 79, 208, .22);
  --bo_goc: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: "Segoe UI", Inter, system-ui, Arial, sans-serif; color: var(--chu); line-height: 1.6; min-height: 100vh;
  background:
    radial-gradient(900px 480px at 100% -5%, rgba(77, 134, 255, .20), transparent 60%),
    radial-gradient(700px 420px at -5% 30%, rgba(18, 191, 160, .10), transparent 60%),
    var(--nen);
}
a { color: var(--xanh); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; image-rendering: auto; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--chu); }
.khung { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.chu_phu { color: var(--chu_phu); }
.chu_nho { font-size: .86rem; }
.can_giua { text-align: center; }
.cach_tren { margin-top: 24px; }
.hang { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hang_cach { justify-content: space-between; }

/* ---------- Thanh dieu huong ---------- */
.thanh_dieu_huong { background: rgba(2, 7, 10, .9); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .08); position: sticky; top: 0; z-index: 50; }
.thanh_dieu_huong .ben_trong { max-width: 1280px; margin: auto; padding: 10px 22px; display: flex; align-items: center; gap: 24px; }
.logo_bizsim { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: .04em; font-size: 1.45rem; }
.logo_bizsim:hover { text-decoration: none; }
.logo_bizsim .cot { display: inline-flex; align-items: flex-end; gap: 3px; height: 26px; }
.logo_bizsim .cot i { display: block; width: 6px; border-radius: 3px; background: var(--xanh_sang); }
.logo_bizsim .cot i:nth-child(1) { height: 10px; } .logo_bizsim .cot i:nth-child(2) { height: 18px; background: var(--xanh); } .logo_bizsim .cot i:nth-child(3) { height: 26px; background: var(--ngoc); }
.logo_bizsim small { display: block; font-size: .6rem; font-weight: 600; letter-spacing: .02em; color: #8fa6d6; margin-top: -4px; }
.menu_chinh { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.menu_chinh a { color: #d6e2ff; padding: 9px 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; transition: .15s; }
.menu_chinh a:hover { background: rgba(255, 255, 255, .09); text-decoration: none; color: #fff; }
.menu_chinh a.dang_chon { background: #fff; color: #02070A; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.menu_chinh a.dang_chon::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cam); margin-right: 8px; }
.vung_tai_khoan { display: flex; align-items: center; gap: 12px; }
.anh_dai_dien { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #1a4fd0, #12bfa0); display: grid; place-items: center; font-weight: 700; font-size: .9rem; color: #fff; }
.vung_tai_khoan .ten { font-size: .9rem; font-weight: 700; color: #fff; }
.thanh_dieu_huong .nut_vien { background: #fff; color: #02070A; border: 0; }
.thanh_dieu_huong .chuyen_ngon_ngu { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
.thanh_dieu_huong .chuyen_ngon_ngu a { color: #b9c9ee; }
.thanh_dieu_huong .chuyen_ngon_ngu a.dang_chon { background: var(--cam); color: #fff; box-shadow: 0 3px 12px rgba(252, 115, 77, .5); }
.nhan_quyen { font-size: .68rem; background: #fff3e0; border: 1px solid #ffd9a8; padding: 2px 9px; border-radius: 99px; color: #b25e00; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.chuyen_ngon_ngu { display: inline-flex; background: var(--the2); border-radius: 99px; padding: 3px; border: 1px solid var(--vien); }
.chuyen_ngon_ngu a { padding: 4px 12px; border-radius: 99px; font-size: .78rem; font-weight: 800; color: var(--chu_phu); }
.chuyen_ngon_ngu a:hover { text-decoration: none; color: var(--xanh); }
.chuyen_ngon_ngu a.dang_chon { background: var(--xanh); color: #fff; box-shadow: 0 3px 10px rgba(26, 79, 208, .35); }

/* ---------- Nut ---------- */
.nut, button.nut { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 11px 22px; border-radius: 12px; background: var(--the2); color: var(--xanh_dam); transition: .18s; }
.nut:hover { filter: brightness(.97); text-decoration: none; transform: translateY(-1px); }
.nut_chinh { background: linear-gradient(135deg, #3f74e8, #1a4fd0 55%, #09318D); color: #fff; box-shadow: 0 8px 20px rgba(26, 79, 208, .35); }
.nut_chinh:hover { filter: brightness(1.06); box-shadow: 0 12px 26px rgba(26, 79, 208, .42); }
.nut_vien { background: #fff; border: 1.5px solid var(--vien); color: var(--chu); }
.nut_vien:hover { border-color: var(--xanh); color: var(--xanh); }
.nut_nguy_hiem { background: #fdeaea; color: #c0282d; }
.nut_xanh_la { background: var(--ngoc); color: #fff; }
.nut_cam { background: linear-gradient(135deg, #ffb35c, #ff8a2b); color: #fff; box-shadow: 0 8px 20px rgba(255, 138, 43, .35); }
.nut_trang { background: #fff; color: var(--xanh_dam); box-shadow: 0 8px 22px rgba(10, 40, 120, .25); }
.nut_nho { padding: 6px 13px; font-size: .84rem; border-radius: 9px; }
.nut[disabled], .nut.vo_hieu { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- The / bo cuc ---------- */
.tieu_de_muc { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--xanh); font-weight: 800; display: flex; align-items: center; gap: 12px; }
.tieu_de_muc::after { content: ""; height: 3px; width: 54px; border-radius: 3px; background: linear-gradient(90deg, var(--xanh), var(--ngoc)); }
.the { background: var(--the); border: 1px solid var(--vien); border-radius: var(--bo_goc); padding: 24px; box-shadow: var(--bong); }
.the_sang { background: var(--the); color: var(--chu); border: 1px solid var(--vien); border-radius: var(--bo_goc); padding: 24px; box-shadow: var(--bong); }
.luoi { display: grid; gap: 22px; }
.luoi_3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.luoi_2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.luoi_4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.the_anh { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.the_anh:hover { transform: translateY(-4px); box-shadow: var(--bong_manh); }
.the_anh .anh_bia { height: 190px; background-size: cover; background-position: center; position: relative; }
.the_anh .anh_bia::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 40, 110, .35)); }
.the_anh .noi_dung { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.the_anh .noi_dung .nut { margin-top: auto; justify-content: center; }
.the_anh h3 { margin: 0; font-size: 1.15rem; }
.the_thong_ke { text-align: center; padding: 22px; position: relative; overflow: hidden; }
.the_thong_ke::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--xanh), var(--xanh_sang)); }
.the_thong_ke:nth-child(2)::before { background: linear-gradient(90deg, var(--ngoc), #6ce3c8); }
.the_thong_ke:nth-child(3)::before { background: linear-gradient(90deg, var(--cam), var(--vang)); }
.the_thong_ke:nth-child(4)::before { background: linear-gradient(90deg, var(--tim), #a79bff); }
.the_thong_ke:nth-child(5)::before { background: linear-gradient(90deg, var(--hong), #ffa4bb); }
.the_thong_ke .so { font-size: 2.3rem; font-weight: 800; color: var(--chu); }
.the_thong_ke .nhan_so { color: var(--chu_phu); font-size: .88rem; font-weight: 600; }

/* ---------- Hero trang chu ---------- */
.hero_nen { position: relative; overflow: hidden; color: #fff; background: linear-gradient(125deg, #09318D 0%, #1a4fd0 45%, #4d86ff 100%); }
.hero_nen::before, .hero_nen::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero_nen::before { width: 520px; height: 520px; right: -140px; top: -200px; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); }
.hero_nen::after { width: 420px; height: 420px; left: -120px; bottom: -220px; background: radial-gradient(circle, rgba(18, 191, 160, .45), transparent 65%); }
.hero { position: relative; z-index: 1; padding: 56px 0 70px; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.hero .tieu_de_muc { color: #bfe0ff; }
.hero .tieu_de_muc::after { background: linear-gradient(90deg, #fff, var(--ngoc)); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; letter-spacing: -.02em; color: #fff; margin: 12px 0 16px; }
.hero h1 span { background: linear-gradient(90deg, #ffe08a, #ffb35c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #dcebff; font-size: 1.1rem; max-width: 520px; }
.hero .hang { margin-top: 22px; }
.hero_the_ngoai { position: relative; }
.hero_anh_chinh { border-radius: 24px; overflow: hidden; border: 6px solid rgba(255, 255, 255, .55); box-shadow: 0 30px 60px rgba(5, 25, 100, .45); transform: rotate(1.5deg); background: #fff; }
.hero_anh_chinh img { display: block; width: 100%; height: auto; }
.noi_nho { position: absolute; background: #fff; color: var(--chu); border-radius: 16px; padding: 12px 16px; box-shadow: 0 16px 36px rgba(5, 25, 100, .3); display: flex; gap: 10px; align-items: center; font-size: .85rem; font-weight: 700; animation: troi 5s ease-in-out infinite; }
.noi_nho small { display: block; color: var(--chu_phu); font-weight: 600; font-size: .72rem; }
.noi_nho .bieu_tuong { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; }
.noi_nho.a { left: -26px; bottom: 36px; } .noi_nho.b { right: -12px; top: 18px; animation-delay: -2s; } .noi_nho.c { right: 28px; bottom: -22px; animation-delay: -3.5s; }
@keyframes troi { 50% { transform: translateY(-9px); } }
.dai_so_lieu { position: relative; z-index: 2; margin-top: -38px; }
.dai_so_lieu .the { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding: 22px 26px; text-align: center; }
.dai_so_lieu b { display: block; font-size: 1.8rem; color: var(--xanh); }
.dai_so_lieu span { color: var(--chu_phu); font-size: .86rem; font-weight: 600; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-bottom: 80px; } .noi_nho.a { left: 8px; } .noi_nho.b { right: 8px; } }
.buoc_the { text-align: center; padding: 28px 22px; }
.buoc_the .hinh { display: block; width: 118px; height: 118px; margin: 0 auto 12px; }
.buoc_the .so_buoc { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--xanh); color: #fff; font-weight: 800; margin-bottom: 10px; }
.cta_cuoi { border-radius: 26px; padding: 40px; color: #fff; background: linear-gradient(120deg, #09318D, #1a4fd0 60%, #12bfa0); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; box-shadow: var(--bong_manh); position: relative; overflow: hidden; }
.cta_cuoi h2 { color: #fff; margin-bottom: 6px; }
.cta_cuoi p { color: #e0efff; margin: 0; }
.cta_cuoi img { width: 190px; }
@media (max-width: 760px) { .cta_cuoi { grid-template-columns: 1fr; } .cta_cuoi img { display: none; } }
.dai_trang_tri { border-radius: 22px; overflow: hidden; background: linear-gradient(120deg, #e3efff, #eafaf6); border: 1px solid var(--vien); display: grid; grid-template-columns: 1fr 260px; align-items: center; gap: 20px; padding: 26px 32px; }
.dai_trang_tri img { width: 100%; }
@media (max-width: 760px) { .dai_trang_tri { grid-template-columns: 1fr; } .dai_trang_tri img { display: none; } }

/* ---------- Nhan / thong bao ---------- */
.nhan { display: inline-block; padding: 3px 11px; border-radius: 99px; font-size: .75rem; font-weight: 700; background: var(--the2); color: var(--xanh_dam); }
.trang_thai_dang_lam { background: #e0ecff; color: #09318D; }
.trang_thai_hoan_thanh { background: #d8f7ec; color: #0b8a63; }
.trang_thai_chua { background: #eef1f7; color: #5a6e98; }
.nhan_dem { background: #e6f0ff; border: 1px solid var(--vien); color: var(--xanh_dam); }
.thong_bao { padding: 12px 16px; border-radius: 12px; margin: 18px 0; font-weight: 600; }
.thong_bao_thanh_cong { background: #dcf8ee; border: 1px solid #86e0bf; color: #0a7552; }
.thong_bao_loi { background: #ffe8e8; border: 1px solid #ffb4b6; color: #b3262b; }

/* ---------- Form ---------- */
.truong { margin-bottom: 18px; }
.truong > label, .nhan_truong { display: block; font-weight: 700; margin-bottom: 6px; font-size: .92rem; }
input[type=text], input[type=password], input[type=number], textarea, select {
  width: 100%; padding: 11px 14px; border-radius: 12px; border: 1.5px solid #c9daf8;
  background: #fff; color: var(--chu); font: inherit; outline: none; transition: .15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--xanh); box-shadow: 0 0 0 4px rgba(26, 79, 208, .15); }
textarea { min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8da0c6; }
input[type=file] { color: var(--chu_phu); font-size: .88rem; }
.goi_y { color: var(--chu_phu); font-size: .84rem; margin-top: 4px; }

/* Mic */
.boc_mic { position: relative; }
.boc_mic textarea, .boc_mic input[type=text] { padding-right: 58px; }
.nut_mic { position: absolute; right: 9px; top: 9px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, #3f74e8, #1a4fd0); color: #fff; display: grid; place-items: center; transition: .15s; box-shadow: 0 5px 14px rgba(26, 79, 208, .4); }
.nut_mic:hover { filter: brightness(1.1); }
.nut_mic svg { width: 18px; height: 18px; fill: currentColor; }
.nut_mic.dang_ghi { background: var(--do); animation: nhap_nhay 1s infinite; }
@keyframes nhap_nhay { 50% { box-shadow: 0 0 0 10px rgba(229, 72, 77, .2); } }
.trang_thai_mic { font-size: .8rem; color: var(--chu_phu); min-height: 1.2em; margin-top: 4px; }

/* ---------- Bang ---------- */
.bang { width: 100%; border-collapse: collapse; font-size: .93rem; }
.bang th, .bang td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #e3ecfb; vertical-align: middle; }
.bang th { color: var(--chu_phu); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; background: #f3f8ff; }
.bang tr:hover td { background: #f7faff; }

/* ---------- Dang nhap ---------- */
.trang_dang_nhap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.dang_nhap_trai { background: linear-gradient(160deg, rgba(15, 70, 214, .78), rgba(26, 79, 208, .55) 55%, rgba(18, 191, 160, .5)), url('../anh/van_phong_vietnova.png') center/cover; padding: 60px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.dang_nhap_trai .logo_bizsim { color: #fff; }
.dang_nhap_trai h1 { font-size: 3rem; font-weight: 800; color: #fff; }
.dang_nhap_trai p { color: #e0efff; max-width: 460px; }
.dang_nhap_phai { display: grid; place-items: center; padding: 30px; background: radial-gradient(600px 400px at 100% 0, rgba(77, 134, 255, .18), transparent 60%), #fff; position: relative; }
.dang_nhap_phai .chuyen_ngon_ngu { position: absolute; top: 22px; right: 26px; }
.hop_dang_nhap { width: 100%; max-width: 410px; }
@media (max-width: 860px) { .trang_dang_nhap { grid-template-columns: 1fr; } .dang_nhap_trai { display: none; } }

/* ---------- Van ban tu dong can chinh ---------- */
.van_ban { line-height: 1.75; }
.van_ban p { margin: 0 0 14px; }
.van_ban h4 { margin: 20px 0 8px; font-size: 1.05rem; color: var(--xanh_dam); }
.van_ban ul { margin: 0 0 14px; padding-left: 22px; }
.van_ban table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 10px 0 18px; font-size: .92rem; border: 1px solid var(--vien); border-radius: 12px; overflow: hidden; }
.van_ban th { background: #e6f0ff; text-align: left; padding: 10px 14px; font-size: .82rem; color: var(--xanh_dam); }
.van_ban td { padding: 10px 14px; border-top: 1px solid #e3ecfb; vertical-align: top; }
.van_ban tr td:first-child { font-weight: 700; width: 34%; background: #fafcff; }

/* ---------- Khong gian mo phong ---------- */
.dau_khong_gian { background: linear-gradient(90deg, #09318D, #1a4fd0 70%, #4d86ff); color: #fff; }
.dau_khong_gian .ben_trong { max-width: 1280px; margin: auto; padding: 14px 22px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.dau_khong_gian .tieu_de_gd { font-weight: 800; }
.dau_khong_gian .tieu_de_gd small { display: block; color: #cfe4ff; font-weight: 500; }
.dau_khong_gian .nut_vien { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); color: #fff; }
.thanh_tien_do { flex: 1; min-width: 200px; height: 11px; background: rgba(255, 255, 255, .25); border-radius: 99px; overflow: hidden; }
.thanh_tien_do > div { height: 100%; background: linear-gradient(90deg, #7df5d6, #ffe08a); border-radius: 99px; transition: width .5s; }
.khong_gian { display: grid; grid-template-columns: 255px 1fr; gap: 24px; max-width: 1280px; margin: 24px auto; padding: 0 22px; }
@media (max-width: 900px) { .khong_gian { grid-template-columns: 1fr; } }
.dieu_huong_gd { display: flex; flex-direction: column; gap: 10px; align-self: start; position: sticky; top: 84px; }
@media (max-width: 900px) { .dieu_huong_gd { position: static; flex-direction: row; overflow-x: auto; } }
.muc_gd { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--vien); background: #fff; color: var(--chu); font-size: .88rem; min-width: 200px; box-shadow: 0 4px 12px rgba(26, 79, 208, .06); }
.muc_gd .so { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--the2); color: var(--chu_phu); }
.muc_gd.hoan_thanh .so { background: var(--xanh_la); color: #fff; }
.muc_gd.dang_lam { border-color: var(--xanh); background: #eaf2ff; box-shadow: 0 8px 20px rgba(26, 79, 208, .18); }
.muc_gd.dang_lam .so { background: var(--xanh); color: #fff; }
.muc_gd.khoa { opacity: .55; }
a.muc_gd:hover { text-decoration: none; transform: translateX(3px); }
.vung_chinh { min-width: 0; }
.bang_thong_bao { border: 1px solid var(--vien); border-left: 7px solid var(--xanh); border-radius: var(--bo_goc); background: #fff; padding: 30px 32px; box-shadow: var(--bong); }
.bang_thong_bao .nhan_tren { font-size: .75rem; letter-spacing: .15em; font-weight: 800; color: var(--xanh); }
.bang_thong_bao h2 { font-size: 1.7rem; }
.nguoi_gui { display: flex; align-items: center; gap: 14px; margin: 14px 0 20px; }
.nguoi_gui img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 3px solid var(--xanh_sang); }
.nhiem_vu_luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 18px 0; }
.nhiem_vu_o { background: linear-gradient(180deg, #f3f8ff, #fff); border: 1px solid var(--vien); border-radius: 14px; padding: 16px; }
.nhiem_vu_o b { color: var(--xanh); display: block; margin-bottom: 4px; }
.nhiem_vu_o:nth-child(2) b { color: var(--ngoc); } .nhiem_vu_o:nth-child(3) b { color: var(--cam); } .nhiem_vu_o:nth-child(4) b { color: var(--tim); }
.hang_nut { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* Chon vai tro */
.the_vai_tro { cursor: pointer; display: block; position: relative; }
.the_vai_tro input { position: absolute; opacity: 0; }
.the_vai_tro .ben_trong { height: 100%; background: #fff; border: 2px solid var(--vien); border-radius: 18px; padding: 20px; text-align: center; transition: .18s; box-shadow: var(--bong); }
.the_vai_tro:hover .ben_trong { border-color: var(--xanh_sang); transform: translateY(-3px); }
.the_vai_tro input:checked + .ben_trong { border-color: var(--xanh); background: #eaf2ff; box-shadow: 0 0 0 4px rgba(26, 79, 208, .2), var(--bong); }
.the_vai_tro img { width: 110px; height: 138px; object-fit: cover; border-radius: 14px; margin-bottom: 10px; box-shadow: 0 8px 18px rgba(15, 40, 100, .2); }
.the_vai_tro h4 { margin-bottom: 4px; }

/* Lua chon */
.lua_chon { display: flex; gap: 14px; align-items: flex-start; padding: 15px 16px; border: 1.5px solid var(--vien); border-radius: 14px; background: #fff; margin-bottom: 12px; cursor: pointer; transition: .15s; }
.lua_chon:hover { border-color: var(--xanh_sang); background: #f6faff; }
.lua_chon input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--xanh); flex: none; }
.lua_chon.da_chon { border-color: var(--xanh); background: #eaf2ff; }
.lua_chon b { color: var(--chu); }
.chu_cai_dap_an { width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--the2); display: grid; place-items: center; font-weight: 800; color: var(--xanh); }
.phuong_an { border: 2px solid var(--vien); border-radius: 16px; background: #fff; padding: 18px 22px; margin-bottom: 14px; cursor: pointer; display: block; transition: .15s; }
.phuong_an:hover { border-color: var(--xanh_sang); transform: translateY(-2px); box-shadow: var(--bong); }
.phuong_an.da_chon { border-color: var(--xanh); background: #eaf2ff; }
.phuong_an input { display: none; }
.phuong_an h4 { margin-bottom: 6px; color: var(--xanh_dam); }
.phuong_an dl { margin: 10px 0 0; display: grid; gap: 4px; font-size: .9rem; }
.phuong_an dt { display: inline; font-weight: 800; }
.phuong_an dd { display: inline; margin: 0; }
.dt_uu_diem { color: #0b8a63; } .dt_rui_ro { color: #c9700a; } .dt_dieu_kien { color: var(--xanh); }
.nhac_lai { background: #fff8e6; border: 1px dashed #f0b93c; border-radius: 14px; padding: 14px 18px; margin: 16px 0 22px; }
.nhac_lai h4 { color: #b5740a; margin-bottom: 6px; }
.hop_cau_hoi { margin: 26px 0; }
.hop_cau_hoi > h4 { font-size: 1.04rem; }

/* Cuoc goi AI */
.cuoc_goi { display: grid; grid-template-columns: 250px 1fr; gap: 20px; }
@media (max-width: 760px) { .cuoc_goi { grid-template-columns: 1fr; } }
.nhan_vat_ai { text-align: center; background: linear-gradient(180deg, #eaf2ff, #fff); border: 1px solid var(--vien); border-radius: 20px; padding: 22px 16px; box-shadow: var(--bong); }
.nhan_vat_ai img { width: 150px; height: 190px; object-fit: cover; border-radius: 16px; border: 4px solid #fff; box-shadow: 0 10px 24px rgba(15, 40, 100, .25); }
.nhan_vat_ai.dang_noi img { box-shadow: 0 0 0 6px rgba(18, 184, 134, .35), 0 10px 24px rgba(15, 40, 100, .25); }
.nhan_vat_ai .ten_nv { font-weight: 800; margin-top: 10px; }
.chip_goi { display: inline-flex; gap: 6px; align-items: center; font-size: .76rem; font-weight: 700; background: #d8f7ec; color: #0b8a63; padding: 3px 11px; border-radius: 99px; margin: 8px 0; }
.chip_goi::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--xanh_la); }
.hop_hoi_thoai { background: #f6f9ff; border: 1px solid var(--vien); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; min-height: 420px; }
.dong_tin_nhan { flex: 1; overflow-y: auto; max-height: 420px; display: flex; flex-direction: column; gap: 12px; padding-right: 6px; }
.tin_nhan { max-width: 86%; padding: 12px 16px; border-radius: 18px; line-height: 1.55; }
.tin_nhan.ai { background: #fff; border: 1px solid var(--vien); border-bottom-left-radius: 4px; align-self: flex-start; box-shadow: 0 4px 12px rgba(26, 79, 208, .08); }
.tin_nhan.toi { background: linear-gradient(135deg, #3f74e8, #1a4fd0); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.tin_nhan small { display: block; opacity: .75; font-size: .72rem; margin-bottom: 3px; font-weight: 800; }
.o_tra_loi { margin-top: 14px; }
.dem_luot { font-size: .84rem; color: var(--chu_phu); }
.nut_loa { background: #fff; border: 1px solid var(--vien); color: var(--chu_phu); border-radius: 9px; padding: 4px 11px; cursor: pointer; font-size: .78rem; }

/* Bao cao AI */
.bao_cao_ai { border: 1px solid var(--vien); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--bong); }
.bao_cao_ai .dau { padding: 24px 30px; background: linear-gradient(120deg, #09318D, #1a4fd0 65%, #4d86ff); color: #fff; }
.bao_cao_ai .dau h2 { color: #fff; }
.bao_cao_ai .dau small { letter-spacing: .15em; font-weight: 800; color: #bfe0ff; }
.bao_cao_ai .dau .chu_phu { color: #dcebff; }
.muc_bao_cao { padding: 20px 30px; border-bottom: 1px solid #e3ecfb; }
.muc_bao_cao h4 { display: flex; gap: 10px; align-items: center; }
.muc_bao_cao .so_muc { width: 30px; height: 30px; border-radius: 9px; background: var(--xanh); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.muc_bao_cao.manh .so_muc { background: var(--xanh_la); }
.muc_bao_cao.yeu .so_muc { background: var(--cam); }
.muc_bao_cao:last-of-type .so_muc { background: var(--tim); }
.chan_bao_cao { padding: 18px 30px; background: #fff8e6; }

/* Hoan thanh */
.hoan_thanh_hop { text-align: center; padding: 44px 30px; background: linear-gradient(180deg, #eaf2ff, #fff 60%); }
.hoan_thanh_hop .hinh_lon { width: 190px; margin: 0 auto 6px; display: block; }
.hoan_thanh_hop h1 { font-size: 2.4rem; background: linear-gradient(90deg, var(--xanh), var(--ngoc)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.thanh_tien_do_sang { height: 9px; background: #e3ecfb; border-radius: 99px; overflow: hidden; }
.thanh_tien_do_sang > div { height: 100%; background: linear-gradient(90deg, var(--xanh), var(--ngoc)); }
.anh_nho { width: 56px; height: 40px; border-radius: 9px; object-fit: cover; }
.hub_dau { border-radius: 22px; padding: 26px 30px; background: linear-gradient(120deg, #09318D, #1a4fd0 60%, #4d86ff); color: #fff; box-shadow: var(--bong_manh); }
.hub_dau h1 { color: #fff; } .hub_dau .tieu_de_muc { color: #bfe0ff; } .hub_dau .chu_phu { color: #dcebff; }

/* ---------- Quan tri ---------- */
.bo_cuc_quan_tri { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 64px); }
@media (max-width: 900px) { .bo_cuc_quan_tri { grid-template-columns: 1fr; } }
.thanh_ben { background: #fff; border-right: 1px solid var(--vien); padding: 22px 14px; }
.thanh_ben a { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 12px; color: var(--chu); font-weight: 600; margin-bottom: 4px; }
.thanh_ben a:hover { background: var(--the2); text-decoration: none; }
.thanh_ben a.dang_chon { background: linear-gradient(135deg, #3f74e8, #1a4fd0); color: #fff; box-shadow: 0 6px 16px rgba(26, 79, 208, .3); }
.thanh_ben .nhom { font-size: .7rem; letter-spacing: .15em; color: var(--chu_phu); margin: 18px 14px 6px; text-transform: uppercase; font-weight: 700; }
.noi_dung_quan_tri { padding: 28px 32px 60px; min-width: 0; }
.noi_dung_quan_tri > h1 { font-size: 1.8rem; }
.dai_tab { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 2px solid var(--vien); margin-bottom: 20px; }
.dai_tab button { background: none; border: 0; color: var(--chu_phu); font: inherit; font-weight: 700; padding: 11px 18px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.dai_tab button:hover { color: var(--xanh); }
.dai_tab button.dang_chon { color: var(--xanh); border-bottom-color: var(--xanh); }
.dai_tab_con button { padding: 8px 14px; font-size: .9rem; }
.noi_dung_tab { display: none; }
.noi_dung_tab.dang_chon { display: block; }
.khoi_soan { border: 1px solid var(--vien); border-radius: 16px; padding: 18px 20px; margin-bottom: 16px; background: #fff; box-shadow: 0 4px 14px rgba(26, 79, 208, .05); }
.khoi_soan > legend, .khoi_soan > h4 { font-weight: 800; color: var(--xanh); font-size: .9rem; margin-bottom: 10px; }
.luoi_form { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.xem_truoc_anh { width: 90px; height: 90px; object-fit: cover; border-radius: 12px; border: 1px solid var(--vien); display: block; margin-bottom: 6px; }
.thanh_nut_luu { position: sticky; bottom: 0; background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px); border-top: 1px solid var(--vien); padding: 14px 0; margin-top: 26px; display: flex; gap: 12px; z-index: 10; }
.cau_tra_loi_xem { background: #f3f8ff; border: 1px solid var(--vien); border-radius: 12px; padding: 12px 16px; margin: 8px 0 14px; white-space: pre-wrap; }
.dong_hoi_thoai { padding: 8px 0; border-bottom: 1px dashed var(--vien); }
.dong_hoi_thoai b.ai { color: var(--ngoc); } .dong_hoi_thoai b.nd { color: var(--xanh); }
.chan_trang { text-align: center; color: var(--chu_phu); font-size: .82rem; padding: 34px 0; }
.hang_trong { text-align: center; color: var(--chu_phu); padding: 36px; }
details summary { cursor: pointer; }
@media print { .thanh_dieu_huong, .thanh_ben, .thanh_nut_luu { display: none; } }

/* =====================================================================
   v4 – Tone mau theo mau: den #02070A, xanh dam #09318D, cam #FC734D
   ===================================================================== */
body.trang_toi {
  --chu: #eaf1ff; --chu_phu: #a6b8e3; --the: #0a1530; --the2: #12224a; --vien: rgba(255, 255, 255, .13);
  --bong: 0 14px 40px rgba(0, 0, 0, .45); --bong_manh: 0 24px 60px rgba(0, 0, 0, .55);
  background: #02070A; color: var(--chu);
}
body.trang_toi .the { background: linear-gradient(180deg, #0d1a3a, #08112a); }
body.trang_toi a { color: #8fb2ff; }
body.trang_toi .nut_chinh, body.trang_toi .nut_cam { color: #fff; }
body.trang_toi .nut_chinh { background: linear-gradient(135deg, #2f63e0, #09318D); }
body.trang_toi .nhan_dem { background: rgba(255, 255, 255, .08); color: #c9d8ff; border-color: rgba(255, 255, 255, .15); }
body.trang_toi .tieu_de_muc { color: #ffb199; }
body.trang_toi .tieu_de_muc::after { background: linear-gradient(90deg, var(--cam), transparent); }
body.trang_toi .thanh_tien_do_sang { background: rgba(255, 255, 255, .12); }
body.trang_toi .the_anh:hover { box-shadow: 0 24px 60px rgba(9, 49, 141, .6); }

.chu_serif, .hero_toi h1, .tieu_de_serif { font-family: "Playfair Display", "Times New Roman", Georgia, serif; }
.hero_toi { position: relative; overflow: hidden; text-align: center; padding: 74px 0 0; color: #fff;
  background:
    radial-gradient(760px 460px at 50% 108%, rgba(252, 115, 77, .92), rgba(252, 115, 77, 0) 64%),
    radial-gradient(1200px 720px at 50% 78%, #1a4fd0 0%, #09318D 38%, rgba(9, 49, 141, 0) 72%),
    linear-gradient(180deg, #02070A 0%, #031238 52%, #09318D 100%); }
.hero_toi::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1.5px 1.5px at 12% 20%, #fff8, transparent), radial-gradient(1.5px 1.5px at 78% 14%, #fff9, transparent), radial-gradient(1px 1px at 32% 42%, #fff7, transparent), radial-gradient(1.5px 1.5px at 90% 48%, #fff7, transparent), radial-gradient(1px 1px at 55% 10%, #fff8, transparent); pointer-events: none; }
.hero_toi .khung { position: relative; z-index: 2; }
.hero_toi h1 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); font-weight: 500; line-height: 1.12; color: #fff; max-width: 880px; margin: 0 auto 18px; letter-spacing: -.01em; }
.hero_toi h1 em { font-style: italic; background: linear-gradient(90deg, #ffd9cc, #FC734D); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero_toi .mo_ta { color: #cbd8f7; max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.hero_toi .nho_tren { display: inline-flex; gap: 10px; align-items: center; padding: 6px 16px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; color: #ffd9cc; }
.hero_toi .so_hai_ben { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin: 34px auto 0; max-width: 1080px; }
.so_cot { display: grid; gap: 34px; }
.so_cot.trai { text-align: left; } .so_cot.phai { text-align: right; }
.so_muc_lon b { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 2.1rem; font-weight: 500; line-height: 1.1; color: #fff; }
.so_muc_lon span { font-size: .85rem; color: #b6c6ec; }
.nut_tron { width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center; text-align: center; color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.3;
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .24), rgba(255, 255, 255, .04) 70%); border: 1.5px solid rgba(255, 255, 255, .45);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 0 60px rgba(252, 115, 77, .55); transition: .25s; }
.nut_tron:hover { text-decoration: none; transform: scale(1.06); box-shadow: 0 0 0 14px rgba(255, 255, 255, .08), 0 0 80px rgba(252, 115, 77, .8); color: #fff; }
.nut_tron small { display: block; font-size: 1.5rem; }
@media (max-width: 860px) { .hero_toi .so_hai_ben { grid-template-columns: 1fr; } .so_cot { grid-template-columns: 1fr 1fr; text-align: center !important; } .nut_tron { margin: 0 auto; } }

/* Thanh next anh */
.bang_truot_vung { position: relative; z-index: 3; padding: 34px 0 10px; }
.bang_truot { position: relative; height: 400px; perspective: 1500px; max-width: 1180px; margin: 0 auto; }
.the_truot { position: absolute; top: 0; left: 50%; width: 40%; height: 100%; margin-left: -20%; border-radius: 26px; overflow: hidden; background: #0a1530 center/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .7s, filter .7s; opacity: 0; pointer-events: none; transform: translateX(0) scale(.7); }
.the_truot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 7, 10, 0) 45%, rgba(2, 7, 10, .85)); }
.the_truot .chu_thich { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #fff; text-align: left; }
.the_truot .chu_thich span { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 3px 11px; border-radius: 99px; background: var(--cam); margin-bottom: 8px; }
.the_truot .chu_thich b { display: block; font-size: 1.15rem; line-height: 1.3; }
.the_truot.giua { opacity: 1; transform: translateX(0) rotateY(0) scale(1); z-index: 5; pointer-events: auto; }
.the_truot.trai { opacity: .85; transform: translateX(-84%) rotateY(32deg) scale(.86); z-index: 3; filter: brightness(.7); pointer-events: auto; cursor: pointer; }
.the_truot.phai { opacity: .85; transform: translateX(84%) rotateY(-32deg) scale(.86); z-index: 3; filter: brightness(.7); pointer-events: auto; cursor: pointer; }
.mui_ten { position: absolute; top: 50%; z-index: 9; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(9, 49, 141, .65); backdrop-filter: blur(8px); color: #fff; font-size: 1.3rem; cursor: pointer; transition: .2s; display: grid; place-items: center; }
.mui_ten:hover { background: var(--cam); border-color: var(--cam); transform: scale(1.08); }
.mui_ten.trai { left: 2%; } .mui_ten.phai { right: 2%; }
.cham_truot { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.cham_truot button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .3); cursor: pointer; transition: .3s; }
.cham_truot button.dang_chon { width: 30px; background: var(--cam); }
@media (max-width: 860px) { .bang_truot { height: 300px; } .the_truot { width: 64%; margin-left: -32%; } .the_truot.trai { transform: translateX(-62%) rotateY(30deg) scale(.82); } .the_truot.phai { transform: translateX(62%) rotateY(-30deg) scale(.82); } .mui_ten { width: 44px; height: 44px; margin-top: -22px; } }

/* Cac the anh tren trang chu toi */
.luoi_buoc { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.buoc_anh { border-radius: 22px; overflow: hidden; position: relative; min-height: 330px; background: #0a1530 center/cover; border: 1px solid rgba(255, 255, 255, .14); display: flex; align-items: flex-end; transition: .3s; }
.buoc_anh::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 7, 10, .05) 20%, rgba(2, 7, 10, .92)); }
.buoc_anh:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(9, 49, 141, .65); }
.buoc_anh .noi { position: relative; padding: 20px; color: #fff; }
.buoc_anh .so { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cam); font-weight: 800; margin-bottom: 10px; }
.buoc_anh h4 { color: #fff; margin: 0 0 6px; } .buoc_anh p { margin: 0; font-size: .86rem; color: #c3d1f2; }
.cta_toi { position: relative; overflow: hidden; border-radius: 30px; padding: 0; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 320px; border: 1px solid rgba(255, 255, 255, .15);
  background: linear-gradient(120deg, #09318D, #02070A); box-shadow: var(--bong_manh); }
.cta_toi .chu { padding: 44px; position: relative; z-index: 2; }
.cta_toi h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 2.2rem; color: #fff; }
.cta_toi p { color: #c3d1f2; }
.cta_toi .anh { background: center/cover; min-height: 220px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
@media (max-width: 760px) { .cta_toi { grid-template-columns: 1fr; } .cta_toi .anh { display: none; } }
body.trang_toi .the_anh .anh_bia::after { background: linear-gradient(180deg, transparent 55%, rgba(2, 7, 10, .65)); }

/* =====================================================================
   Trang dang nhap – the kinh mo tren nen anh van phong
   ===================================================================== */
.trang_dn_kinh { min-height: 100vh; display: grid; place-items: center; position: relative; padding: 30px 16px;
  background: linear-gradient(rgba(2, 7, 10, .32), rgba(9, 49, 141, .5)), url('../anh/van_phong_mo.png') center/cover fixed; }
.trang_dn_kinh .logo_goc { position: absolute; top: 26px; left: 34px; }
.trang_dn_kinh .chuyen_ngon_ngu { position: absolute; top: 26px; right: 34px; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); }
.trang_dn_kinh .chuyen_ngon_ngu a { color: #fff; }
.trang_dn_kinh .chuyen_ngon_ngu a.dang_chon { background: #fff; color: #09318D; box-shadow: none; }
.the_kinh { width: min(94vw, 410px); padding: 40px 38px 30px; border-radius: 28px; color: #fff; position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06)); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .5); box-shadow: 0 34px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .5); }
.the_kinh h2 { text-align: center; font-size: 2rem; color: #fff; margin-bottom: 26px; letter-spacing: .01em; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.o_kinh { position: relative; margin-bottom: 26px; }
.o_kinh label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 2px; color: #fff; }
.o_kinh input[type=text], .o_kinh input[type=password] { background: transparent; border: 0; border-bottom: 2px solid rgba(255, 255, 255, .75); border-radius: 0; color: #fff; padding: 8px 30px 8px 0; box-shadow: none; font-size: 1rem; }
.o_kinh input:focus { border-bottom-color: #fff; box-shadow: 0 8px 14px -10px rgba(255, 255, 255, .8); }
.o_kinh input:-webkit-autofill { -webkit-text-fill-color: #fff; transition: background-color 9999s; }
.o_kinh svg { position: absolute; right: 2px; bottom: 11px; width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.8; opacity: .9; }
.hang_nho { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; margin: -6px 0 22px; }
.hang_nho label { display: flex; gap: 7px; align-items: center; cursor: pointer; }
.hang_nho input { accent-color: #fff; width: 15px; height: 15px; }
.hang_nho a { color: #fff; font-weight: 600; opacity: .95; }
.nut_kinh { width: 100%; border: 0; cursor: pointer; padding: 13px; border-radius: 99px; background: #fff; color: #02070A; font: inherit; font-weight: 800; font-size: 1rem; transition: .2s; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.nut_kinh:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0, 0, 0, .4); background: #fff7f3; }
.chu_chan_kinh { text-align: center; font-size: .82rem; margin: 20px 0 0; color: #eaf1ff; }
.loi_kinh { background: rgba(229, 72, 77, .28); border: 1px solid rgba(255, 190, 190, .7); color: #fff; padding: 10px 14px; border-radius: 12px; margin-bottom: 20px; font-size: .88rem; font-weight: 600; }
.ghi_chu_quen { display: none; background: rgba(255, 255, 255, .18); border-radius: 12px; padding: 10px 14px; font-size: .82rem; margin: -8px 0 18px; }
body.trang_toi .nut_trang { color: #09318D; }
body.trang_toi .nut_trang:hover { color: #02070A; text-decoration: none; }

/* =====================================================================
   v6 – Bo cuc + tone mau theo mau (xanh dam -> xanh sang -> cam), dang nhap anh moi
   ===================================================================== */
.thanh_dieu_huong { background: rgba(4, 10, 34, .55); }
body.trang_toi .thanh_dieu_huong { background: rgba(4, 10, 34, .35); border-bottom-color: rgba(255, 255, 255, .06); }

.hero_toi { min-height: calc(100vh - 62px); display: flex; flex-direction: column; padding: 46px 0 0;
  background:
    radial-gradient(900px 420px at 50% 112%, rgba(255, 106, 61, .95), rgba(255, 106, 61, 0) 68%),
    radial-gradient(620px 300px at 50% 102%, rgba(255, 190, 140, .75), rgba(255, 190, 140, 0) 70%),
    radial-gradient(1300px 760px at 50% 62%, #2c63f0 0%, #1b44d8 34%, rgba(10, 31, 120, 0) 72%),
    linear-gradient(180deg, #040a22 0%, #081a66 30%, #1a46de 62%, #4a79f4 80%, #f08a60 100%); }
.hero_toi::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-radial-gradient(ellipse 120% 85% at 50% 118%, rgba(255, 255, 255, .09) 0 1.5px, transparent 1.5px 46px),
    conic-gradient(from 258deg at 50% 118%, transparent 0deg, rgba(255, 255, 255, .10) 6deg, transparent 13deg, rgba(255, 255, 255, .07) 19deg, transparent 27deg, rgba(255, 255, 255, .09) 34deg, transparent 42deg, rgba(255, 255, 255, .06) 50deg, transparent 58deg, rgba(255, 255, 255, .08) 66deg, transparent 76deg); opacity: .8; }
.hero_toi > .khung { width: 100%; }
.hero_toi h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); max-width: 760px; margin-bottom: 12px; }
.hero_toi .nho_tren { display: none; }
.hero_toi .bo_cuc_giua { display: grid; grid-template-columns: 1fr minmax(0, 560px) 1fr; gap: 26px; align-items: start; margin-top: 8px; }
.hero_toi .so_cot { gap: 26px; padding-top: 6px; }
.hero_toi .so_cot.trai { text-align: left; padding-left: 4%; } .hero_toi .so_cot.phai { text-align: right; padding-right: 4%; }
.so_muc_lon b { font-size: 1.9rem; } .so_muc_lon span { display: block; font-size: .78rem; color: #cfdcff; }
.hero_toi .mo_ta { font-size: .98rem; margin: 0 auto; }
.hero_toi .nut_tron { margin: 22px auto 0; width: 118px; height: 118px; background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .22), rgba(255, 210, 180, .08) 70%); box-shadow: 0 0 0 9px rgba(255, 255, 255, .07), 0 0 54px rgba(255, 120, 70, .75); }
@media (max-width: 900px) { .hero_toi .bo_cuc_giua { grid-template-columns: 1fr; } .hero_toi .so_cot { grid-template-columns: 1fr 1fr; text-align: center !important; padding: 0 !important; } }

.mui_ten { position: absolute; top: 46%; z-index: 20; margin-top: 0; width: 50px; height: 50px; background: rgba(8, 26, 102, .7); border-color: rgba(255, 255, 255, .45); }
.mui_ten.trai { left: 2.2%; } .mui_ten.phai { right: 2.2%; }

.bang_truot_vung { margin-top: auto; padding: 22px 0 0; position: relative; z-index: 3; }
.bang_truot { height: 330px; perspective: 1700px; max-width: 1240px; }
.the_truot { width: 31%; margin-left: -15.5%; top: 36px; height: 100%; border: 0; box-shadow: none; background: none; border-radius: 0; overflow: visible; transform: translateX(0) scale(.9); }
.the_truot::after { display: none; }
.the_truot .nhan_tren { position: absolute; top: -30px; left: 4px; right: 4px; font-size: .82rem; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.the_truot .nhan_tren::before { content: "•"; color: #ffb08c; margin-right: 8px; font-size: 1.2em; vertical-align: -1px; }
.the_truot .khung_anh { height: 100%; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .35); background: #0a1530 center/cover no-repeat; box-shadow: 0 -8px 40px rgba(6, 18, 70, .55), inset 0 0 0 5px rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.the_truot .khung_anh::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 10, 34, 0) 55%, rgba(4, 10, 34, .55)); }
.the_truot.giua { transform: translateX(0) rotateY(0) scale(1.02); z-index: 5; opacity: 1; }
.the_truot.trai { transform: translateX(-104%) rotateY(10deg) scale(.94); filter: brightness(.82); opacity: 1; z-index: 3; }
.the_truot.phai { transform: translateX(104%) rotateY(-10deg) scale(.94); filter: brightness(.82); opacity: 1; z-index: 3; }
.the_truot.giua .khung_anh { box-shadow: 0 -10px 50px rgba(255, 120, 70, .45), inset 0 0 0 5px rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.cham_truot { display: none; }
.hero_toi { padding-bottom: 0; }
@media (max-width: 860px) { .the_truot { width: 62%; margin-left: -31%; } .the_truot.trai { transform: translateX(-70%) rotateY(10deg) scale(.88); } .the_truot.phai { transform: translateX(70%) rotateY(-10deg) scale(.88); } .bang_truot { height: 250px; } .mui_ten { top: 40%; width: 42px; height: 42px; } }

/* Dang nhap: nen anh moi + the kinh toi, o nhap dịu mat */
.trang_dn_kinh { background: linear-gradient(rgba(4, 10, 34, .55), rgba(9, 30, 96, .55)), url('../anh/nen_dang_nhap.jpg') center/cover fixed; }
.the_kinh { background: linear-gradient(150deg, rgba(14, 30, 84, .62), rgba(8, 18, 56, .5)); border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .25); }
.the_kinh h2 { text-shadow: none; font-size: 1.9rem; margin-bottom: 24px; }
.o_kinh { margin-bottom: 18px; }
.o_kinh label { font-size: .8rem; font-weight: 700; color: #cfe0ff; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 7px; }
.o_kinh input[type=text], .o_kinh input[type=password] { background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .22); border-radius: 14px; padding: 13px 16px 13px 46px; color: #fff; font-size: 1rem; letter-spacing: .01em; transition: .2s; }
.o_kinh input:hover { background: rgba(255, 255, 255, .14); }
.o_kinh input:focus { background: rgba(255, 255, 255, .16); border-color: #8fb4ff; box-shadow: 0 0 0 4px rgba(120, 165, 255, .28); }
.o_kinh svg { left: 15px; right: auto; bottom: 14px; width: 18px; height: 18px; stroke: #b8cdfb; }
.hang_nho { color: #dbe7ff; }
.nut_kinh { background: linear-gradient(135deg, #ffffff, #e8f0ff); }
.the_kinh ::selection { background: #3f74e8; color: #fff; }
/* =====================================================================
   v7 – Giao dien toi ap dung cho TOAN BO he thong + he thong nut moi
   ===================================================================== */
body.trang_toi {
  background:
    radial-gradient(1100px 620px at 85% -8%, rgba(26, 79, 208, .5), transparent 62%),
    radial-gradient(900px 520px at -5% 38%, rgba(252, 115, 77, .10), transparent 62%),
    radial-gradient(800px 500px at 60% 110%, rgba(26, 79, 208, .28), transparent 60%),
    #02070A;
}
body.trang_toi h1, body.trang_toi h2, body.trang_toi h3, body.trang_toi h4 { color: #fff; }
body.trang_toi a { color: #8fb2ff; }

/* ---------- He thong nut ---------- */
.nut, button.nut { position: relative; border-radius: 99px; padding: 11px 24px; font-weight: 700; letter-spacing: .01em; border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .09); color: #fff; backdrop-filter: blur(6px); transition: transform .18s, box-shadow .2s, background .2s, border-color .2s; }
.nut:hover { background: rgba(255, 255, 255, .17); border-color: rgba(255, 255, 255, .4); transform: translateY(-2px); filter: none; text-decoration: none; }
.nut:active { transform: translateY(0) scale(.98); }
.nut:focus-visible, .nut_mic:focus-visible, .mui_ten:focus-visible { outline: 3px solid rgba(143, 178, 255, .65); outline-offset: 2px; }
body.trang_toi a.nut, body.trang_toi button.nut { color: #fff; }
.nut_chinh, body.trang_toi .nut_chinh { background: linear-gradient(135deg, #4a7dff 0%, #1a4fd0 55%, #09318D 100%); border-color: rgba(143, 178, 255, .55); color: #fff;
  box-shadow: 0 8px 22px rgba(26, 79, 208, .5), inset 0 1px 0 rgba(255, 255, 255, .3); }
.nut_chinh:hover, body.trang_toi .nut_chinh:hover { background: linear-gradient(135deg, #5d8cff 0%, #2358e0 55%, #0b3aa6 100%); box-shadow: 0 14px 30px rgba(26, 79, 208, .65), inset 0 1px 0 rgba(255, 255, 255, .35); }
.nut_cam, body.trang_toi .nut_cam { background: linear-gradient(135deg, #ff9a6b 0%, #FC734D 55%, #e9532b 100%); border-color: rgba(255, 190, 160, .6); color: #fff;
  box-shadow: 0 8px 22px rgba(252, 115, 77, .45), inset 0 1px 0 rgba(255, 255, 255, .35); }
.nut_cam:hover, body.trang_toi .nut_cam:hover { background: linear-gradient(135deg, #ffab82 0%, #ff805a 55%, #f0603a 100%); box-shadow: 0 14px 30px rgba(252, 115, 77, .65), inset 0 1px 0 rgba(255, 255, 255, .4); }
.nut_vien, body.trang_toi .nut_vien { background: transparent; border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; backdrop-filter: none; }
.nut_vien:hover, body.trang_toi .nut_vien:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.nut_trang, body.trang_toi .nut_trang { background: #fff; border-color: #fff; color: #09318D; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.nut_trang:hover, body.trang_toi .nut_trang:hover { background: #fff3ec; color: #02070A; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.nut_xanh_la, body.trang_toi .nut_xanh_la { background: linear-gradient(135deg, #3fd9bf, #2bb5a0 60%, #168f7e); border-color: rgba(150, 240, 225, .6); color: #04201b; box-shadow: 0 8px 22px rgba(43, 181, 160, .4); }
.nut_nguy_hiem, body.trang_toi .nut_nguy_hiem { background: rgba(229, 72, 77, .14); border-color: rgba(255, 120, 125, .5); color: #ffa3a6; box-shadow: none; }
.nut_nguy_hiem:hover, body.trang_toi .nut_nguy_hiem:hover { background: linear-gradient(135deg, #f0575c, #c8333a); border-color: #ff8a8e; color: #fff; box-shadow: 0 10px 24px rgba(229, 72, 77, .5); }
.nut_nho { padding: 6px 15px; font-size: .84rem; }
.nut[disabled], .nut.vo_hieu { opacity: .4; box-shadow: none; transform: none; }
.thanh_dieu_huong .nut_vien { background: #fff; color: #02070A; border: 0; }
.thanh_dieu_huong .nut_vien:hover { background: #ffe9df; color: #02070A; }
.nut_kinh { border-radius: 99px; }
.nut_mic { background: linear-gradient(135deg, #ff9a6b, #FC734D); box-shadow: 0 6px 16px rgba(252, 115, 77, .5); }
.nut_mic.dang_ghi { background: #e5484d; }
.mui_ten { background: rgba(255, 255, 255, .12); }
.nut_loa { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #d6e2ff; }

/* ---------- O nhap lieu (toi, diu mat) ---------- */
body.trang_toi input[type=text], body.trang_toi input[type=password], body.trang_toi input[type=number], body.trang_toi textarea, body.trang_toi select {
  background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(255, 255, 255, .2); color: #eef3ff; border-radius: 14px; }
body.trang_toi select option { background: #0a1530; color: #eef3ff; }
body.trang_toi input:hover, body.trang_toi textarea:hover, body.trang_toi select:hover { background: rgba(255, 255, 255, .1); }
body.trang_toi input:focus, body.trang_toi textarea:focus, body.trang_toi select:focus { background: rgba(255, 255, 255, .12); border-color: #8fb2ff; box-shadow: 0 0 0 4px rgba(120, 165, 255, .25); }
body.trang_toi ::placeholder { color: #8da2cf; }
body.trang_toi input[type=file] { color: #a6b8e3; }
body.trang_toi input[type=file]::file-selector-button { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 99px; padding: 6px 14px; margin-right: 10px; cursor: pointer; }
body.trang_toi input[type=file]::file-selector-button:hover { background: rgba(255, 255, 255, .2); }
body.trang_toi input[type=checkbox], body.trang_toi input[type=radio] { accent-color: #FC734D; }
body.trang_toi .goi_y { color: #96a9d6; }

/* ---------- The, bang, khoi ---------- */
body.trang_toi .the_sang { background: linear-gradient(180deg, #0d1a3a, #08112a); color: var(--chu); }
body.trang_toi .khoi_soan { background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .13); box-shadow: none; }
body.trang_toi .khoi_soan > legend, body.trang_toi .khoi_soan > h4 { color: #ffb199; }
body.trang_toi .bang th { background: rgba(255, 255, 255, .06); color: #a9bce8; }
body.trang_toi .bang th, body.trang_toi .bang td { border-bottom-color: rgba(255, 255, 255, .09); }
body.trang_toi .bang tr:hover td { background: rgba(255, 255, 255, .045); }
body.trang_toi .bang td { color: #e6edff; }
body.trang_toi .van_ban h4 { color: #ffb199; }
body.trang_toi .van_ban table { border-color: rgba(255, 255, 255, .15); }
body.trang_toi .van_ban th { background: rgba(77, 134, 255, .22); color: #cfe0ff; }
body.trang_toi .van_ban td { border-top-color: rgba(255, 255, 255, .09); }
body.trang_toi .van_ban tr td:first-child { background: rgba(255, 255, 255, .04); color: #fff; }
body.trang_toi .cau_tra_loi_xem { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #eef3ff; }
body.trang_toi .dong_hoi_thoai { border-bottom-color: rgba(255, 255, 255, .15); }
body.trang_toi .dong_hoi_thoai b.nd { color: #8fb2ff; }
body.trang_toi .thanh_nut_luu { background: rgba(2, 7, 10, .88); border-top-color: rgba(255, 255, 255, .12); }
body.trang_toi .xem_truoc_anh { border-color: rgba(255, 255, 255, .25); }
body.trang_toi .the_thong_ke .so { color: #fff; }
body.trang_toi .thanh_ben { background: rgba(4, 10, 34, .7); border-right-color: rgba(255, 255, 255, .1); }
body.trang_toi .thanh_ben a { color: #d6e2ff; }
body.trang_toi .thanh_ben a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
body.trang_toi .thanh_ben a.dang_chon { background: linear-gradient(135deg, #4a7dff, #1a4fd0); color: #fff; }
body.trang_toi .dai_tab { border-bottom-color: rgba(255, 255, 255, .15); }
body.trang_toi .dai_tab button { color: #a6b8e3; }
body.trang_toi .dai_tab button:hover { color: #fff; }
body.trang_toi .dai_tab button.dang_chon { color: #fff; border-bottom-color: #FC734D; }

/* nhan trang thai + thong bao */
body.trang_toi .nhan { background: rgba(255, 255, 255, .1); color: #d6e2ff; }
body.trang_toi .trang_thai_dang_lam { background: rgba(77, 134, 255, .22); color: #b6ccff; }
body.trang_toi .trang_thai_hoan_thanh { background: rgba(43, 181, 160, .22); color: #8cf0dc; }
body.trang_toi .trang_thai_chua { background: rgba(255, 255, 255, .1); color: #b9c8e8; }
body.trang_toi .thong_bao_thanh_cong { background: rgba(43, 181, 160, .16); border-color: rgba(110, 230, 205, .6); color: #b8f5e8; }
body.trang_toi .thong_bao_loi { background: rgba(229, 72, 77, .16); border-color: rgba(255, 130, 135, .6); color: #ffc7c9; }

/* ---------- Trang mo phong ---------- */
body.trang_toi .dau_khong_gian { background: linear-gradient(90deg, rgba(4, 10, 34, .9), #09318D 70%, #1a4fd0); border-bottom: 1px solid rgba(255, 255, 255, .12); }
body.trang_toi .muc_gd { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .13); color: #e6edff; box-shadow: none; }
body.trang_toi .muc_gd .so { background: rgba(255, 255, 255, .12); color: #cfdcff; }
body.trang_toi .muc_gd.dang_lam { background: rgba(26, 79, 208, .3); border-color: #6f9bff; box-shadow: 0 8px 26px rgba(26, 79, 208, .4); }
body.trang_toi .muc_gd.dang_lam .so { background: #FC734D; color: #fff; }
body.trang_toi .muc_gd.hoan_thanh .so { background: #2bb5a0; color: #04201b; }
body.trang_toi .bang_thong_bao { background: linear-gradient(180deg, #0d1a3a, #08112a); border-color: rgba(255, 255, 255, .14); border-left-color: #FC734D; }
body.trang_toi .bang_thong_bao .nhan_tren { color: #ffb199; }
body.trang_toi .nguoi_gui img { border-color: #8fb2ff; }
body.trang_toi .nhiem_vu_o { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .13); color: #dbe6ff; }
body.trang_toi .nhiem_vu_o b { color: #8fb2ff; }
body.trang_toi .nhiem_vu_o:nth-child(2) b { color: #6fe3cf; } body.trang_toi .nhiem_vu_o:nth-child(3) b { color: #ffb08c; } body.trang_toi .nhiem_vu_o:nth-child(4) b { color: #c2b8ff; }
body.trang_toi .the_vai_tro .ben_trong { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); box-shadow: none; }
body.trang_toi .the_vai_tro:hover .ben_trong { border-color: #8fb2ff; }
body.trang_toi .the_vai_tro input:checked + .ben_trong { background: rgba(26, 79, 208, .32); border-color: #FC734D; box-shadow: 0 0 0 4px rgba(252, 115, 77, .25); }
body.trang_toi .lua_chon { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); color: #e6edff; }
body.trang_toi .lua_chon:hover { background: rgba(255, 255, 255, .09); border-color: #8fb2ff; }
body.trang_toi .lua_chon.da_chon { background: rgba(26, 79, 208, .3); border-color: #6f9bff; }
body.trang_toi .lua_chon b { color: #fff; }
body.trang_toi .chu_cai_dap_an { background: rgba(255, 255, 255, .12); color: #ffb199; }
body.trang_toi .phuong_an { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); color: #e6edff; }
body.trang_toi .phuong_an:hover { background: rgba(255, 255, 255, .09); border-color: #8fb2ff; box-shadow: 0 14px 36px rgba(0, 0, 0, .35); }
body.trang_toi .phuong_an.da_chon { background: rgba(26, 79, 208, .3); border-color: #FC734D; }
body.trang_toi .phuong_an h4 { color: #ffb199; }
body.trang_toi .dt_uu_diem { color: #6fe3cf; } body.trang_toi .dt_rui_ro { color: #ffb25c; } body.trang_toi .dt_dieu_kien { color: #8fb2ff; }
body.trang_toi .nhac_lai { background: rgba(252, 115, 77, .1); border-color: rgba(255, 160, 120, .6); color: #ffe7dc; }
body.trang_toi .nhac_lai h4 { color: #ffb199; }
body.trang_toi .nhan_vat_ai { background: linear-gradient(180deg, #112a63, #0a1530); border-color: rgba(255, 255, 255, .15); }
body.trang_toi .nhan_vat_ai img { border-color: rgba(255, 255, 255, .85); }
body.trang_toi .chip_goi { background: rgba(43, 181, 160, .22); color: #8cf0dc; }
body.trang_toi .hop_hoi_thoai { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .13); }
body.trang_toi .tin_nhan.ai { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .15); color: #f0f5ff; box-shadow: none; }
body.trang_toi .tin_nhan.toi { background: linear-gradient(135deg, #ff9a6b, #FC734D); color: #fff; }
body.trang_toi .bao_cao_ai { background: #0a1530; border-color: rgba(255, 255, 255, .15); }
body.trang_toi .muc_bao_cao { border-bottom-color: rgba(255, 255, 255, .1); }
body.trang_toi .chan_bao_cao { background: rgba(252, 115, 77, .12); color: #ffe7dc; }
body.trang_toi .hoan_thanh_hop { background: linear-gradient(180deg, rgba(26, 79, 208, .35), rgba(8, 17, 42, .9) 60%); }
body.trang_toi .hoan_thanh_hop h1 { background: linear-gradient(90deg, #8fb2ff, #FC734D); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.trang_toi .dai_trang_tri { background: linear-gradient(120deg, rgba(26, 79, 208, .38), rgba(252, 115, 77, .16)); border-color: rgba(255, 255, 255, .15); }
body.trang_toi .dai_trang_tri h1 { color: #fff; }
body.trang_toi .hub_dau { background: linear-gradient(120deg, #09318D, #1a4fd0 60%, rgba(252, 115, 77, .85)); }
body.trang_toi .buoc_the .so_buoc { background: #FC734D; }
body.trang_toi .thanh_tien_do_sang { background: rgba(255, 255, 255, .13); }
body.trang_toi .thanh_tien_do_sang > div { background: linear-gradient(90deg, #4a7dff, #FC734D); }
body.trang_toi .the_thong_ke::before { height: 4px; }
body.trang_toi details summary { color: #c3d3f5; }
body.trang_toi .nhan_dem { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: #c9d8ff; }
body.trang_toi .trang_thai_mic { color: #a6b8e3; }
body.trang_toi hr { border-color: rgba(255, 255, 255, .12); }
/* =====================================================================
   v9 – Can chinh nut, nhan trang thai, bang; micro; nut ve admin
   ===================================================================== */
.nut, button.nut, .nhan, .nhan_quyen, .chip_goi, .nut_kinh { white-space: nowrap; }
.nut, button.nut { display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1.2; min-height: 42px; text-align: center; }
.nut_nho, button.nut_nho { min-height: 34px; padding: 6px 16px; font-size: .84rem; }
.nhan { display: inline-flex; align-items: center; justify-content: center; line-height: 1.2; padding: 5px 13px; font-size: .76rem; }
.nhan_quyen { display: inline-flex; align-items: center; line-height: 1.2; padding: 5px 12px; }
.bang th { white-space: nowrap; vertical-align: middle; }
.bang td { vertical-align: middle; }
.bang td .hang { flex-wrap: nowrap; gap: 8px; }
.bang td form { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.bang td form input[type=text] { height: 34px; padding: 4px 12px; border-radius: 99px; font-size: .84rem; }
.bang td:last-child { white-space: nowrap; }
.bang td .nhan { margin-right: 4px; }
.bang .anh_nho { flex: none; }
.the[style*="overflow-x:auto"], .the_sang[style*="overflow-x:auto"] { scrollbar-width: thin; }
.hang_nut .nut { min-width: 150px; }
.nut_ve_admin { margin-right: -8px; padding-left: 14px; }
.thanh_dieu_huong .ben_trong { flex-wrap: wrap; row-gap: 8px; }
.vung_tai_khoan { margin-left: auto; flex-wrap: nowrap; }
.nut_mic.dang_xu_ly { background: #6b7fb3; box-shadow: none; animation: quay 1s linear infinite; }
@keyframes quay { 50% { opacity: .5; } }
.trang_thai_mic { font-size: .82rem; margin-top: 6px; }
/* Thanh chon che do / giong cua micro */
.mic_dieu_khien { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; font-size: .78rem; color: #a6b8e3; }
.mic_chon { width: auto !important; height: 30px; padding: 2px 28px 2px 12px !important; border-radius: 99px !important; font-size: .78rem; font-weight: 600; cursor: pointer; }
.mic_meo { opacity: .85; }
/* =====================================================================
   v11 – Nen xanh sang (mau anh 2) cho toan he thong, hero tran xuong, Giai doan 4 moi
   ===================================================================== */
body.trang_toi {
  --chu: #f2f6ff; --chu_phu: #c6d6ff; --vien: rgba(255, 255, 255, .22);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='120'%3E%3Cg stroke='%23fff' stroke-opacity='.17' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M12 18h46M120 44h30M190 12h52M40 70h26M150 96h58M222 68h24M92 108h18'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(1300px 560px at 50% -8%, #3d70f6 0%, rgba(61, 112, 246, 0) 70%),
    radial-gradient(900px 500px at 100% 100%, rgba(46, 90, 238, .6), rgba(46, 90, 238, 0) 70%),
    #1a43d4;
}
body.trang_toi a { color: #e3ecff; }
body.trang_toi .thanh_dieu_huong { background: rgba(9, 32, 138, .78); backdrop-filter: blur(10px); border-bottom-color: rgba(255, 255, 255, .16); }
.thanh_dieu_huong { background: rgba(9, 32, 138, .78); }
body.trang_toi .the, body.trang_toi .the_sang, body.trang_toi .bang_thong_bao {
  background: linear-gradient(180deg, rgba(10, 36, 150, .78), rgba(8, 28, 122, .78)); border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 16px 40px rgba(4, 14, 80, .35); }
body.trang_toi .bang_thong_bao { border-left-color: #FC734D; }
body.trang_toi .khoi_soan { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
body.trang_toi .thanh_ben { background: rgba(9, 32, 138, .6); border-right-color: rgba(255, 255, 255, .16); }
body.trang_toi .thanh_nut_luu { background: rgba(9, 32, 138, .93); border-top-color: rgba(255, 255, 255, .2); }
body.trang_toi input[type=text], body.trang_toi input[type=password], body.trang_toi input[type=number], body.trang_toi textarea, body.trang_toi select { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .32); color: #fff; }
body.trang_toi select option { background: #0b2494; color: #fff; }
body.trang_toi ::placeholder { color: #b4c6f5; }
body.trang_toi .bang th { background: rgba(255, 255, 255, .12); color: #dbe6ff; }
body.trang_toi .bang th, body.trang_toi .bang td { border-bottom-color: rgba(255, 255, 255, .16); }
body.trang_toi .bang tr:hover td { background: rgba(255, 255, 255, .08); }
body.trang_toi .cau_tra_loi_xem { background: rgba(8, 28, 122, .55); border-color: rgba(255, 255, 255, .22); }
body.trang_toi .muc_gd { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .22); }
body.trang_toi .muc_gd.dang_lam { background: rgba(252, 115, 77, .2); border-color: #ff9a6b; box-shadow: 0 8px 26px rgba(4, 14, 80, .35); }
body.trang_toi .lua_chon, body.trang_toi .phuong_an, body.trang_toi .nhiem_vu_o, body.trang_toi .the_vai_tro .ben_trong { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .24); }
body.trang_toi .lua_chon:hover, body.trang_toi .phuong_an:hover { background: rgba(255, 255, 255, .15); border-color: #fff; }
body.trang_toi .lua_chon.da_chon, body.trang_toi .phuong_an.da_chon { background: rgba(252, 115, 77, .22); border-color: #ff9a6b; }
body.trang_toi .the_vai_tro input:checked + .ben_trong { background: rgba(252, 115, 77, .22); }
body.trang_toi .bao_cao_ai { background: rgba(8, 28, 122, .85); border-color: rgba(255, 255, 255, .25); }
body.trang_toi .dau_khong_gian { background: linear-gradient(90deg, #0a2290, #1a43d4 70%, #3d70f6); }
body.trang_toi .hoan_thanh_hop { background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(8, 28, 122, .6) 60%); }
body.trang_toi .dai_trang_tri { background: linear-gradient(120deg, rgba(255, 255, 255, .16), rgba(252, 115, 77, .2)); }
body.trang_toi .cta_toi { background: linear-gradient(120deg, #0a2290, #1a43d4 70%); }
body.trang_toi .hub_dau { background: linear-gradient(120deg, #0a2290, #2a56e8 60%, rgba(252, 115, 77, .9)); }
body.trang_toi .nhan_dem, body.trang_toi .nhan { background: rgba(255, 255, 255, .16); color: #fff; }
body.trang_toi .trang_thai_chua { background: rgba(255, 255, 255, .16); color: #e3ecff; }
body.trang_toi .thong_bao_thanh_cong { background: rgba(43, 181, 160, .28); color: #d6fff6; }

/* Hero tran xuong: cam -> xanh ria, khong ngat ngang */
.hero_toi { padding-bottom: 170px; overflow: visible;
  background:
    radial-gradient(900px 440px at 50% 84%, rgba(255, 106, 61, .92), rgba(255, 106, 61, 0) 70%),
    radial-gradient(640px 300px at 50% 78%, rgba(255, 196, 150, .7), rgba(255, 196, 150, 0) 70%),
    radial-gradient(1300px 760px at 50% 42%, #2c63f0 0%, #1b44d8 34%, rgba(26, 67, 212, 0) 72%),
    linear-gradient(180deg, #040a22 0%, #081a66 22%, #1a46de 50%, #4a79f4 64%, #f08a60 79%, #a46aa6 90%, #1a43d4 100%); }
.hero_toi::before { bottom: 0; }

/* Quan ly tai khoan: form ngang */
.hang_form { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr auto; gap: 14px; align-items: end; }
.hang_form .truong { margin: 0; }
.hang_form .nut { height: 46px; }
@media (max-width: 1100px) { .hang_form { grid-template-columns: 1fr 1fr; } .hang_form .nut { grid-column: 1 / -1; } }

/* Giai doan 4 – chuan bi & cuoc goi */
.cuoc_goi { grid-template-columns: 290px 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .cuoc_goi { grid-template-columns: 1fr; } }
.nhan_vat_ai { padding: 22px 18px 20px; position: sticky; top: 90px; background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .07)); border-color: rgba(255, 255, 255, .3); }
@media (max-width: 900px) { .nhan_vat_ai { position: static; } }
.nhan_vat_ai img { width: 100%; max-width: 230px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.nhan_vat_ai .ten_nv { font-size: 1.2rem; margin-top: 12px; }
.nhan_vat_ai .nut_loa { margin-top: 4px; }
.chip_cho { background: rgba(255, 154, 60, .25); color: #ffe0c2; } .chip_cho::before { background: #ffb15c; }
.de_xuat_nho { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: rgba(8, 28, 122, .5); border: 1px solid rgba(255, 255, 255, .22); text-align: left; font-size: .86rem; }
.de_xuat_nho small { display: block; color: #ffd2a8; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .68rem; margin-bottom: 3px; }
.khung_chuan_bi { padding: 28px 30px; }
.luoi_chuan_bi { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
@media (max-width: 760px) { .luoi_chuan_bi { grid-template-columns: 1fr; } }
.khoi_nho { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; padding: 16px 18px; }
.khoi_nho h4 { margin: 0 0 8px; color: #ffd2a8; font-size: .95rem; }
.khoi_nho .van_ban p { margin-bottom: 8px; }
.khoi_cam { background: rgba(252, 115, 77, .18); border-color: rgba(255, 170, 130, .55); }
.meo_goi { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.meo_goi li { position: relative; padding-left: 28px; color: #e3ecff; font-size: .92rem; }
.meo_goi li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #FC734D; color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
.hop_hoi_thoai { padding: 0; overflow: hidden; min-height: 540px; background: rgba(8, 28, 122, .6); border-color: rgba(255, 255, 255, .25); border-radius: 22px; }
.dau_hoi_thoai { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; background: rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .2); flex-wrap: wrap; }
.tien_do_luot { display: grid; gap: 6px; justify-items: end; }
.thanh_luot { width: 170px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .22); overflow: hidden; }
#thanh_luot { height: 100%; width: 0; background: linear-gradient(90deg, #7df5d6, #ffb08c); transition: width .4s; }
.dong_tin_nhan { flex: 1; padding: 22px; min-height: 320px; max-height: 440px; gap: 16px; }
.hang_tin { display: flex; gap: 10px; align-items: flex-end; max-width: 90%; }
.hang_tin.ai { align-self: flex-start; } .hang_tin.toi { align-self: flex-end; }
.avatar_tin { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .7); flex: none; }
.hang_tin .tin_nhan { max-width: none; align-self: auto; }
body.trang_toi .tin_nhan.ai { background: rgba(255, 255, 255, .17); border-color: rgba(255, 255, 255, .28); }
#khu_nhap { padding: 16px 20px 20px; border-top: 1px solid rgba(255, 255, 255, .2); background: rgba(4, 16, 90, .35); }
#khu_nhap .o_tra_loi { margin-top: 0; }
#khu_nhap textarea { min-height: 84px; }
.hang_nut_goi { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
#khu_tiep_tuc { padding: 18px 22px; border-top: 1px solid rgba(255, 255, 255, .2); background: rgba(4, 16, 90, .35); }
.hero_toi { background:
    radial-gradient(900px 440px at 50% 84%, rgba(255, 106, 61, .92), rgba(255, 106, 61, 0) 70%),
    radial-gradient(640px 300px at 50% 78%, rgba(255, 196, 150, .7), rgba(255, 196, 150, 0) 70%),
    radial-gradient(1300px 760px at 50% 42%, #2c63f0 0%, #1b44d8 34%, rgba(26, 67, 212, 0) 72%),
    linear-gradient(180deg, #040a22 0%, #081a66 22%, #1a46de 50%, #4a79f4 64%, #f08a60 78%, #a46aa6 88%, rgba(26, 67, 212, 0) 100%); }
