/* =====================================================================
   BIZSIM – Theme "navy + khung trang" (theo mau giao dien My Simulations)
   Nap SAU giao_dien.css. Quy uoc mau:
     nen trang  : navy  #071634 / #0a1a42      nut chinh : xanh #1f5bff
     khung noi dung : trang #fff, chu #14214a
     KHUNG THONG BAO (cua he thong)   : xanh nhat #eef4ff (vien trai xanh)  | luu y: vang nhat #fff6df
     KHUNG TRA LOI (nguoi dung nhap)  : o nhap nen #f4f8ff, vien xanh 2px   | tin nhan nguoi dung: xanh dac
   ===================================================================== */
body.trang_toi {
  --chu: #14214a; --chu_phu: #5b6a93; --vien: #dbe5f7; --the: #fff; --the2: #eaf1ff;
  --xanh: #1f5bff; --xanh_dam: #1647cc; --cam: #1f5bff;
  background: radial-gradient(1100px 520px at 85% -8%, rgba(31, 91, 255, .30), rgba(31, 91, 255, 0) 62%), #071634;
  color: #eaf0ff;
}
body.trang_toi h1, body.trang_toi h2, body.trang_toi h3, body.trang_toi h4 { color: #fff; }
body.trang_toi .chu_phu { color: #b9c8ee; }
body.trang_toi a { color: #8fb2ff; }
body.trang_toi .tieu_de_muc { color: #8fb2ff; }
body.trang_toi .tieu_de_muc::after { background: linear-gradient(90deg, #1f5bff, transparent); }

/* ---------- Thanh dieu huong + logo ---------- */
body.trang_toi .thanh_dieu_huong, .thanh_dieu_huong { background: #0a1a42; backdrop-filter: none; border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 4px 18px rgba(0, 0, 0, .25); }
.logo_bizsim.logo_anh, .logo_bizsim.logo_goc { background: #fff; border-radius: 12px; padding: 5px 14px; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.logo_bizsim img.logo_hinh { height: 38px; width: auto; display: block; }
.logo_goc img.logo_hinh { height: 44px; }
body.trang_toi .menu_chinh a { color: #cfe0ff; }
body.trang_toi .menu_chinh a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
body.trang_toi .menu_chinh a.dang_chon { background: #1f5bff; color: #fff; box-shadow: 0 6px 16px rgba(31, 91, 255, .5); }
body.trang_toi .menu_chinh a.dang_chon::before { display: none; }
.thanh_dieu_huong .chuyen_ngon_ngu { background: rgba(255, 255, 255, .1); }
.thanh_dieu_huong .chuyen_ngon_ngu a.dang_chon { background: #1f5bff; box-shadow: none; }

/* ---------- Nut ---------- */
body.trang_toi .nut, body.trang_toi button.nut { background: #eaf1ff; color: #1647cc; border: 1px solid #cddbf6; box-shadow: none; backdrop-filter: none; }
body.trang_toi .nut:hover { background: #dce8ff; border-color: #a9c2f3; color: #0f3aa8; }
body.trang_toi .nut_chinh, body.trang_toi .nut_cam, body.trang_toi a.nut_chinh, body.trang_toi a.nut_cam {
  background: linear-gradient(180deg, #3b78ff, #1f5bff); color: #fff; border-color: #1f5bff; box-shadow: 0 6px 16px rgba(31, 91, 255, .35); }
body.trang_toi .nut_chinh:hover, body.trang_toi .nut_cam:hover { background: linear-gradient(180deg, #4d85ff, #2a66ff); color: #fff; box-shadow: 0 10px 22px rgba(31, 91, 255, .5); }
body.trang_toi .nut_vien, body.trang_toi a.nut_vien { background: #fff; color: #1647cc; border: 1.5px solid #bcd0f5; }
body.trang_toi .nut_vien:hover { background: #f1f6ff; border-color: #1f5bff; color: #1647cc; }
body.trang_toi .nut_trang { background: #fff; color: #1647cc; border-color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
body.trang_toi .nut_nguy_hiem, body.trang_toi a.nut_nguy_hiem { background: #fff0f0; color: #c0282d; border-color: #f3b8ba; box-shadow: none; }
body.trang_toi .nut_nguy_hiem:hover { background: #d93a40; border-color: #d93a40; color: #fff; box-shadow: 0 8px 20px rgba(217, 58, 64, .45); }
body.trang_toi .nut_xanh_la { background: #12b886; color: #fff; border-color: #12b886; }
body.trang_toi .nut_ve_admin { background: #ff8a3d; border-color: #ff8a3d; color: #fff; box-shadow: none; }
/* nut tren nen toi */
body.trang_toi .hero_toi .nut_vien, body.trang_toi .dau_khong_gian .nut_vien, body.trang_toi .cta_toi .nut_vien, body.trang_toi .hub_dau .nut_vien { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
body.trang_toi .thanh_dieu_huong .nut_vien { background: #fff; color: #0a1a42; border: 0; }
body.trang_toi .cta_toi .nut_cam { background: #fff; color: #1647cc; border-color: #fff; }
.nut_mic, body.trang_toi .nut_mic { background: linear-gradient(180deg, #3b78ff, #1f5bff); box-shadow: 0 6px 16px rgba(31, 91, 255, .4); }
body.trang_toi .mui_ten { background: rgba(10, 29, 69, .75); border-color: rgba(255, 255, 255, .45); }
body.trang_toi .mui_ten:hover { background: #1f5bff; border-color: #1f5bff; }
body.trang_toi .nut_loa { background: #f3f7ff; border-color: #cddbf6; color: #1647cc; }

/* ---------- Khung trang (the) ---------- */
body.trang_toi .the, body.trang_toi .the_sang { background: #fff; color: #14214a; border: 1px solid #dbe5f7; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
body.trang_toi .the h1, body.trang_toi .the h2, body.trang_toi .the h3, body.trang_toi .the h4,
body.trang_toi .the_sang h1, body.trang_toi .the_sang h2, body.trang_toi .the_sang h3, body.trang_toi .the_sang h4 { color: #14214a; }
body.trang_toi .the .chu_phu, body.trang_toi .the_sang .chu_phu { color: #5b6a93; }
body.trang_toi .the a:not(.nut), body.trang_toi .the_sang a:not(.nut) { color: #1f5bff; }
body.trang_toi .the .tieu_de_muc { color: #1f5bff; }
body.trang_toi .the_anh .noi_dung h3 { color: #14214a; }
body.trang_toi .the_thong_ke .so { color: #14214a; }
body.trang_toi .the_thong_ke .nhan_so { color: #5b6a93; }
body.trang_toi .nhan, body.trang_toi .nhan_dem { background: #e8f0ff; color: #1647cc; border: 0; }
body.trang_toi .trang_thai_dang_lam { background: #e0ecff; color: #1b4bd6; }
body.trang_toi .trang_thai_hoan_thanh { background: #d5f6e7; color: #0d7d52; }
body.trang_toi .trang_thai_chua { background: #eef1f7; color: #5b6a93; }
body.trang_toi .thanh_tien_do_sang { background: #e3ebfa; }
body.trang_toi .thanh_tien_do_sang > div { background: #1f5bff; }

/* o nhap */
body.trang_toi input[type=text], body.trang_toi input[type=password], body.trang_toi input[type=number], body.trang_toi select, body.trang_toi textarea {
  background: #fff; color: #14214a; border: 1.5px solid #c9d6f0; border-radius: 12px; }
body.trang_toi input:hover, body.trang_toi select:hover, body.trang_toi textarea:hover { background: #fff; border-color: #a9bde8; }
body.trang_toi input:focus, body.trang_toi select:focus, body.trang_toi textarea:focus { background: #fff; border-color: #1f5bff; box-shadow: 0 0 0 4px rgba(31, 91, 255, .18); }
body.trang_toi select option { background: #fff; color: #14214a; }
body.trang_toi ::placeholder { color: #8a99bd; }
body.trang_toi input[type=file] { color: #5b6a93; }
body.trang_toi input[type=file]::file-selector-button { background: #eaf1ff; border: 1px solid #cddbf6; color: #1647cc; }
body.trang_toi input[type=checkbox], body.trang_toi input[type=radio] { accent-color: #1f5bff; }
body.trang_toi .goi_y { color: #6a7aa3; }
body.trang_toi .truong > label { color: inherit; }

/* bang */
body.trang_toi .bang th { background: #f1f5fd; color: #5b6a93; }
body.trang_toi .bang td { color: #14214a; }
body.trang_toi .bang th, body.trang_toi .bang td { border-bottom-color: #e6edf9; }
body.trang_toi .bang tr:hover td { background: #f6f9ff; }
body.trang_toi .bang td .nhan { margin-right: 4px; }

/* van ban tai lieu */
body.trang_toi .van_ban h4 { color: #1f5bff; }
body.trang_toi .van_ban table { border-color: #dbe5f7; }
body.trang_toi .van_ban th { background: #e8f0ff; color: #1647cc; }
body.trang_toi .van_ban td { border-top-color: #e6edf9; color: #14214a; }
body.trang_toi .van_ban tr td:first-child { background: #f7faff; color: #14214a; }

/* ---------- KHUNG THONG BAO (he thong) vs KHUNG TRA LOI (nguoi dung) ---------- */
body.trang_toi .bang_thong_bao { background: #eef4ff; color: #14214a; border: 1px solid #cfe0ff; border-left: 6px solid #1f5bff; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); }
body.trang_toi .bang_thong_bao h2, body.trang_toi .bang_thong_bao h4 { color: #14214a; }
body.trang_toi .bang_thong_bao .nhan_tren { color: #1f5bff; }
body.trang_toi .bang_thong_bao .chu_phu { color: #5b6a93; }
body.trang_toi .nhac_lai { background: #fff6df; border: 1px solid #f2c75c; border-left: 5px solid #f0a800; color: #5c4100; }
body.trang_toi .nhac_lai h4 { color: #9a6200; }
body.trang_toi .nhac_lai .chu_phu { color: #7a5a14; }
body.trang_toi .thong_bao { border-radius: 12px; border-left-width: 5px; font-weight: 600; }
body.trang_toi .thong_bao_thanh_cong { background: #e3f8ef; border: 1px solid #a8e6cb; border-left: 5px solid #12b886; color: #0d6b47; }
body.trang_toi .thong_bao_loi { background: #ffecec; border: 1px solid #f6bcbc; border-left: 5px solid #e5484d; color: #a8232a; }
/* khung tra loi */
body.trang_toi .hop_cau_hoi > h4 { color: #14214a; }
body.trang_toi .hop_cau_hoi textarea { background: #f4f8ff; border: 2px solid #9db8ee; min-height: 110px; }
body.trang_toi .hop_cau_hoi textarea:focus { background: #fff; border-color: #1f5bff; }
body.trang_toi .cau_tra_loi_xem { background: #f4f8ff; border: 1px solid #cddbf6; border-left: 4px solid #1f5bff; color: #14214a; }
body.trang_toi .dong_hoi_thoai { border-bottom-color: #e6edf9; color: #14214a; }
body.trang_toi .dong_hoi_thoai b.ai { color: #0d7d52; } body.trang_toi .dong_hoi_thoai b.nd { color: #1f5bff; }

/* ---------- Khong gian lam bai ---------- */
body.trang_toi .dau_khong_gian { background: linear-gradient(90deg, #0a1d45, #12307a); border-bottom: 1px solid rgba(255, 255, 255, .1); }
body.trang_toi .thanh_tien_do { background: rgba(255, 255, 255, .22); }
body.trang_toi .thanh_tien_do > div { background: linear-gradient(90deg, #4d85ff, #7fd1ff); }
body.trang_toi .muc_gd { background: #fff; border: 1px solid #dbe5f7; color: #14214a; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
body.trang_toi .muc_gd .chu_phu { color: #5b6a93; }
body.trang_toi .muc_gd .so { background: #e8f0ff; color: #1647cc; }
body.trang_toi .muc_gd.dang_lam { background: #eaf1ff; border-color: #1f5bff; box-shadow: 0 8px 22px rgba(31, 91, 255, .35); }
body.trang_toi .muc_gd.dang_lam .so { background: #1f5bff; color: #fff; }
body.trang_toi .muc_gd.hoan_thanh .so { background: #12b886; color: #fff; }
body.trang_toi .nhiem_vu_o { background: #fff; border: 1px solid #cfe0ff; color: #14214a; }
body.trang_toi .nhiem_vu_o b { color: #1f5bff; }
body.trang_toi .nhiem_vu_o:nth-child(2) b { color: #0d9d72; } body.trang_toi .nhiem_vu_o:nth-child(3) b { color: #c27800; } body.trang_toi .nhiem_vu_o:nth-child(4) b { color: #6a4fe0; }
body.trang_toi .nguoi_gui img { border-color: #1f5bff; }
body.trang_toi .the_vai_tro .ben_trong { background: #fff; border: 2px solid #dbe5f7; color: #14214a; box-shadow: none; }
body.trang_toi .the_vai_tro .ben_trong h4 { color: #14214a; } body.trang_toi .the_vai_tro .chu_phu { color: #5b6a93; }
body.trang_toi .the_vai_tro:hover .ben_trong { border-color: #8fb2ff; }
body.trang_toi .the_vai_tro input:checked + .ben_trong { background: #eaf1ff; border-color: #1f5bff; box-shadow: 0 0 0 4px rgba(31, 91, 255, .2); }
body.trang_toi .lua_chon, body.trang_toi .phuong_an { background: #fff; border: 1.5px solid #d3def5; color: #14214a; }
body.trang_toi .lua_chon:hover, body.trang_toi .phuong_an:hover { background: #f5f8ff; border-color: #8fb2ff; }
body.trang_toi .lua_chon.da_chon, body.trang_toi .phuong_an.da_chon { background: #eaf1ff; border-color: #1f5bff; }
body.trang_toi .lua_chon b, body.trang_toi .phuong_an h4 { color: #14214a; }
body.trang_toi .phuong_an h4 { color: #1647cc; }
body.trang_toi .chu_cai_dap_an { background: #e8f0ff; color: #1f5bff; }
body.trang_toi .dt_uu_diem { color: #0d7d52; } body.trang_toi .dt_rui_ro { color: #b36b00; } body.trang_toi .dt_dieu_kien { color: #1f5bff; }

/* Giai doan 4 */
body.trang_toi .nhan_vat_ai { background: #fff; border: 1px solid #dbe5f7; color: #14214a; }
body.trang_toi .nhan_vat_ai img { border-color: #dbe5f7; box-shadow: 0 8px 20px rgba(20, 33, 74, .18); }
body.trang_toi .nhan_vat_ai .chu_phu { color: #5b6a93; }
body.trang_toi .chip_goi { background: #d5f6e7; color: #0d7d52; }
body.trang_toi .chip_cho { background: #fff1d6; color: #9a6200; } body.trang_toi .chip_cho::before { background: #f0a800; }
body.trang_toi .de_xuat_nho { background: #f3f7ff; border: 1px solid #dbe5f7; color: #14214a; }
body.trang_toi .de_xuat_nho small { color: #1f5bff; }
body.trang_toi .khoi_nho { background: #f4f8ff; border: 1px solid #dbe5f7; color: #14214a; }
body.trang_toi .khoi_nho h4 { color: #1f5bff; }
body.trang_toi .khoi_cam { background: #fff6df; border-color: #f2c75c; }
body.trang_toi .khoi_cam h4 { color: #9a6200; }
body.trang_toi .meo_goi li { color: #14214a; } body.trang_toi .meo_goi li::before { background: #1f5bff; }
body.trang_toi .hop_hoi_thoai { background: #fff; border: 1px solid #dbe5f7; color: #14214a; }
body.trang_toi .dau_hoi_thoai { background: #f3f7ff; border-bottom: 1px solid #dbe5f7; color: #14214a; }
body.trang_toi .dau_hoi_thoai b { color: #14214a; }
body.trang_toi .thanh_luot { background: #dbe5f7; } body.trang_toi #thanh_luot { background: #1f5bff; }
body.trang_toi .dong_tin_nhan { background: #fff; }
body.trang_toi .tin_nhan.ai { background: #eef2fa; border: 1px solid #dbe5f7; color: #14214a; box-shadow: none; }
body.trang_toi .tin_nhan.toi { background: #1f5bff; color: #fff; }
body.trang_toi .avatar_tin { border-color: #dbe5f7; }
body.trang_toi #khu_nhap, body.trang_toi #khu_tiep_tuc { background: #f6f9ff; border-top: 1px solid #dbe5f7; }
body.trang_toi #khu_nhap textarea { background: #fff; border: 2px solid #9db8ee; }
body.trang_toi .trang_thai_mic { color: #5b6a93; }

/* Bao cao */
body.trang_toi .bao_cao_ai { background: #fff; border-color: #dbe5f7; color: #14214a; }
body.trang_toi .bao_cao_ai .dau { background: linear-gradient(120deg, #0a1d45, #1648d6); }
body.trang_toi .bao_cao_ai .dau h2 { color: #fff; } body.trang_toi .bao_cao_ai .dau .chu_phu { color: #cfe0ff; }
body.trang_toi .muc_bao_cao { border-bottom-color: #e6edf9; }
body.trang_toi .muc_bao_cao h4 { color: #14214a; }
body.trang_toi .muc_bao_cao .so_muc { background: #1f5bff; color: #fff; }
body.trang_toi .muc_bao_cao.manh .so_muc { background: #12b886; } body.trang_toi .muc_bao_cao.yeu .so_muc { background: #f0a800; }
body.trang_toi .chan_bao_cao { background: #fff6df; color: #5c4100; }
body.trang_toi .chan_bao_cao .chu_phu { color: #7a5a14; }
body.trang_toi .hoan_thanh_hop { background: #fff; }
body.trang_toi .hoan_thanh_hop h1 { background: linear-gradient(90deg, #1f5bff, #12b886); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Tieu de trang / trung tam */
body.trang_toi .dai_trang_tri { background: linear-gradient(110deg, #0a1d45, #14327f); border: 1px solid rgba(255, 255, 255, .1); }
body.trang_toi .dai_trang_tri h1 { color: #fff; } body.trang_toi .dai_trang_tri .chu_phu { color: #cfe0ff; }
body.trang_toi .hub_dau { background: linear-gradient(110deg, #0a1d45, #14327f 70%, #1b4bd0); }
body.trang_toi .hub_dau .chu_phu { color: #cfe0ff; }

/* ---------- Quan tri ---------- */
body.trang_toi .thanh_ben { background: #0a1a42; border-right: 1px solid rgba(255, 255, 255, .08); }
body.trang_toi .thanh_ben a { color: #cfe0ff; } body.trang_toi .thanh_ben a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
body.trang_toi .thanh_ben a.dang_chon { background: #1f5bff; color: #fff; box-shadow: 0 6px 16px rgba(31, 91, 255, .45); }
body.trang_toi .thanh_ben .nhom { color: #8fa6d6; }
body.trang_toi .khoi_soan { background: #f6f9ff; border: 1px solid #dbe5f7; color: #14214a; box-shadow: none; }
body.trang_toi .khoi_soan > h4, body.trang_toi .khoi_soan > legend { color: #1f5bff; }
body.trang_toi .khoi_soan .chu_phu { color: #5b6a93; }
body.trang_toi .dai_tab { border-bottom-color: rgba(255, 255, 255, .18); }
body.trang_toi .dai_tab button { color: #b9c8ee; } body.trang_toi .dai_tab button:hover { color: #fff; }
body.trang_toi .dai_tab button.dang_chon { color: #fff; border-bottom-color: #1f5bff; }
body.trang_toi .thanh_nut_luu { background: #0a1a42; border-top: 1px solid rgba(255, 255, 255, .12); }
body.trang_toi .xem_truoc_anh { border-color: #dbe5f7; }

/* ---------- Trang chu: hero navy -> xanh, hoa vao nen ---------- */
body.trang_toi .hero_toi { background:
    radial-gradient(1000px 520px at 50% 66%, rgba(31, 91, 255, .85), rgba(31, 91, 255, 0) 72%),
    radial-gradient(1300px 700px at 50% 100%, rgba(20, 60, 200, .55), rgba(20, 60, 200, 0) 70%),
    linear-gradient(180deg, #050f2c 0%, #0a1d52 38%, #123fc4 70%, rgba(7, 22, 52, 0) 100%); }
body.trang_toi .hero_toi h1, body.trang_toi .hero_toi .so_muc_lon b { color: #fff; }
body.trang_toi .hero_toi h1 em { background: linear-gradient(90deg, #9ec1ff, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.trang_toi .hero_toi .mo_ta { color: #cfe0ff; }
body.trang_toi .nut_tron { color: #fff; box-shadow: 0 0 0 9px rgba(255, 255, 255, .07), 0 0 50px rgba(31, 91, 255, .9); }
body.trang_toi .nut_tron:hover { box-shadow: 0 0 0 13px rgba(255, 255, 255, .1), 0 0 70px rgba(77, 133, 255, 1); color: #fff; }
body.trang_toi .the_truot .nhan_tren::before { color: #8fb2ff; }
body.trang_toi .the_truot.giua .khung_anh { box-shadow: 0 -10px 46px rgba(31, 91, 255, .55), inset 0 0 0 5px rgba(255, 255, 255, .08); }
body.trang_toi .buoc_anh .so { background: #1f5bff; }
body.trang_toi .cta_toi { background: linear-gradient(120deg, #0a1d45, #1648d6); }
body.trang_toi .cta_toi h2, body.trang_toi .cta_toi p { color: #fff; }
body.trang_toi .chan_trang { color: #8fa6d6; }

/* cot ten tinh huong khong bi bop hep */
.bang td > .hang > div { min-width: 210px; }
.bang td:first-child { min-width: 240px; }

/* Hop danh gia cua admin (nguoi hoc xem) */
.nut_diem, body.trang_toi .nut_diem { background: #fff3cf; color: #8a5a00; border: 1px solid #f2c75c; font-weight: 800; }
body.trang_toi .nut_diem:hover { background: #ffe9a8; color: #6b4300; border-color: #e6b030; }
.hop_danh_gia { width: min(560px, 92vw); border: 0; border-radius: 22px; padding: 0; background: #fff; color: #14214a; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.hop_danh_gia::backdrop { background: rgba(5, 14, 40, .72); }
.hop_danh_gia .dau_dg { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 20px 24px; background: linear-gradient(110deg, #0a1d45, #1648d6); color: #fff; border-radius: 22px 22px 0 0; }
.hop_danh_gia .dau_dg small { letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: #bcd2ff; font-size: .7rem; }
.hop_danh_gia .dau_dg h3 { color: #fff; margin: 4px 0 0; font-size: 1.1rem; }
.hop_danh_gia .dau_dg .nut_vien { background: rgba(255, 255, 255, .15); color: #fff; border-color: rgba(255, 255, 255, .5); }
.hop_danh_gia > *:not(.dau_dg) { margin: 18px 24px; }
.hop_danh_gia h4 { color: #14214a; margin-bottom: 6px; }
.tong_diem { display: flex; align-items: center; gap: 16px; }
.vong_diem { width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(#1f5bff, #4d85ff); display: grid; place-content: center; text-align: center; color: #fff; box-shadow: 0 8px 22px rgba(31, 91, 255, .4); }
.vong_diem b { font-size: 2rem; line-height: 1; } .vong_diem span { font-size: .72rem; opacity: .85; }
.cac_diem { display: grid; gap: 10px; }
.dong_diem { display: grid; grid-template-columns: 1fr 140px 34px; gap: 12px; align-items: center; font-size: .9rem; }
.thanh_diem { height: 9px; border-radius: 99px; background: #e3ebfa; overflow: hidden; } .thanh_diem > div { height: 100%; background: linear-gradient(90deg, #1f5bff, #4d85ff); border-radius: 99px; }
.nhan_xet_dg { background: #f8faff; border: 1px solid #dbe5f7; border-left: 4px solid #1f5bff; border-radius: 12px; padding: 12px 16px; line-height: 1.6; }
.hop_danh_gia[open] { animation: hien_dg .25s ease; } @keyframes hien_dg { from { opacity: 0; transform: translateY(10px); } }
/* =====================================================================
   v3 – Dang nhap kieu kinh vat goc, hero "lua xanh", khung trang tinh khiet hon
   ===================================================================== */
/* ---------- Dang nhap ---------- */
.dn_trang { min-height: 100vh; display: grid; place-items: center; padding: 90px 16px 40px; position: relative; overflow: hidden;
  background: #02060f url('../anh/nen_lua.svg') center / cover no-repeat; color: #fff; }
.dn_trang .logo_goc { position: absolute; top: 24px; left: 32px; }
.dn_trang .chuyen_ngon_ngu { position: absolute; top: 28px; right: 32px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.dn_trang .chuyen_ngon_ngu a { color: #cfe0ff; } .dn_trang .chuyen_ngon_ngu a.dang_chon { background: #1f6bff; color: #fff; box-shadow: none; }
.dn_khung { position: relative; width: min(94vw, 440px); filter: drop-shadow(0 0 26px rgba(31, 107, 255, .45)) drop-shadow(0 30px 44px rgba(0, 0, 0, .55)); }
.dn_khung::before, .dn_khung::after { content: ""; position: absolute; width: 36px; height: 36px; z-index: 2; background: linear-gradient(135deg, #8cc4ff, #1f6bff 70%); }
.dn_khung::before { top: 0; left: 0; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.dn_khung::after { bottom: 0; right: 0; clip-path: polygon(0 100%, 100% 0, 0 0); background: linear-gradient(315deg, #8cc4ff, #1f6bff 70%); }
.dn_the { position: relative; padding: 46px 40px 32px; color: #fff;
  background: linear-gradient(160deg, rgba(20, 44, 92, .78), rgba(5, 14, 36, .86));
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  clip-path: polygon(36px 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) 100%, 0 100%, 0 36px);
  border: 0; box-shadow: inset 0 0 0 1px rgba(120, 175, 255, .4); }
.dn_the h2 { font-size: 2.1rem; font-weight: 800; margin: 0 0 6px; letter-spacing: .01em; color: transparent; background: linear-gradient(180deg, #e8f1ff, #7fb2ff); -webkit-background-clip: text; background-clip: text; }
.dn_phu { margin: 0 0 26px; font-size: .84rem; color: #8fa8d8; }
.dn_o { margin-bottom: 18px; }
.dn_o label { display: block; font-size: .82rem; font-weight: 700; color: #d6e6ff; margin-bottom: 7px; }
.dn_truong { position: relative; }
.dn_truong > svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: #8fb4f0; stroke-width: 1.8; pointer-events: none; }
.dn_truong input[type=text], .dn_truong input[type=password] { width: 100%; height: 50px; padding: 0 46px 0 46px; border-radius: 12px; background: rgba(2, 8, 24, .62); border: 1px solid rgba(110, 165, 255, .3); color: #fff; font-size: .98rem; outline: none; transition: .2s; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .35); }
.dn_truong input::placeholder { color: #6f88b8; }
.dn_truong input:focus { border-color: #5aa2ff; box-shadow: 0 0 0 3px rgba(60, 140, 255, .28), inset 0 2px 8px rgba(0, 0, 0, .35); }
.dn_truong input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 100px #07142f inset; }
.dn_mat { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; border-radius: 8px; }
.dn_mat svg { width: 19px; height: 19px; fill: none; stroke: #8fb4f0; stroke-width: 1.8; }
.dn_mat:hover svg { stroke: #fff; }
.dn_hang { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; margin: 4px 0 20px; color: #cfe0ff; }
.dn_hang label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.dn_hang input { width: 16px; height: 16px; accent-color: #3c8cff; }
.dn_hang a { color: #8fc0ff; }
.dn_ghi_chu { display: none; background: rgba(60, 140, 255, .14); border: 1px solid rgba(110, 165, 255, .35); border-radius: 10px; padding: 10px 14px; font-size: .82rem; margin: -8px 0 16px; }
.dn_nut { width: 100%; height: 50px; border: 0; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 800; font-size: 1rem; color: #fff; letter-spacing: .02em;
  background: linear-gradient(180deg, #55acff, #1f6bff); box-shadow: 0 10px 26px rgba(31, 107, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .45); transition: .2s; }
.dn_nut:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(31, 107, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.dn_chan { text-align: center; font-size: .78rem; color: #6f88b8; margin: 18px 0 0; }
.dn_loi { background: rgba(229, 72, 77, .2); border: 1px solid rgba(255, 140, 145, .6); color: #ffd3d5; padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; font-size: .86rem; font-weight: 600; }

/* ---------- Hero lua xanh (trang chu) ---------- */
.hero_lua { position: relative; overflow: hidden; text-align: center; min-height: calc(100vh - 120px); display: grid; align-items: center; padding: 70px 0 110px; color: #fff;
  background: #02060f url('../anh/nen_lua.svg') center / cover no-repeat; }
.hero_lua::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 420px at 50% 55%, rgba(2, 8, 24, .55), rgba(2, 8, 24, 0) 70%); }
.hero_noi_dung { position: relative; z-index: 2; }
.hero_lua h1 { font-family: "Inter", "Segoe UI", system-ui, sans-serif; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; font-size: clamp(2.6rem, 6.2vw, 5.2rem); color: #fff; max-width: 900px; margin: 0 auto 18px; }
.hero_lua h1 em { font-style: normal; background: linear-gradient(90deg, #8cc4ff, #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero_lua .mo_ta { color: #c4d4f5; max-width: 560px; margin: 0 auto 28px; font-size: 1.02rem; }
.hang_giua { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.nut_hero { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px; border-radius: 99px; font-weight: 700; font-size: .95rem; transition: .2s; white-space: nowrap; }
.nut_hero:hover { text-decoration: none; transform: translateY(-2px); }
body.trang_toi a.nut_hero_trang { background: #fff; color: #0a1a42; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); }
body.trang_toi a.nut_hero_trang:hover { background: #eaf2ff; color: #0a1a42; }
body.trang_toi a.nut_hero_vien { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
body.trang_toi a.nut_hero_vien:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.nhan_duoi { position: absolute; left: 50%; bottom: -78px; transform: translateX(-50%); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding: 11px 26px; border-radius: 99px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); font-size: .84rem; color: #d6e4ff; width: max-content; max-width: 94vw; }
.nhan_duoi b { color: #fff; font-weight: 800; }
.tia { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tia i { position: absolute; top: -40%; width: 1px; height: 42%; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(190, 220, 255, .9), rgba(255, 255, 255, 0)); animation: roi 5s linear infinite; opacity: .8; }
.tia i:nth-child(1) { left: 36%; animation-delay: 0s; } .tia i:nth-child(2) { left: 46%; animation-delay: 1.4s; animation-duration: 6s; }
.tia i:nth-child(3) { left: 56%; animation-delay: .7s; } .tia i:nth-child(4) { left: 65%; animation-delay: 2.6s; animation-duration: 5.5s; }
@keyframes roi { from { transform: translateY(0); } to { transform: translateY(330%); } }

/* ---------- Dai anh trang + vung trang ---------- */
.dai_anh { position: relative; z-index: 3; background: #fff; border-radius: 36px 36px 0 0; margin-top: -30px; padding: 120px 0 36px; }
.dai_anh .tieu_de_muc { color: #1f5bff; justify-content: center; } .dai_anh .tieu_de_muc::after { display: none; }
body.trang_toi .dai_anh .tieu_de_dai { color: #0a1a42; text-align: center; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; margin: 6px 0 0; }
.dai_anh .bang_truot_vung { margin-top: 26px; padding: 30px 0 0; }
body.trang_toi .dai_anh .the_truot .nhan_tren { color: #14214a; text-shadow: none; }
body.trang_toi .dai_anh .the_truot .nhan_tren::before { color: #1f5bff; }
body.trang_toi .dai_anh .khung_anh { border-color: #dbe5f7; box-shadow: 0 16px 40px rgba(20, 33, 74, .18); }
body.trang_toi .dai_anh .the_truot.giua .khung_anh { box-shadow: 0 20px 50px rgba(31, 91, 255, .35); border-color: #bcd0f5; }
.dai_anh .the_truot.trai, .dai_anh .the_truot.phai { filter: brightness(.9); }
body.trang_toi .dai_anh .mui_ten { top: 52%; background: #1f5bff; border-color: #1f5bff; color: #fff; box-shadow: 0 8px 20px rgba(31, 91, 255, .4); }
body.trang_toi .dai_anh .mui_ten:hover { background: #0f3fd0; }
.dai_anh .cham_truot { display: flex; margin-top: 26px; }
.dai_anh .cham_truot button { background: #cfdcf5; } .dai_anh .cham_truot button.dang_chon { background: #1f5bff; }
body.trang_toi .vung_trang { background: #fff; color: #14214a; padding: 10px 0 40px; }
body.trang_toi .vung_trang h1, body.trang_toi .vung_trang h2, body.trang_toi .vung_trang h3, body.trang_toi .vung_trang h4 { color: #0a1a42; }
body.trang_toi .vung_trang .chu_phu { color: #5b6a93; }
body.trang_toi .vung_trang .tieu_de_muc { color: #1f5bff; }
body.trang_toi .vung_trang a:not(.nut) { color: #1f5bff; }
body.trang_toi .vung_trang .the { border-color: #e3ebf9; box-shadow: 0 10px 30px rgba(20, 33, 74, .08); }
body.trang_toi .vung_trang .buoc_anh h4 { color: #fff; }
body.trang_toi .vung_trang .cta_toi h2 { color: #fff; }
body.trang_toi .vung_trang .nut_vien { background: #fff; color: #1647cc; border-color: #bcd0f5; }
body.trang_toi .vung_trang .cta_toi .nut_vien, body.trang_toi .vung_trang .cta_toi .nut_trang { color: #1647cc; }

/* ---------- Mau trang tinh khiet hon (it ngà xanh) ---------- */
body.trang_toi .khoi_nho, body.trang_toi .de_xuat_nho, body.trang_toi .khoi_soan { background: #fbfcff; border-color: #e6edf9; }
body.trang_toi .cau_tra_loi_xem { background: #fafcff; border-color: #e1e9f8; border-left-color: #1f5bff; }
body.trang_toi .dau_hoi_thoai { background: #fafcff; border-bottom-color: #e6edf9; }
body.trang_toi #khu_nhap, body.trang_toi #khu_tiep_tuc { background: #fbfcff; border-top-color: #e6edf9; }
body.trang_toi .bang th { background: #f8faff; }
body.trang_toi .van_ban tr td:first-child { background: #fbfcff; }
body.trang_toi .van_ban th { background: #f0f5ff; }
body.trang_toi .tin_nhan.ai { background: #f6f8fd; border-color: #e6edf9; }
body.trang_toi .hop_cau_hoi textarea { background: #fbfcff; border-color: #a9c0ee; }
body.trang_toi .bang_thong_bao { background: #f6f9ff; border-color: #dbe7ff; }
body.trang_toi .nhiem_vu_o { border-color: #e1e9f8; }
body.trang_toi .the, body.trang_toi .the_sang { border-color: #eef2fb; }
body.trang_toi .nhan_dem { background: #f0f5ff; }
/* =====================================================================
   v4 – Vung duoi trang chu: xanh bac, khung trong suot chu trang; nen lua cho cac trang con lai
   ===================================================================== */
.cham_truot { display: flex !important; margin-top: 22px; }
body.trang_toi .dai_anh { background: linear-gradient(180deg, #0a1a45 0%, #122a70 100%); }
body.trang_toi .dai_anh .tieu_de_muc { color: #bcd4ff; }
body.trang_toi .dai_anh .tieu_de_dai { color: #fff; }
body.trang_toi .dai_anh .the_truot .nhan_tren { color: #e6efff; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
body.trang_toi .dai_anh .the_truot .nhan_tren::before { color: #bcd4ff; }
body.trang_toi .dai_anh .khung_anh { border-color: rgba(255, 255, 255, .35); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
body.trang_toi .dai_anh .the_truot.giua .khung_anh { box-shadow: 0 20px 56px rgba(120, 170, 255, .5); border-color: rgba(255, 255, 255, .6); }
.dai_anh .cham_truot button { background: rgba(255, 255, 255, .3); } .dai_anh .cham_truot button.dang_chon { background: #fff; }

body.trang_toi .vung_trang { color: #fff; padding: 10px 0 56px;
  background:
    radial-gradient(900px 420px at 88% 18%, rgba(205, 222, 255, .32), rgba(205, 222, 255, 0) 70%),
    radial-gradient(800px 380px at 8% 62%, rgba(170, 200, 255, .26), rgba(170, 200, 255, 0) 70%),
    linear-gradient(180deg, #122a70 0%, #1f47ad 30%, #2d58c6 55%, #1a3a96 80%, #0e2260 100%); }
body.trang_toi .vung_trang h1, body.trang_toi .vung_trang h2, body.trang_toi .vung_trang h3, body.trang_toi .vung_trang h4 { color: #fff; }
body.trang_toi .vung_trang .chu_phu, body.trang_toi .vung_trang p { color: #d6e4ff; }
body.trang_toi .vung_trang .tieu_de_muc { color: #cfe0ff; }
body.trang_toi .vung_trang a:not(.nut) { color: #e3ecff; }
/* khung trong suot, chu trang */
body.trang_toi .vung_trang .the { background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 10px 30px rgba(3, 12, 50, .25); color: #fff; }
body.trang_toi .vung_trang .the h3, body.trang_toi .vung_trang .the h4, body.trang_toi .vung_trang .the b { color: #fff; }
body.trang_toi .vung_trang .the .chu_phu { color: #cfdcf7; }
body.trang_toi .vung_trang .the .nhan_so, body.trang_toi .vung_trang .the_thong_ke .nhan_so { color: #d6e4ff; }
body.trang_toi .vung_trang .the_thong_ke .so { color: #fff; }
body.trang_toi .vung_trang .the .bang td { color: #fff; border-bottom-color: rgba(255, 255, 255, .2); }
body.trang_toi .vung_trang .the .bang th { background: rgba(255, 255, 255, .12); color: #e3ecff; }
body.trang_toi .vung_trang .the .bang tr:hover td { background: rgba(255, 255, 255, .07); }
body.trang_toi .vung_trang .nhan, body.trang_toi .vung_trang .nhan_dem { background: rgba(255, 255, 255, .18); color: #fff; }
body.trang_toi .vung_trang .trang_thai_dang_lam { background: rgba(120, 170, 255, .35); color: #fff; }
body.trang_toi .vung_trang .trang_thai_hoan_thanh { background: rgba(60, 214, 160, .3); color: #d9fff1; }
body.trang_toi .vung_trang .thanh_tien_do_sang { background: rgba(255, 255, 255, .22); }
body.trang_toi .vung_trang .thanh_tien_do_sang > div { background: #fff; }
body.trang_toi .vung_trang .nut:not(.nut_chinh):not(.nut_cam):not(.nut_trang):not(.nut_nguy_hiem) { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .4); }
body.trang_toi .vung_trang .nut:not(.nut_chinh):not(.nut_cam):not(.nut_trang):hover { background: rgba(255, 255, 255, .26); }
body.trang_toi .vung_trang .nut_chinh, body.trang_toi .vung_trang .nut_cam { background: #fff; color: #0f3aa8; border-color: #fff; box-shadow: 0 8px 20px rgba(3, 12, 50, .3); }
body.trang_toi .vung_trang .nut_chinh:hover, body.trang_toi .vung_trang .nut_cam:hover { background: #eaf2ff; color: #0f3aa8; }
body.trang_toi .vung_trang .nut_nguy_hiem { background: rgba(229, 72, 77, .22); color: #ffd3d5; border-color: rgba(255, 140, 145, .6); }
body.trang_toi .vung_trang .cta_toi { background: linear-gradient(120deg, rgba(10, 29, 69, .85), rgba(31, 91, 255, .85)); border-color: rgba(255, 255, 255, .25); }
body.trang_toi .vung_trang .cta_toi .nut_vien, body.trang_toi .vung_trang .cta_toi .nut_trang { color: #1647cc; background: #fff; }

/* ---------- Nen lua xanh cho cac trang con lai ---------- */
body.trang_toi::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: #02060f url('../anh/nen_lua.svg') center / cover no-repeat; }
body.trang_toi { background: #02060f; }
/* =====================================================================
   v5 – Trang chu lien mach mot nen (hero -> cac khung duoi), khung dong bo kieu hero, bo thanh ben
   ===================================================================== */
body.trang_toi .hero_lua { background: transparent; }
body.trang_toi .hero_lua::after { background: radial-gradient(900px 420px at 50% 55%, rgba(2, 8, 24, .5), rgba(2, 8, 24, 0) 70%); }
body.trang_toi .dai_anh { background: none; border-radius: 0; margin-top: 0; padding: 30px 0 10px; }
body.trang_toi .vung_trang { background: none; padding: 0 0 70px; }
body.trang_toi .dai_anh .tieu_de_muc::after, body.trang_toi .vung_trang .tieu_de_muc::after { display: none; }
body.trang_toi .vung_trang .tieu_de_muc, body.trang_toi .dai_anh .tieu_de_muc { justify-content: center; color: #9cc2ff; }
/* tieu de cac khung duoi: giong hero (chu giua, sans, dam) */
body.trang_toi .vung_trang h2, body.trang_toi .dai_anh .tieu_de_dai { font-family: "Inter", "Segoe UI", system-ui, sans-serif; font-weight: 600; letter-spacing: -.02em; text-align: center; font-size: clamp(1.7rem, 3.2vw, 2.6rem); color: #fff; margin: 6px 0 0; }
body.trang_toi .vung_trang h2.tieu_de_serif { font-family: "Inter", "Segoe UI", system-ui, sans-serif; font-weight: 600; font-size: clamp(1.7rem, 3.2vw, 2.6rem) !important; }
body.trang_toi .vung_trang > .khung > section > p.chu_phu, body.trang_toi .vung_trang > .khung > p { text-align: center; }
body.trang_toi .vung_trang .hang.hang_cach { justify-content: center; text-align: center; flex-direction: column; gap: 6px; }
body.trang_toi .vung_trang .hang.hang_cach h2 { margin: 0; }
body.trang_toi .vung_trang .hang.hang_cach > a { font-size: .9rem; }
/* khung kinh giong nhan duoi hero */
body.trang_toi .vung_trang .the, body.trang_toi .vung_trang .the_anh { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); box-shadow: 0 14px 40px rgba(0, 0, 0, .3); border-radius: 22px; }
body.trang_toi .vung_trang .the_thong_ke { text-align: center; }
body.trang_toi .vung_trang .luoi_buoc .buoc_anh { border-color: rgba(255, 255, 255, .25); }
body.trang_toi .vung_trang .cta_toi { background: linear-gradient(120deg, rgba(10, 29, 69, .6), rgba(31, 91, 255, .55)); backdrop-filter: blur(8px); }
/* nut kieu hero (vien thuoc) */
body.trang_toi .vung_trang .nut, body.trang_toi .vung_trang a.nut { border-radius: 99px; min-height: 44px; padding: 0 26px; }
body.trang_toi .vung_trang .nut_nho { min-height: 34px; padding: 0 16px; }
body.trang_toi .vung_trang .nut:not(.nut_chinh):not(.nut_cam):not(.nut_trang):not(.nut_nguy_hiem) { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .5); color: #fff; }
body.trang_toi a.nut_hero_vien { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .14); }

/* ---------- Bo thanh ben: noi dung quan tri gon trong khung giua ---------- */
.noi_dung_quan_tri { padding-top: 34px; padding-bottom: 70px; max-width: 1280px; }
.bo_cuc_quan_tri, .thanh_ben { display: none; }
.thanh_dieu_huong .menu_chinh { gap: 2px; }
.thanh_dieu_huong .menu_chinh a { padding: 9px 13px; font-size: .92rem; }
/* Duong sang manh: xeo tu ben phai xuong ben trai, 8 duong, day hon */
.tia { overflow: hidden; }
.tia i { top: -45%; left: auto; width: 2px; height: 46%; transform: rotate(35deg); transform-origin: top center; opacity: .9;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(200, 225, 255, .95), rgba(255, 255, 255, 0));
  box-shadow: 0 0 8px rgba(150, 195, 255, .55); animation: roi_xeo 6s linear infinite; }
.tia i:nth-child(1) { left: 98%; animation-delay: 0s; }
.tia i:nth-child(2) { left: 88%; animation-delay: 1.1s; animation-duration: 7s; }
.tia i:nth-child(3) { left: 78%; animation-delay: 2.3s; animation-duration: 5.5s; }
.tia i:nth-child(4) { left: 68%; animation-delay: .6s; animation-duration: 6.5s; }
.tia i:nth-child(5) { left: 108%; animation-delay: 3.1s; animation-duration: 6s; }
.tia i:nth-child(6) { left: 58%; animation-delay: 1.8s; animation-duration: 7.5s; }
.tia i:nth-child(7) { left: 118%; animation-delay: 4s; animation-duration: 5.8s; }
.tia i:nth-child(8) { left: 48%; animation-delay: 2.9s; animation-duration: 6.8s; }
@keyframes roi_xeo { from { transform: translate(0, 0) rotate(35deg); } to { transform: translate(-85vh, 120vh) rotate(35deg); } }
.dai_anh { overflow: hidden; }
html, body { overflow-x: clip; }

/* duong sang tren trang dang nhap: nam duoi the, tren nen */
.dn_trang .tia { z-index: 0; }
.dn_trang .logo_goc, .dn_trang .chuyen_ngon_ngu, .dn_trang .dn_khung { z-index: 2; }

/* ---------- Thanh dieu huong: mot hang gon, logo trai - menu giua - tai khoan phai ---------- */
.thanh_dieu_huong .ben_trong { max-width: 1600px; flex-wrap: nowrap; gap: 16px; padding: 10px 28px; }
.thanh_dieu_huong .logo_bizsim { flex: none; }
.thanh_dieu_huong .menu_chinh { flex: 1 1 auto; justify-content: center; flex-wrap: nowrap; white-space: nowrap; gap: 4px; min-width: 0; }
.thanh_dieu_huong .menu_chinh a { padding: 9px 14px; font-size: .92rem; white-space: nowrap; }
.thanh_dieu_huong .chuyen_ngon_ngu, .thanh_dieu_huong .nut_nho, .thanh_dieu_huong .nhan_quyen { flex: none; }
.thanh_dieu_huong .vung_tai_khoan { flex: none; margin-left: 0; gap: 10px; }
.thanh_dieu_huong .nut_xem_nd { background: transparent; border: 1px solid rgba(255, 255, 255, .4); color: #fff; }
body.trang_toi .thanh_dieu_huong .nut_xem_nd { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .4); }
body.trang_toi .thanh_dieu_huong .nut_xem_nd:hover { background: rgba(255, 255, 255, .14); }
@media (max-width: 1360px) { .thanh_dieu_huong .vung_tai_khoan .ten { display: none; } }
@media (max-width: 1180px) { .thanh_dieu_huong .ben_trong { flex-wrap: wrap; } .thanh_dieu_huong .menu_chinh { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; } }
/* logo trong suot (khong con khung trang) */
.logo_bizsim.logo_anh, .logo_bizsim.logo_goc { background: none; box-shadow: none; padding: 0; border-radius: 0; }
.logo_bizsim img.logo_hinh { height: 46px; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35)); }
.logo_goc img.logo_hinh { height: 56px; }

/* Thanh nut Luu / Ve danh sach: bo khung xanh, khong dinh man hinh */
body.trang_toi .thanh_nut_luu, .thanh_nut_luu { position: static; background: none; border: 0; box-shadow: none; backdrop-filter: none; padding: 24px 0 8px; margin-top: 10px; }
/* Menu khong tran len logo / nut ben phai */
.thanh_dieu_huong .menu_chinh { justify-content: flex-start; overflow: hidden; }
.thanh_dieu_huong .menu_chinh a { padding: 9px 11px; font-size: .88rem; }
.thanh_dieu_huong .ben_trong { gap: 12px; padding: 10px 20px; }
.thanh_dieu_huong .vung_tai_khoan .ten { display: none; }
@media (min-width: 1700px) { .thanh_dieu_huong .vung_tai_khoan .ten { display: inline; } .thanh_dieu_huong .menu_chinh a { padding: 9px 14px; font-size: .92rem; } }
@media (max-width: 1500px) { .thanh_dieu_huong .ben_trong { flex-wrap: wrap; } .thanh_dieu_huong .menu_chinh { order: 3; flex-basis: 100%; overflow-x: auto; } }
/* Menu tren: cac muc dan deu toan thanh */
.thanh_dieu_huong .menu_chinh { flex: 1 1 auto; justify-content: space-evenly; overflow: visible; }
@media (max-width: 1500px) { .thanh_dieu_huong .menu_chinh { overflow-x: auto; justify-content: space-evenly; } }

/* ================= DIEN THOAI (<= 768px) ================= */
@media (max-width: 768px) {
  html { -webkit-text-size-adjust: 100%; }
  body { font-size: 15px; }
  main, .khung { padding-left: 16px !important; padding-right: 16px !important; }

  /* Thanh tren gon: khong dinh (sticky) de khong an man hinh */
  .thanh_dieu_huong { position: static; }
  .thanh_dieu_huong .ben_trong { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 14px; }
  .thanh_dieu_huong .logo_hinh { height: 34px; width: auto; }
  .thanh_dieu_huong .logo_bizsim { order: 1; margin-right: auto; }
  .thanh_dieu_huong .chuyen_ngon_ngu { order: 2; }
  .thanh_dieu_huong .vung_tai_khoan { order: 3; gap: 6px; }
  .thanh_dieu_huong .vung_tai_khoan .nhan_quyen, .thanh_dieu_huong .vung_tai_khoan .ten { display: none; }
  .thanh_dieu_huong .nut_ve_admin, .thanh_dieu_huong .nut_xem_nd { order: 4; flex: 1 1 100%; justify-content: center; text-align: center; }
  .thanh_dieu_huong .menu_chinh { order: 5; flex: 1 1 100%; justify-content: flex-start; overflow-x: auto; overflow-y: hidden; gap: 4px; padding-bottom: 2px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .thanh_dieu_huong .menu_chinh::-webkit-scrollbar { display: none; }
  .thanh_dieu_huong .menu_chinh a { flex: none; padding: 9px 13px; font-size: .86rem; }

  /* Chu va khoang cach */
  h1 { font-size: 1.7rem !important; line-height: 1.2; }
  h2 { font-size: 1.35rem !important; }
  .tieu_de_serif { font-size: 1.6rem !important; }
  section[style*="margin-top:64px"], section[style*="margin-top: 64px"] { margin-top: 36px !important; }

  /* Luoi mot cot */
  .luoi, .luoi_2, .luoi_3, .luoi_4, .luoi_chuan_bi, .luoi_form, .hang_form, .luoi_so { grid-template-columns: 1fr !important; }
  .hang, .hang_cach { flex-wrap: wrap; gap: 10px; }
  .hang_nut { flex-wrap: wrap; }
  .hang_nut .nut { flex: 1 1 100%; }

  /* Nut de cham (>= 44px) */
  .nut, button.nut, a.nut { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .nut_nho { min-height: 38px; }
  input[type=text], input[type=password], input[type=number], input[type=email], select, textarea { font-size: 16px; }   /* tranh iOS tu phong to */

  /* The / bang */
  .the { padding: 16px; border-radius: 18px; }
  .the_anh .anh_bia { height: 170px; }
  .bang { min-width: 560px; }
  .the[style*="overflow-x:auto"], .khung_bang { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Hero / slider */
  .hero_toi { padding-top: 28px; min-height: 0; }
  .hero_toi h1 { font-size: 2.1rem !important; }
  .dai_anh { height: auto; }
  .bang_truot { height: 220px !important; }
  .nhan_vat_ai, .dieu_huong_gd { position: static !important; }
  .dieu_huong_gd { display: flex; flex-direction: row; overflow-x: auto; gap: 8px; }

  /* Ban lam bai */
  .khong_gian { grid-template-columns: 1fr !important; gap: 14px; }
  .cuoc_goi { grid-template-columns: 1fr !important; }
  .luoi_chuan_bi { grid-template-columns: 1fr !important; }
  .lua_chon { padding: 12px; }
  .bao_cao_ai { padding: 16px; }
  dialog { width: calc(100vw - 24px) !important; max-width: none !important; max-height: 88vh; overflow-y: auto; }
  .hop_danh_gia { padding: 16px; }

  /* Quan tri */
  .bo_cuc_quan_tri { grid-template-columns: 1fr !important; }
  .thanh_nut_luu .hang { flex-direction: column; align-items: stretch; }
  .noi_dung_quan_tri { padding-top: 12px; }
  .tab_soan, .thanh_tab { overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; }
}

@media (max-width: 400px) {
  .thanh_dieu_huong .logo_hinh { height: 30px; }
  .hero_toi h1 { font-size: 1.85rem !important; }
}
@media (max-width: 768px) {
  .thanh_dieu_huong .logo_bizsim img, .thanh_dieu_huong .logo_hinh { height: 30px !important; width: auto !important; max-width: none; }
  .thanh_dieu_huong .logo_bizsim { height: auto; min-width: 0; }
  .thanh_dieu_huong .vung_tai_khoan .nut { min-height: 34px; padding: 6px 12px; }
  .thanh_dieu_huong .nut_ve_admin, .thanh_dieu_huong .nut_xem_nd { min-height: 38px; }
  .thanh_dieu_huong .chuyen_ngon_ngu { transform: scale(.92); transform-origin: right center; }
}
@media (max-width: 768px) {
  .thanh_nut_luu, body.trang_toi .thanh_nut_luu { flex-direction: column; align-items: stretch; gap: 10px; }
  .thanh_nut_luu .nut { width: 100%; }
}

/* ===== vao trang sau khi dang nhap: man sang tan dan, noi dung hien len ===== */
.cho_vao { position: fixed; inset: 0; z-index: 99999; pointer-events: none;
  background: radial-gradient(circle at 50% 42%, #ffffff 0, #cfe6ff 16%, #5aa2ff 42%, #0a2a8a 78%, #04112e 100%); animation: cho_vao_tan 1.25s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes cho_vao_tan { 0%, 12% { opacity: 1; } 100% { opacity: 0; transform: scale(1.12); } }
.dang_vao .thanh_dieu_huong, .dang_vao main { animation: cho_vao_noi 1.1s cubic-bezier(.2, .8, .2, 1) .18s both; }
@keyframes cho_vao_noi { from { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* ===== huc sang trang khi vua dang nhap xong ===== */
.cho_vao { background: radial-gradient(circle at 50% 40%, #ffffff 0, #ffffff 55%, #eaf4ff 80%, #cfe6ff 100%); animation: cho_vao_tan 1.6s cubic-bezier(.3, 0, .2, 1) forwards; }
@keyframes cho_vao_tan { 0%, 18% { opacity: 1; } 100% { opacity: 0; transform: scale(1.06); } }
.dang_vao .thanh_dieu_huong, .dang_vao main { animation: cho_vao_noi 1.5s cubic-bezier(.2, .8, .2, 1) .1s both; }
@keyframes cho_vao_noi { 0% { opacity: .0; filter: brightness(3) blur(8px); transform: translateY(24px) scale(.985); } 45% { opacity: 1; filter: brightness(1.9) blur(2px); } 100% { opacity: 1; filter: none; transform: none; } }

/* ===== tia sang cheo tren tat ca cac trang ===== */
.tia_toan { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
body > main, body > .chan_trang { position: relative; z-index: 1; }
body:has(.hero_toi) .tia_toan { display: none; }
.thanh_dieu_huong { z-index: 40; }

/* ===== chuyen giai doan khi hoc ===== */
html.gd_chuyen body::after { content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background: linear-gradient(105deg, transparent 28%, rgba(130, 190, 255, .35) 44%, rgba(255, 255, 255, .85) 50%, rgba(130, 190, 255, .35) 56%, transparent 72%);
  transform: translateX(-125%); animation: gd_quet 1s cubic-bezier(.5, 0, .2, 1) forwards; }
@keyframes gd_quet { to { transform: translateX(125%); } }
html.gd_chuyen .dau_khong_gian { animation: gd_vao_tren .7s cubic-bezier(.2, .8, .2, 1) both; }
html.gd_chuyen .khong_gian > :not(.dieu_huong_gd) { animation: gd_vao .85s cubic-bezier(.2, .8, .2, 1) .12s both; }
html.gd_chuyen .dieu_huong_gd .dang_lam { animation: gd_xung 1.1s ease-out .2s both; }
@keyframes gd_vao_tren { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes gd_vao { from { opacity: 0; transform: translateY(34px) scale(.985); filter: blur(7px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes gd_xung { 0% { box-shadow: 0 0 0 0 rgba(120, 185, 255, .9); } 100% { box-shadow: 0 0 0 26px rgba(120, 185, 255, 0); } }

/* ===== PHAN BIET RO: KHUNG THONG TIN (chi doc) vs KHUNG TRA LOI / LUA CHON ===== */
/* Thong tin: xam-xanh nhat, vach xanh ben trai, nhan "INFORMATION" */
body.trang_toi .vung_chinh :is(.the, .bang_thong_bao):not(form):not(form *) { position: relative; background: #eef2f9; border: 1px solid #cdd8ec; border-left: 6px solid #5b76b3; box-shadow: none; padding-top: 44px; }
body.trang_toi .vung_chinh :is(.the, .bang_thong_bao):not(form):not(form *)::before { content: "ⓘ  INFORMATION"; position: absolute; top: 14px; left: 20px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: #3d558f; background: #dfe7f6; padding: 4px 10px; border-radius: 999px; }
body.trang_toi .vung_chinh :is(.the, .bang_thong_bao):not(form):not(form *) h3, body.trang_toi .vung_chinh :is(.the, .bang_thong_bao):not(form):not(form *) h4 { color: #1d2c57; }
body.trang_toi .vung_chinh :is(.the, .bang_thong_bao):not(form):not(form *) .khoi_nho { background: #f8faff; border: 1px solid #d5dff1; }

/* Tra loi / lua chon: xanh ngoc, nhan "YOUR ANSWER" */
body.trang_toi .vung_chinh :is(form.the, form.bang_thong_bao) { position: relative; background: #effaf6; border: 2px solid #7fd1b9; border-left: 6px solid #10a37f; box-shadow: 0 10px 26px rgba(16, 163, 127, .14); padding-top: 46px; }
body.trang_toi .vung_chinh :is(form.the, form.bang_thong_bao)::before { content: "✎  YOUR ANSWER"; position: absolute; top: 14px; left: 20px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: #0b5d49; background: #c9f0e3; padding: 4px 10px; border-radius: 999px; }
body.trang_toi .vung_chinh :is(form.the, form.bang_thong_bao) .hop_cau_hoi > h4 { color: #0b4a3a; }
body.trang_toi .vung_chinh :is(form.the, form.bang_thong_bao) textarea, body.trang_toi .vung_chinh :is(form.the, form.bang_thong_bao) input[type=text] { background: #fff; border: 2px solid #7fd1b9; color: #0b2a22; }
body.trang_toi .vung_chinh :is(form.the, form.bang_thong_bao) textarea:focus, body.trang_toi .vung_chinh :is(form.the, form.bang_thong_bao) input[type=text]:focus { border-color: #10a37f; box-shadow: 0 0 0 4px rgba(16, 163, 127, .25); background: #fff; }
body.trang_toi .vung_chinh :is(form.the, form.bang_thong_bao) .lua_chon { background: #fff; border: 2px solid #a5dfcd; }
body.trang_toi .vung_chinh :is(form.the, form.bang_thong_bao) .lua_chon:hover { border-color: #10a37f; background: #f8fffc; }
body.trang_toi .vung_chinh :is(form.the, form.bang_thong_bao) .lua_chon.da_chon, body.trang_toi .vung_chinh :is(form.the, form.bang_thong_bao) .lua_chon:has(input:checked) { background: #d7f5ea; border-color: #10a37f; box-shadow: 0 0 0 3px rgba(16, 163, 127, .22); }
body.trang_toi .vung_chinh :is(form.the, form.bang_thong_bao) .lua_chon input { accent-color: #0d8f6f; }
body.trang_toi .vung_chinh :is(form.the, form.bang_thong_bao) .the_vai_tro .ben_trong { background: #fff; border: 2px solid #a5dfcd; }
body.trang_toi .vung_chinh :is(form.the, form.bang_thong_bao) .the_vai_tro input:checked + .ben_trong { background: #d7f5ea; border-color: #10a37f; box-shadow: 0 0 0 4px rgba(16, 163, 127, .25); }
/* cau tra loi da nop (xem lai) */
body.trang_toi .vung_chinh .cau_tra_loi_xem { background: #e3f7ef; border: 1px solid #8ed5bd; border-left: 5px solid #10a37f; color: #0b2a22; }

/* How it works: 5 buoc xep 3 + 2 can giua, khong con o trong */
.luoi_5 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.luoi_5 > * { grid-column: span 2; }
.luoi_5 > *:nth-child(4) { grid-column: 2 / span 2; }
.luoi_5 > *:nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 900px) { .luoi_5 { grid-template-columns: 1fr 1fr; } .luoi_5 > *, .luoi_5 > *:nth-child(4), .luoi_5 > *:nth-child(5) { grid-column: auto; } }
@media (max-width: 560px) { .luoi_5 { grid-template-columns: 1fr; } }

/* Trang chu: gioi thieu BIZSIM */
.gioi_thieu_bizsim { background: #fff; border-radius: 20px; padding: 28px 32px; box-shadow: 0 10px 30px rgba(10, 25, 70, .12); color: #14214a; }
.gioi_thieu_bizsim p, .gioi_thieu_bizsim li { color: #34416b; line-height: 1.65; }
.gioi_thieu_bizsim h3, .gioi_thieu_bizsim h4 { color: #14214a; }
.gioi_thieu_bizsim h4 { margin-top: 18px; }
.gioi_thieu_bizsim ul { padding-left: 22px; }

/* Stage 1: tieu de lon nam tren khung, 3 vai tro ro rang */
.phan_gd1 .bang_thong_bao > h2 { font-size: 2rem; margin: 6px 0 4px; }
.phan_gd1 .luoi_3 { align-items: stretch; gap: 20px; margin-top: 18px; }
.the_vai_tro .ben_trong { text-align: left; display: flex; flex-direction: column; }
.the_vai_tro .ben_trong h4 { font-size: 1.15rem; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid #cdeee3; }
.the_vai_tro .ben_trong .chu_phu { text-align: left; }

/* Trang tinh huong: bang thong tin khong bi tran khung */
.bang td { overflow-wrap: anywhere; word-break: break-word; }
.bang { table-layout: auto; max-width: 100%; }
.tieu_de_ngoai { margin: 0 0 16px; color: #fff; }
.tieu_de_ngoai h2 { font-size: 2.4rem; margin: 6px 0 6px; color: #fff; }
.tieu_de_ngoai p { color: #dbe7ff; font-size: 1.05rem; margin: 0; }
.luoi > * { min-width: 0; }
.hop_danh_gia .dau_dg h3, body .hop_danh_gia .dau_dg h3 { color: #fff !important; }
.hop_danh_gia .dau_dg small { color: #cfe0ff !important; }
.gioi_thieu_bizsim { margin-top: 48px; }

/* Gioi thieu BIZSIM: nen trong suot (kinh mo), chu trang */
body.trang_toi .gioi_thieu_bizsim { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); backdrop-filter: blur(6px); color: #fff; }
body.trang_toi .gioi_thieu_bizsim :is(h1, h2, h3, h4, p, li, b, em) { color: #fff; }
body.trang_toi .gioi_thieu_bizsim .tieu_de_muc { color: #9fc2ff; }
body.trang_toi .gioi_thieu_bizsim li::marker { color: #9fc2ff; }

/* Gioi thieu BIZSIM: chu lon hon */
.gioi_thieu_bizsim { padding: 34px 40px; }
.gioi_thieu_bizsim .tieu_de_muc { font-size: 1rem; }
.gioi_thieu_bizsim h2 { font-size: 2.8rem !important; line-height: 1.2; }
.gioi_thieu_bizsim h3 { font-size: 2rem; margin-top: 20px; }
.gioi_thieu_bizsim h4 { font-size: 1.6rem; margin-top: 26px; }
.gioi_thieu_bizsim p, .gioi_thieu_bizsim li { font-size: 1.3rem; line-height: 1.7; }
.gioi_thieu_bizsim li { margin-bottom: 6px; }
@media (max-width: 768px) { .gioi_thieu_bizsim { padding: 22px 20px; } .gioi_thieu_bizsim h2 { font-size: 1.9rem !important; } .gioi_thieu_bizsim h3 { font-size: 1.4rem; } .gioi_thieu_bizsim h4 { font-size: 1.2rem; } .gioi_thieu_bizsim p, .gioi_thieu_bizsim li { font-size: 1.05rem; } }
