/* ==========================================================================
   THEME 2 – SILKROAD ONLINE (Con Đường Tơ Lụa)  |  Phase 2 (bám mockup)  |  PC first
   Chỉ được nạp khi cookie phbot_theme=2. Mọi rule nằm dưới `body.theme2`
   hoặc lớp `.t2-*` => Theme 1 không bị ảnh hưởng.
   Bố cục: HEADER (logo + menu chính) | SIDEBAR | HERO | 4 STATS | 5 DỊCH VỤ | 2 CỘT.
   ========================================================================== */
body.theme2 {
    --t2-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; /* đủ dấu tiếng Việt */
    --t2-bg-0: #08090D;
    --t2-bg-1: #0E1016;
    --t2-bg-2: #151820;
    --t2-brown: #211812;
    --t2-brown-2: #302017;
    --t2-red: #A31F16;
    --t2-red-2: #C9382B;
    --t2-gold: #C9A45C;
    --t2-gold-2: #E0B96A;
    --t2-text: #F3F0E8;
    --t2-text-2: #B8B3A8;
    --t2-text-3: #77736C;
    --t2-ok: #5FB878;
    --t2-bad: #D75A5A;
    --t2-info: #5B9BD5;
    --t2-line: rgba(255, 255, 255, .08);
    --t2-gline: rgba(201, 164, 92, .35);
    --t2-radius: 8px;
    --t2-sidebar-w: 224px;
    --t2-header-h: 64px;

    background: var(--t2-bg-0);
    background-image: radial-gradient(1100px 500px at 65% -8%, rgba(70, 28, 20, .25), transparent 70%);
    background-attachment: fixed;
}
body.theme2 #loading { background: var(--t2-bg-0); }

/* ---------- THANH TRÊN (nav.php + header-left/right) ---------- */
body.theme2 .iq-top-navbar {
    left: 0; right: 0; width: 100%; z-index: 1010;
    height: var(--t2-header-h); min-height: var(--t2-header-h); padding: 0 20px;
    background: linear-gradient(180deg, #15110F 0%, #0B0A0C 100%);
    border-bottom: 1px solid var(--t2-gline); box-shadow: 0 6px 22px rgba(0, 0, 0, .55);
}
body.theme2 .iq-top-navbar .iq-navbar-custom,
body.theme2 .iq-top-navbar .navbar { height: var(--t2-header-h); min-height: var(--t2-header-h); }
body.theme2 .iq-top-navbar .navbar { display: flex; flex-wrap: nowrap; align-items: center; gap: 18px; }
body.theme2 .iq-top-navbar .navbar,
body.theme2 .iq-top-navbar .navbar a,
body.theme2 .iq-top-navbar .user-name,
body.theme2 .iq-top-navbar .text-secondary,
body.theme2 .iq-top-navbar .text-dark { color: var(--t2-text-2) !important; }

body.theme2 .t2-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; padding-right: 14px; margin-right: 4px; }
body.theme2 .t2-brand-mark { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--t2-gold-2) !important; font-size: 19px; background: linear-gradient(180deg, var(--t2-red-2), var(--t2-red)); border: 1px solid var(--t2-gline); }
body.theme2 .t2-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
body.theme2 .t2-brand-text b { font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 700; letter-spacing: 1.5px; color: var(--t2-text) !important; }
body.theme2 .t2-brand-text b i { font-style: normal; color: var(--t2-gold-2); }
body.theme2 .t2-brand-text small { margin-top: 2px; font-size: 9.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--t2-text-3) !important; }

body.theme2 .t2-topmenu { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; margin: 0; padding: 0; list-style: none; min-width: 0; }
body.theme2 .t2-topmenu li a { position: relative; display: block; padding: 0 14px; line-height: var(--t2-header-h); font-size: 14.5px; font-weight: 600; letter-spacing: .1px; white-space: nowrap; color: var(--t2-text-2) !important; transition: color .12s; }
body.theme2 .t2-topmenu li a:hover { color: var(--t2-text) !important; text-decoration: none; }
body.theme2 .t2-topmenu li.active a { color: var(--t2-gold-2) !important; }
body.theme2 .t2-topmenu li.active a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--t2-gold); }

/* nhóm bên phải: số dư, chuông, user, nút theme */
body.theme2 .iq-top-navbar .side-menu-bt-sidebar { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
body.theme2 .iq-top-navbar .side-menu-bt-sidebar .wrapper-menu { display: none; }
body.theme2 .iq-top-navbar .side-menu-bt-sidebar a.badge2 { display: none; } /* Admin Panel nằm ở thẻ số dư trên hero + menu user */
body.theme2 .iq-top-navbar .badge2 { padding: 8px 14px; font-size: 13px; background: rgba(255, 255, 255, .04); border: 1px solid var(--t2-gline) !important; color: var(--t2-gold-2) !important; border-radius: 8px; }
body.theme2 .iq-top-navbar .badge2 b { color: var(--t2-gold-2); }
body.theme2 .iq-top-navbar .btn { white-space: nowrap; }
body.theme2 .iq-top-navbar .navbar > .d-flex { flex: 0 0 auto; }
body.theme2 .iq-top-navbar .change-mode { display: none; } /* Theme 2 chỉ có nền tối */
body.theme2 .iq-top-navbar .navbar-list { align-items: center; }
body.theme2 .iq-top-navbar .navbar-list .nav-item { margin: 0 4px; }
body.theme2 .iq-top-navbar .dropdown-menu { background: var(--t2-bg-2); border: 1px solid var(--t2-line); border-radius: var(--t2-radius); box-shadow: 0 14px 34px rgba(0, 0, 0, .6); }
body.theme2 .iq-top-navbar .dropdown-menu .dropdown-item { color: var(--t2-text-2); }
body.theme2 .iq-top-navbar .dropdown-menu .dropdown-item:hover { background: rgba(255, 255, 255, .05); }
body.theme2 .iq-top-navbar .dropdown-menu .border-top { border-color: var(--t2-line) !important; }
body.theme2 .phbot-theme-switch { display: none !important; } /* đã có nút Theme 1 / Theme 2 trên header */

body.theme2 .t2-themebtns { display: flex; gap: 8px; flex: 0 0 auto; margin-left: 4px; }
body.theme2 .t2-themebtn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; font-size: 12.5px; font-weight: 700; color: var(--t2-text-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--t2-line); border-radius: 8px; cursor: pointer; transition: background .12s, color .12s; }
body.theme2 .t2-themebtn:hover { color: var(--t2-text); background: rgba(255, 255, 255, .09); }
body.theme2 .t2-themebtn.is-active { color: #fff; background: linear-gradient(180deg, var(--t2-red-2), var(--t2-red)); border-color: rgba(224, 185, 106, .55); }

/* ---------- SIDEBAR (dưới header) ---------- */
body.theme2 .t2-sidebar {
    top: var(--t2-header-h); height: calc(100% - var(--t2-header-h)); width: var(--t2-sidebar-w);
    background: #0B0C11; border-right: 1px solid var(--t2-line); box-shadow: none;
    overflow-y: auto; overflow-x: hidden;
}
/* Nền ảnh cho sidebar dọc (chỉ desktop > 991px; mobile dùng thanh chip nên giữ nền tối riêng).
   Ảnh: public/assets/theme2/backgrounds/sidebar-bg.jpg. Lớp phủ đen nằm CHUNG trong thuộc tính background
   (không dùng pseudo-element) nên không che/chặn thao tác menu. Màu #0B0C11 là nền dự phòng khi ảnh không tải được. */
@media (min-width: 992px) {
    body.theme2 .t2-sidebar {
        background-color: #0B0C11;
        background-image:
            linear-gradient(180deg, rgba(5, 6, 10, .62) 0%, rgba(5, 6, 10, .74) 55%, rgba(5, 6, 10, .86) 100%),
            url("../../public/assets/theme2/backgrounds/sidebar-bg.jpg");
        background-size: 100% 100%, cover;
        background-position: 0 0, 68% center;
        background-repeat: no-repeat, no-repeat;
    }
}
body.theme2 .t2-nav { padding: 14px 10px 30px; }
body.theme2 .t2-menu { list-style: none; margin: 0; padding: 0; }
body.theme2 .t2-menu-title { margin: 20px 10px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--t2-gold); }
body.theme2 .t2-menu-item > a { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 12px; margin: 2px 0; border-radius: 6px; font-size: 13.5px; font-weight: 500; color: var(--t2-text-2); transition: background .12s, color .12s; }
body.theme2 .t2-menu-item > a i { width: 18px; text-align: center; font-size: 14px; color: var(--t2-text-3); transition: color .12s; }
body.theme2 .t2-menu-item > a:hover { background: rgba(255, 255, 255, .045); color: var(--t2-text); text-decoration: none; }
body.theme2 .t2-menu-item > a:hover i { color: var(--t2-text-2); }
body.theme2 .t2-menu-item.active > a { color: var(--t2-text); font-weight: 600; background: linear-gradient(90deg, rgba(163, 31, 22, .85), rgba(163, 31, 22, .12)); }
body.theme2 .t2-menu-item.active > a i { color: var(--t2-gold-2); }
body.theme2 .t2-menu-item.active > a::before { content: ""; position: absolute; left: -10px; top: 6px; bottom: 6px; width: 3px; border-radius: 0 3px 3px 0; background: var(--t2-gold); }

/* ---------- VÙNG NỘI DUNG ---------- */
/* nav.php bọc nội dung trong <div style="padding-top:90px"> (đúng cho thanh trên 73px của Theme 1): Theme 2 tự tính ở .content-page. */
body.theme2 .wrapper > div[style*="padding-top:90px"] { padding-top: 0 !important; }
body.theme2 .content-page { margin-left: var(--t2-sidebar-w); margin-top: 0; padding-top: calc(var(--t2-header-h) + 18px); background: transparent; }
body.theme2 .content-page .card { border: 1px solid var(--t2-line); border-radius: var(--t2-radius); }

/* ==========================================================================
   TRANG CHỦ THEME 2
   ========================================================================== */
body.theme2 .t2-home { flex: 0 0 100%; max-width: 100%; width: 100%; padding: 0 18px 48px; color: var(--t2-text); }
body.theme2 .t2-home a { color: var(--t2-gold-2); }
body.theme2 .t2-home a:hover { color: #fff; text-decoration: none; }

/* Nút */
body.theme2 .t2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; padding: 10px 22px; font-size: 14px; font-weight: 700; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: filter .15s, background .15s; }
body.theme2 .t2-btn-sm { padding: 7px 16px; font-size: 12.5px; }
body.theme2 .t2-btn-block { display: flex; width: 100%; }
body.theme2 .t2-btn-gold { color: #20140A !important; background: linear-gradient(180deg, var(--t2-gold-2), var(--t2-gold)); border-color: rgba(255, 220, 140, .4); }
body.theme2 .t2-btn-red { color: #fff !important; background: linear-gradient(180deg, var(--t2-red-2), var(--t2-red)); border-color: rgba(224, 185, 106, .45); }
body.theme2 .t2-btn-ghost { color: var(--t2-text) !important; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); }
body.theme2 .t2-btn:hover { filter: brightness(1.12); color: inherit; }
body.theme2 .t2-btn-gold:hover { color: #20140A !important; }
body.theme2 .t2-btn-red:hover { color: #fff !important; }
body.theme2 .t2-btn.is-disabled { opacity: .35; filter: grayscale(.7); cursor: not-allowed; pointer-events: none; }

body.theme2 .t2-h2 { display: flex; align-items: center; gap: 14px; margin: 26px 0 14px; }
body.theme2 .t2-h2 span { font-family: var(--t2-font); font-style: normal; font-size: 16px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--t2-gold-2); }
body.theme2 .t2-h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--t2-gline), transparent); }
body.theme2 .t2-h3 { margin: 0; font-family: var(--t2-font); font-style: normal; font-size: 14px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--t2-gold-2); }
body.theme2 .t2-h3 i { margin-right: 8px; font-size: 14px; }

/* HERO: lớn, ảnh SRO rõ (chỉ phủ tối nhẹ), chữ giữa + thẻ số dư bên phải */
body.theme2 .t2-hero {
    position: relative; display: flex; align-items: stretch; justify-content: space-between; gap: 20px;
    height: 300px; padding: 22px 26px; overflow: hidden; border-radius: 10px;
    border: 1px solid var(--t2-gline);
    background-color: var(--t2-bg-1);
    background-image:
        linear-gradient(90deg, rgba(8, 9, 13, 0) 0%, rgba(8, 9, 13, .18) 45%, rgba(8, 9, 13, .5) 100%),
        linear-gradient(0deg, rgba(8, 9, 13, .6) 0%, rgba(8, 9, 13, 0) 45%),
        var(--t2-img, none);
    background-size: cover, cover, cover; background-position: center, center, 30% 30%;
}
body.theme2 .t2-hero-spacer { flex: 1 1 18%; min-width: 0; }
body.theme2 .t2-hero-center { flex: 0 1 520px; padding: 14px 10px; background: radial-gradient(ellipse at center, rgba(8, 9, 13, .5) 0%, rgba(8, 9, 13, 0) 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
body.theme2 .t2-hero-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 58px; line-height: 1; font-weight: 700; font-style: italic; letter-spacing: 2px; color: #fff; text-shadow: 0 3px 0 #8e2a1b, 0 6px 22px rgba(0, 0, 0, .85); }
body.theme2 .t2-hero-sub { margin-top: 6px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; letter-spacing: 3px; text-transform: uppercase; color: var(--t2-gold-2); text-shadow: 0 2px 12px rgba(0, 0, 0, .9); }
body.theme2 .t2-hero-tag { margin: 12px 0 18px; font-size: 13.5px; letter-spacing: 1.2px; text-transform: uppercase; color: #F6E4B8; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
body.theme2 .t2-hero-actions { display: flex; gap: 12px; }
body.theme2 .t2-hero-card { flex: 0 0 250px; align-self: center; padding: 18px 20px; text-align: center; background: rgba(10, 8, 7, .62); backdrop-filter: blur(4px); border: 1px solid var(--t2-gline); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .55); }
body.theme2 .t2-hero-hello { font-size: 12px; color: var(--t2-text-2); }
body.theme2 .t2-hero-user { margin-bottom: 8px; padding-bottom: 8px; font-size: 17px; font-weight: 700; color: var(--t2-text); border-bottom: 1px solid var(--t2-line); word-break: break-all; }
body.theme2 .t2-hero-balance-label { font-size: 12px; color: var(--t2-text-2); }
body.theme2 .t2-hero-balance-value { margin: 2px 0 12px; font-size: 25px; line-height: 1.2; font-weight: 800; color: var(--t2-gold-2); }

/* STATS: 4 thẻ một hàng, thấp & gọn */
body.theme2 .t2-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
body.theme2 .t2-stat { display: flex; align-items: center; gap: 14px; padding: 12px 18px; min-height: 88px; background: linear-gradient(180deg, rgba(21, 24, 32, .96), rgba(14, 16, 22, .96)); border: 1px solid var(--t2-line); border-radius: 10px; }
body.theme2 .t2-stat-ic { flex: 0 0 46px; height: 46px; display: flex; align-items: center; justify-content: center; font-size: 20px; border-radius: 10px; border: 1px solid transparent; }
body.theme2 .t2-stat-label { font-size: 11px; font-weight: 600; letter-spacing: .9px; text-transform: uppercase; color: var(--t2-text-3); }
body.theme2 .t2-stat-num { font-size: 28px; line-height: 1.1; font-weight: 800; color: var(--t2-text); }
body.theme2 .t2-stat-foot { font-size: 12px; color: var(--t2-text-2); }
body.theme2 .t2-st-red { box-shadow: inset 3px 0 0 rgba(201, 56, 43, .75); } body.theme2 .t2-st-red .t2-stat-ic { color: #F0A090; background: rgba(163, 31, 22, .28); border-color: rgba(201, 56, 43, .35); }
body.theme2 .t2-st-gold { box-shadow: inset 3px 0 0 rgba(201, 164, 92, .75); } body.theme2 .t2-st-gold .t2-stat-ic { color: var(--t2-gold-2); background: rgba(201, 164, 92, .15); border-color: rgba(201, 164, 92, .35); } body.theme2 .t2-st-gold .t2-stat-num { color: var(--t2-gold-2); }
body.theme2 .t2-st-bad { box-shadow: inset 3px 0 0 rgba(215, 90, 90, .75); } body.theme2 .t2-st-bad .t2-stat-ic { color: var(--t2-bad); background: rgba(215, 90, 90, .15); border-color: rgba(215, 90, 90, .35); } body.theme2 .t2-st-bad .t2-stat-num { color: var(--t2-bad); }
body.theme2 .t2-st-blue { box-shadow: inset 3px 0 0 rgba(91, 155, 213, .75); } body.theme2 .t2-st-blue .t2-stat-ic { color: var(--t2-info); background: rgba(91, 155, 213, .15); border-color: rgba(91, 155, 213, .35); }

/* DỊCH VỤ NỔI BẬT: 5 thẻ một hàng, ảnh ~42% chiều cao */
body.theme2 .t2-services { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
body.theme2 .t2-svc { display: flex; flex-direction: column; overflow: hidden; background: var(--t2-bg-1); border: 1px solid var(--t2-line); border-radius: 10px; transition: transform .15s, border-color .15s; }
body.theme2 .t2-svc:hover { border-color: var(--t2-gline); }
body.theme2 .t2-svc-img { position: relative; flex: 0 0 164px; background-color: var(--t2-brown); background-image: linear-gradient(0deg, rgba(14, 16, 22, .95) 0%, rgba(14, 16, 22, .25) 45%, rgba(14, 16, 22, 0) 100%), var(--t2-img, none); background-size: cover; background-position: center; }
body.theme2 .t2-svc-vn .t2-svc-img { background-position: 0 0, 30% 40%; }
body.theme2 .t2-svc-sg .t2-svc-img { background-position: 0 0, 72% 35%; }
body.theme2 .t2-svc-bot .t2-svc-img { background-size: cover, 190% auto; background-position: 0 0, 50% 28%; }
body.theme2 .t2-svc-clone .t2-svc-img { background-position: 0 0, 42% 40%; }
body.theme2 .t2-svc-otp .t2-svc-img { background-size: cover, 300% auto; background-position: 0 0, 50% 48%; }
body.theme2 .t2-svc-badge { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(163, 31, 22, .85); border: 1px solid rgba(224, 185, 106, .4); border-radius: 5px; }
body.theme2 .t2-svc-body { flex: 1 1 auto; display: flex; flex-direction: column; padding: 14px 14px 14px; min-width: 0; }
body.theme2 .t2-svc-name { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--t2-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.theme2 .t2-svc-desc { flex: 1 1 auto; min-height: 34px; margin: 4px 0 10px; font-size: 12.5px; line-height: 1.4; color: var(--t2-text-2); }
body.theme2 .t2-svc-price { font-size: 20px; font-weight: 800; color: var(--t2-gold-2); white-space: nowrap; }
body.theme2 .t2-svc-price small { margin-right: 4px; font-size: 12px; font-weight: 600; color: var(--t2-text-3); }
body.theme2 .t2-svc-stock { margin: 3px 0 12px; font-size: 12px; font-weight: 500; }
body.theme2 .t2-svc-stock::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; vertical-align: 1px; border-radius: 50%; background: currentColor; }
body.theme2 .t2-svc .t2-btn { min-height: 40px; }
body.theme2 .t2-svc-stock.in { color: var(--t2-ok); }
body.theme2 .t2-svc-stock.out { color: var(--t2-text-3); }
body.theme2 .t2-svc.is-out .t2-svc-img { filter: grayscale(.75) brightness(.8); }

/* 2 CỘT: hoạt động | thông báo & khuyến mãi */
body.theme2 .t2-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
body.theme2 .t2-panel { display: flex; flex-direction: column; padding: 14px 16px; background: var(--t2-bg-1); border: 1px solid var(--t2-line); border-radius: 10px; }
body.theme2 .t2-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
body.theme2 .t2-panel-head a { padding: 4px 12px; font-size: 12px; border: 1px solid var(--t2-gline); border-radius: 6px; }
body.theme2 .t2-act { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--t2-line); }
body.theme2 .t2-panel-head + .t2-act { border-top: 0; }
body.theme2 .t2-act-ic { flex: 0 0 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 14px; border-radius: 50%; }
body.theme2 .t2-ic-ok { color: var(--t2-ok); background: rgba(95, 184, 120, .15); }
body.theme2 .t2-ic-bad { color: var(--t2-bad); background: rgba(215, 90, 90, .15); }
body.theme2 .t2-ic-gold { color: var(--t2-gold-2); background: rgba(201, 164, 92, .15); }
body.theme2 .t2-ic-info { color: var(--t2-info); background: rgba(91, 155, 213, .15); }
body.theme2 .t2-ic-mute { color: var(--t2-text-2); background: rgba(255, 255, 255, .07); }
body.theme2 .t2-act-main { flex: 1 1 auto; min-width: 0; }
body.theme2 .t2-act-title { font-size: 13.5px; font-weight: 600; color: var(--t2-text); }
body.theme2 .t2-act-desc { font-size: 12px; color: var(--t2-text-3); word-break: break-word; }
body.theme2 .t2-act-time { flex: 0 0 auto; min-width: 118px; text-align: right; font-size: 12px; color: var(--t2-text-2); white-space: nowrap; }
body.theme2 .t2-empty { padding: 28px 0; text-align: center; font-size: 13px; color: var(--t2-text-3); }

body.theme2 .t2-promo-none { padding: 6px 0; font-size: 13px; color: var(--t2-text-2); }
body.theme2 .t2-promo-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--t2-text-3); }
body.theme2 .t2-promo-btn { min-height: 38px; padding: 8px 24px; font-size: 14px; font-weight: 800; white-space: nowrap; box-shadow: 0 0 16px rgba(224, 185, 106, .35), inset 0 1px 0 rgba(255, 255, 255, .35); }

/* ==========================================================================
   TRANG PROXY THEME 2 (Phase 3) – bọc trong .t2-home.t2-proxy
   ========================================================================== */
body.theme2 .t2-proxy { margin: 0 -15px; padding: 0 18px 48px; flex: none; max-width: none; }
body.theme2 .t2-proxy > .row > .col-lg-12 { margin-top: 28px; }
body.theme2 .t2-proxy > .row { margin: 0; }
body.theme2 .t2-proxy > .row > [class*="col-"] { padding: 0; }

/* Hero thấp hơn dashboard */
body.theme2 .t2-pxhero { height: 210px; justify-content: center; align-items: center; margin-top: 0; background-position: center, center, 50% 35%; }
body.theme2 .t2-pxhero-in { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 40px; background: radial-gradient(ellipse at center, rgba(8, 9, 13, .55) 0%, rgba(8, 9, 13, 0) 72%); }
body.theme2 .t2-pxhero-title { font-size: 42px; letter-spacing: 3px; font-style: normal; }
body.theme2 .t2-pxhero .t2-hero-tag { margin: 10px 0 16px; font-size: 13px; text-transform: none; letter-spacing: .4px; }

/* Hai loại Proxy */

/* Chọn gói + Connect + tổng tiền ngay trên thẻ (dùng lại hàm tính cũ qua JS) */
body.theme2 #t2-proxy-types { scroll-margin-top: 84px; }

/* Lịch sử: cột thẳng hàng, nút thao tác không chồng nhau */

/* Thông tin dịch vụ */
body.theme2 .t2-pinfo { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 16px; }
body.theme2 .t2-pinfo-text { font-size: 13.5px; line-height: 1.7; color: var(--t2-text-2); white-space: pre-line; word-break: break-word; }
body.theme2 .t2-pinfo-text a, body.theme2 .t2-pinfo-text span { color: var(--t2-gold-2) !important; }

/* Hướng dẫn: giữ nguyên các khối .alert gốc, chỉ phối lại màu và đặt trong accordion */
body.theme2 .t2-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: start; }
body.theme2 .t2-acc { background: var(--t2-bg-1); border: 1px solid var(--t2-line); border-radius: 10px; overflow: hidden; }
body.theme2 .t2-acc > summary { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 700; letter-spacing: .4px; color: var(--t2-gold-2); }
body.theme2 .t2-acc > summary::-webkit-details-marker { display: none; }
body.theme2 .t2-acc > summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px; color: var(--t2-text-3); transition: transform .15s; }
body.theme2 .t2-acc[open] > summary::after { transform: rotate(180deg); }
body.theme2 .t2-acc-body { padding: 0 14px 14px; }
body.theme2 .t2-guide .alert { font-size: 14px; margin-bottom: 0 !important; color: var(--t2-text-2); background: rgba(255, 255, 255, .03); border: 0 !important; border-left: 3px solid var(--t2-gline) !important; border-radius: 6px; }
body.theme2 .t2-guide .alert-primary { border-left-color: var(--t2-info) !important; }
body.theme2 .t2-guide .alert-danger { border-left-color: var(--t2-bad) !important; }
body.theme2 .t2-guide .alert-success { border-left-color: var(--t2-ok) !important; }
body.theme2 .t2-guide .alert-warning { border-left-color: var(--t2-gold) !important; }
body.theme2 .t2-guide .alert-info { border-left-color: var(--t2-info) !important; }
body.theme2 .t2-guide .alert strong, body.theme2 .t2-guide .alert li, body.theme2 .t2-guide .text-dark { color: var(--t2-text) !important; }
body.theme2 .t2-guide .text-success { color: var(--t2-ok) !important; }
body.theme2 .t2-guide .text-danger { color: #F0A090 !important; }
body.theme2 .t2-guide .text-primary { color: var(--t2-gold-2) !important; }
body.theme2 .t2-guide code { color: var(--t2-gold-2); background: rgba(255, 255, 255, .06); padding: 2px 6px; border-radius: 4px; }
body.theme2 .t2-guide .alert .fa-2x { font-size: 1.5em; }
body.theme2 .t2-guide a.alert { text-decoration: none; }

/* Lịch sử thuê Proxy (markup gốc của proxies.php, chỉ phối lại màu) */

/* Modal mua / gia hạn / nâng cấp / đổi proxy: chỉ đổi màu, không đổi cấu trúc */
body.theme2 #modalBuyProxy .modal-content, body.theme2 #modalRenewProxy .modal-content, body.theme2 #modalUpgradeProxy .modal-content, body.theme2 #modalSwapProxy .modal-content { background: var(--t2-bg-1); color: var(--t2-text-2); border: 1px solid var(--t2-gline); border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .7); }
body.theme2 #modalBuyProxy .modal-header, body.theme2 #modalRenewProxy .modal-header, body.theme2 #modalUpgradeProxy .modal-header, body.theme2 #modalSwapProxy .modal-header { background: transparent !important; color: var(--t2-gold-2); border-bottom: 1px solid var(--t2-line); }
body.theme2 #modalBuyProxy .modal-footer, body.theme2 #modalRenewProxy .modal-footer, body.theme2 #modalUpgradeProxy .modal-footer, body.theme2 #modalSwapProxy .modal-footer { background: transparent !important; border-top: 1px solid var(--t2-line); }
body.theme2 #modalBuyProxy .modal-title, body.theme2 #modalRenewProxy .modal-title, body.theme2 #modalUpgradeProxy .modal-title, body.theme2 #modalSwapProxy .modal-title { color: var(--t2-gold-2); font-family: Georgia, "Times New Roman", serif; letter-spacing: 1px; }
body.theme2 #modalBuyProxy .close, body.theme2 #modalRenewProxy .close, body.theme2 #modalUpgradeProxy .close, body.theme2 #modalSwapProxy .close { color: var(--t2-text); text-shadow: none; opacity: .7; }
body.theme2 #modalBuyProxy label, body.theme2 #modalRenewProxy label, body.theme2 #modalUpgradeProxy label { color: var(--t2-text-2); font-weight: 600; font-size: 13px; }
body.theme2 #modalBuyProxy .form-control, body.theme2 #modalRenewProxy .form-control, body.theme2 #modalUpgradeProxy .form-control { background-color: var(--t2-bg-2); color: var(--t2-text); border: 1px solid var(--t2-line); }
body.theme2 #modalBuyProxy .form-control:focus, body.theme2 #modalRenewProxy .form-control:focus, body.theme2 #modalUpgradeProxy .form-control:focus { border-color: var(--t2-gold); box-shadow: none; }
body.theme2 #modalBuyProxy select.form-control option, body.theme2 #modalRenewProxy select.form-control option, body.theme2 #modalUpgradeProxy select.form-control option { background: var(--t2-bg-2); color: var(--t2-text); }
body.theme2 #modalBuyProxy .modal-body > .text-center { margin-top: 6px; padding: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--t2-gline); border-radius: 8px; color: var(--t2-text-2); }
body.theme2 #bp_total { color: var(--t2-gold-2) !important; font-size: 24px; }
body.theme2 #modalBuyProxy .btn-primary, body.theme2 #modalRenewProxy .btn-info, body.theme2 #modalUpgradeProxy .btn-warning, body.theme2 #modalSwapProxy .btn-primary { color: #20140A; background: linear-gradient(180deg, var(--t2-gold-2), var(--t2-gold)); border-color: rgba(255, 220, 140, .4); font-weight: 700; }
body.theme2 #modalBuyProxy .btn:disabled, body.theme2 #modalSwapProxy .btn:disabled { opacity: .4; }
body.theme2 #modalSwapProxy .table, body.theme2 #modalSwapProxy .text-muted { color: var(--t2-text-2) !important; }
body.theme2 #modalSwapProxy code { color: var(--t2-gold-2); }
body.theme2 #modalSwapProxy .alert-info, body.theme2 #modalUpgradeProxy .alert-info { background: rgba(255, 255, 255, .04); border: 1px solid var(--t2-line); color: var(--t2-text-2); }
body.theme2 #modalUpgradeProxy .alert-info b { color: var(--t2-gold-2); }

/* ---- Độ tương phản: bộ chọn Connect, giá, tổng tiền, nút mua ---- */

/* ---- Lịch sử thuê Proxy: tương phản cao hơn ---- */

/* ---- Modal Hướng dẫn & Bảng giá (mở từ hero) ---- */
body.theme2 .t2-guide-modal .modal-content { background: #0E1016; color: var(--t2-text-2); border: 1px solid var(--t2-gline); border-radius: 12px; box-shadow: 0 24px 70px rgba(0, 0, 0, .75); }
body.theme2 .t2-guide-modal .modal-header { background: transparent; border-bottom: 1px solid var(--t2-line); }
body.theme2 .t2-guide-modal .modal-title { color: var(--t2-gold-2); font-family: Georgia, "Times New Roman", serif; letter-spacing: 1.2px; text-transform: uppercase; font-size: 17px; }
body.theme2 .t2-guide-modal .close { color: #F3F0E8; text-shadow: none; opacity: .8; }
body.theme2 .t2-guide-modal .modal-body { padding: 16px 18px 20px; }
body.theme2 .t2-guide-modal a { color: var(--t2-gold-2); }

/* ---- Chỉnh lần cuối: hướng dẫn trên thẻ, giá "Gói / 4 acc", Connect = acc, lịch sử ---- */
body.theme2 .t2-howto { padding: 12px 16px 2px; background: rgba(255, 255, 255, .035); border-bottom: 1px solid var(--t2-line); }
body.theme2 .t2-howto ol { margin: 0 0 8px; padding-left: 20px; font-size: 14px; line-height: 1.6; color: #EAE6DB; }
body.theme2 .t2-howto ol li::marker { color: var(--t2-gold-2); font-weight: 700; }
body.theme2 .t2-howto p { margin: 0 0 10px; padding: 6px 10px; font-size: 13px; line-height: 1.5; color: #F0CF86; background: rgba(224, 185, 106, .1); border-left: 3px solid var(--t2-gold); border-radius: 4px; }
body.theme2 .t2-howto p i { margin-right: 4px; }
body.theme2 .t2-howto p b { color: #FFE9A8; }
body.theme2 .t2-buy:disabled { background: #3A3F4C; border-color: #5A6070; color: #D8D3C6; opacity: 1; cursor: not-allowed; }
/* Lịch sử: chữ/ngày/mã proxy rõ hơn, nút thao tác xếp 2 cột gọn */

body.theme2 .t2-howto ol { list-style: decimal outside; }
body.theme2 .t2-howto ol li { display: list-item; list-style: decimal outside; }
@media (max-width: 768px) {
    body.theme2 .t2-sidebar { display: none; }
    body.theme2 .content-page { margin-left: 0; }
    body.theme2 .t2-pxhero-title { font-size: 22px; white-space: normal; }
    body.theme2 .t2-pxhero-panels { grid-template-columns: 1fr; }
    body.theme2 .t2-pxhero-left { flex-basis: 100%; }
    body.theme2 .t2-pxhero { background-position: center, center, 70% 30%; }
    body.theme2 .t2-howto ol { font-size: 13.5px; }
}

/* ---- Hero Proxy: hướng dẫn + bảng giá bên trái, ảnh game bên phải ---- */
body.theme2 .t2-hero.t2-pxhero { height: auto !important; min-height: 440px; align-items: stretch; justify-content: flex-start; padding: 0; background-image: linear-gradient(90deg, rgba(8, 9, 13, .94) 0%, rgba(8, 9, 13, .86) 46%, rgba(8, 9, 13, .12) 66%, rgba(8, 9, 13, 0) 100%), var(--t2-img, none); background-size: cover, cover; background-position: center, 78% 25%; }
body.theme2 .t2-pxhero-left { box-sizing: border-box; min-width: 0; flex: 0 0 72%; max-width: 900px; display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; }
body.theme2 .t2-pxhero-head { text-align: left; }
body.theme2 .t2-pxhero-title { font-size: 30px; letter-spacing: 1.5px; white-space: nowrap; }
body.theme2 .t2-pxhero .t2-hero-tag { margin: 8px 0 0; font-size: 13px; }
body.theme2 .t2-pxhero-panels { display: grid; grid-template-columns: 1.15fr 1.1fr 1fr; gap: 12px; align-items: stretch; }
body.theme2 .t2-hpanel { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: rgba(12, 14, 20, .82); backdrop-filter: blur(3px); border: 1px solid var(--t2-gline); border-radius: 10px; }
body.theme2 .t2-hpanel-title { margin: 0 0 2px; font-size: 14px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--t2-gold-2); }
body.theme2 .t2-hpanel-title i { margin-right: 6px; }
body.theme2 .t2-hblock .alert { padding: 7px 10px !important; font-size: 12.5px; line-height: 1.45; margin-bottom: 0 !important; color: #EAE6DB; }
body.theme2 .t2-hblock .alert .fa-2x { font-size: 1.25em; margin-right: .6rem !important; }
body.theme2 .t2-hblock .alert code { font-size: 12px; }
body.theme2 .t2-hblock ul { font-size: 13px; }
body.theme2 .t2-pricepanel .t2-btn-block { margin-top: 2px; }
body.theme2 .t2-pricepanel .alert { display: block !important; }
body.theme2 .t2-pricepanel .alert ul { padding-left: 18px !important; margin: 6px 0 0; }
body.theme2 .t2-pricepanel .alert ul li { margin-bottom: 6px; font-size: 13px; }

/* ---- Hero 3 khung + thẻ Proxy liền mạch trên nền ảnh ---- */
body.theme2 .t2-hpanel { border-color: rgba(224, 185, 106, .55); box-shadow: 0 0 0 1px rgba(163, 31, 22, .35), 0 0 18px rgba(224, 185, 106, .12), inset 0 0 22px rgba(0, 0, 0, .45); background: rgba(10, 11, 16, .86); }
body.theme2 .t2-hpanel-title { padding-bottom: 7px; border-bottom: 1px solid rgba(224, 185, 106, .3); font-size: 13px; }
body.theme2 .t2-hpanel-title small { font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: none; color: #F0CF86; }
body.theme2 .t2-steplist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
body.theme2 .t2-steplist li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; background: rgba(255, 255, 255, .045); border-left: 3px solid var(--t2-gold); border-radius: 6px; }
body.theme2 .t2-stepno { flex: 0 0 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #20140A; background: linear-gradient(180deg, #F3D68F, #C9A45C); box-shadow: 0 0 8px rgba(224, 185, 106, .45); }
body.theme2 .t2-steplist li div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
body.theme2 .t2-steplist b { font-size: 13.5px; color: #FFE9A8; }
body.theme2 .t2-steplist span:not(.t2-stepno) { font-size: 12.5px; line-height: 1.45; color: #EAE6DB; }
body.theme2 .t2-steplist em { font-style: normal; font-weight: 700; color: #fff; }
body.theme2 .t2-pricegrp { padding: 8px 10px; background: rgba(255, 255, 255, .045); border-left: 3px solid var(--t2-red-2); border-radius: 6px; }
body.theme2 .t2-pricegrp-name { margin-bottom: 4px; font-size: 13px; font-weight: 700; color: #FFE9A8; }
body.theme2 .t2-pricerow { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 3px 0; font-size: 12.5px; color: #EAE6DB; border-top: 1px dashed rgba(255, 255, 255, .1); }
body.theme2 .t2-pricerow:first-of-type { border-top: 0; }
body.theme2 .t2-pricerow b { white-space: nowrap; color: #7DDC9A; font-size: 13.5px; }
body.theme2 .t2-pricerow s { margin-right: 4px; font-weight: 500; font-size: 11.5px; color: #C9C3B5; text-decoration-color: #F29A9A; }
/* Thẻ: ảnh sản phẩm là nền chung của cả thẻ */
body.theme2 .t2-hero.t2-pxhero .t2-pxhero-title { font-size: 34px; white-space: nowrap; }
body.theme2 .t2-hpanel-title small { display: block; margin-top: 2px; }
body.theme2 .t2-pricerow span { white-space: nowrap; }
body.theme2 .t2-pricerow { gap: 4px; }
body.theme2 .t2-pricenote { margin: 2px 0 0; padding: 7px 10px; font-size: 12px; line-height: 1.5; color: #F0CF86; background: rgba(224, 185, 106, .1); border-left: 3px solid var(--t2-gold); border-radius: 4px; }
@media (max-width: 760px) { body.theme2 .t2-hero.t2-pxhero .t2-pxhero-title { font-size: 22px; white-space: normal; } }
/* 1440 */
@media (max-width: 1500px) {
    body.theme2 .t2-hero-title { font-size: 52px; }
    body.theme2 .t2-brand-text small { display: none; }
    body.theme2 .t2-topmenu li a { padding: 0 12px; }
}
/* 1366 */
@media (max-width: 1400px) {
    body.theme2 .t2-hero { height: 280px; }
    body.theme2 .t2-hero-center { flex-basis: 440px; }
    body.theme2 .t2-hero-card { flex-basis: 230px; }
    body.theme2 .t2-svc-img { flex-basis: 140px; }
    body.theme2 .t2-topmenu li a { padding: 0 9px; font-size: 14px; }
    body.theme2 .iq-top-navbar .navbar { gap: 12px; }
    body.theme2 .t2-svc-name { font-size: 15px; }
    body.theme2 .t2-svc-price { font-size: 18px; }
    body.theme2 .t2-stat { padding: 10px 12px; gap: 10px; }
    body.theme2 .t2-themebtn { padding: 8px 10px; }
    body.theme2 .t2-themebtn i { display: none; }
}
@media (max-width: 1400px) {
    body.theme2 .t2-pxhero-title { font-size: 32px; }
}
@media (max-width: 1180px) {
    body.theme2 .t2-guide { grid-template-columns: 1fr; }
    body.theme2 .t2-stats { grid-template-columns: repeat(2, 1fr); }
    body.theme2 .t2-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.theme2 .t2-cols { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    body.theme2 .t2-hero.t2-pxhero { background-image: linear-gradient(0deg, rgba(8, 9, 13, .92) 0%, rgba(8, 9, 13, .8) 100%), var(--t2-img, none); }
    body.theme2 .t2-pxhero-left { flex: 1 1 auto; min-width: 0; width: 100%; box-sizing: border-box; max-width: none; padding: 16px 14px; }
    body.theme2 .t2-hero.t2-pxhero { gap: 0; }
    body.theme2 .t2-pxhero-title { white-space: normal; font-size: 22px; }
    body.theme2 .t2-pxhero-panels { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
    body.theme2 .t2-pxhero-left { flex-basis: 100%; max-width: none; }
    body.theme2 .t2-hero.t2-pxhero { background-image: linear-gradient(0deg, rgba(8, 9, 13, .9) 0%, rgba(8, 9, 13, .78) 100%), var(--t2-img, none); }
    body.theme2 .t2-pxhero-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    body.theme2 .t2-pxhero-panels { grid-template-columns: 1fr; }
}

/* ---- Gọn một màn hình (PC >= 901px): thấy Connect, Tổng tiền, Mua ngay không cần cuộn ---- */
@media (min-width: 901px) {
    body.theme2 .t2-proxy .t2-pxhero-wrap { padding-top: 0; }
    body.theme2 .t2-hero.t2-pxhero { min-height: 0; }
    body.theme2 .t2-pxhero-left { gap: 8px; padding: 12px 16px; flex-basis: 74%; max-width: 940px; }
    body.theme2 .t2-hero.t2-pxhero .t2-pxhero-title { font-size: 26px; letter-spacing: 1.2px; }
    body.theme2 .t2-pxhero .t2-hero-tag { margin: 3px 0 0; font-size: 12px; }
    body.theme2 .t2-pxhero-panels { gap: 10px; }
    body.theme2 .t2-hpanel { gap: 5px; padding: 8px 10px; }
    body.theme2 .t2-hpanel-title { padding-bottom: 4px; margin: 0; font-size: 12px; }
    body.theme2 .t2-hpanel-title small { display: inline; margin: 0 0 0 4px; font-size: 10.5px; }
    body.theme2 .t2-hblock .alert { padding: 4px 8px !important; font-size: 11.5px; line-height: 1.35; }
    body.theme2 .t2-hblock .alert .fa-2x { font-size: 1.1em; margin-right: .45rem !important; }
    body.theme2 .t2-hblock .alert code { font-size: 11px; }
    body.theme2 .t2-steplist { gap: 5px; }
    body.theme2 .t2-steplist li { gap: 8px; padding: 5px 8px; }
    body.theme2 .t2-stepno { flex-basis: 22px; height: 22px; font-size: 12px; }
    body.theme2 .t2-steplist b { font-size: 12px; }
    body.theme2 .t2-steplist span:not(.t2-stepno) { font-size: 11.5px; line-height: 1.35; }
    body.theme2 .t2-pricegrp { padding: 4px 8px; }
    body.theme2 .t2-pricegrp-name { margin-bottom: 1px; font-size: 12px; }
    body.theme2 .t2-pricerow { padding: 1px 0; font-size: 11.5px; }
    body.theme2 .t2-pricerow b { font-size: 12px; }
    body.theme2 .t2-pricenote { padding: 4px 8px; font-size: 11px; line-height: 1.35; }
    body.theme2 .t2-h2 { margin: 12px 0 8px; }
    body.theme2 .t2-h2 span { font-size: 15px; }
    /* thẻ sản phẩm */
}

/* ---- Thẻ Proxy: hàng đầu = nhãn quốc gia + tồn kho; tên nổi bật bên dưới ---- */
/* Lịch sử: tiêu đề + icon vàng, gần sát hai thẻ */

/* ============ THẺ PROXY (bố cục mới): ảnh là nền cả thẻ, nội dung nằm trên ảnh ============ */
body.theme2 #t2-proxy-types { scroll-margin-top: 84px; }
body.theme2 .t2-h2 em { flex: 0 1 auto; font-style: normal; font-size: 13px; letter-spacing: 0; text-transform: none; color: #CFC9BB; }
body.theme2 .t2-ptypes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
body.theme2 .t2-pc { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; overflow: hidden; border: 1px solid rgba(224, 185, 106, .5); border-radius: 12px; box-shadow: 0 0 16px rgba(224, 185, 106, .1);
    background-color: #0E1016;
    background-image: linear-gradient(90deg, rgba(8, 9, 13, .8) 0%, rgba(8, 9, 13, .5) 58%, rgba(8, 9, 13, .12) 100%), linear-gradient(180deg, rgba(8, 9, 13, .1) 0%, rgba(8, 9, 13, .35) 35%, rgba(8, 9, 13, .88) 100%), var(--t2-img, none);
    background-size: 100% 100%, 100% 100%, cover; background-position: 0 0, 0 0, 50% 30%; background-repeat: no-repeat; }
body.theme2 .t2-pc.is-out { filter: saturate(.55); }
body.theme2 .t2-pc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.theme2 .t2-pc-flag { padding: 4px 12px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(140, 22, 16, .9); border: 1px solid rgba(224, 185, 106, .5); border-radius: 6px; }
body.theme2 .t2-pc-stock { padding: 3px 11px; font-size: 12px; font-weight: 700; white-space: nowrap; color: #8BE0A4; background: rgba(8, 9, 13, .75); border: 1px solid rgba(95, 184, 120, .6); border-radius: 999px; }
body.theme2 .t2-pc-stock.out { color: #F29A9A; border-color: rgba(215, 90, 90, .6); }
body.theme2 .t2-pc-name { font-family: var(--t2-font); font-style: normal; margin: 6px 0 4px; font-size: 22px; line-height: 1.1; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .95); }
body.theme2 .t2-pc-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 18px; align-items: end; }
body.theme2 .t2-pc-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
body.theme2 .t2-pkgs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
body.theme2 .t2-pkg { position: relative; display: block; margin: 0; cursor: pointer; }
body.theme2 .t2-pkg input { position: absolute; opacity: 0; pointer-events: none; }
body.theme2 .t2-pkg-in { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; height: 100%; min-height: 54px; padding: 7px 8px 7px 28px; background: rgba(10, 11, 16, .78); border: 1px solid rgba(255, 255, 255, .2); border-radius: 9px; transition: border-color .12s, background .12s; }
body.theme2 .t2-pkg-in::before { content: ""; position: absolute; left: 9px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; }
body.theme2 .t2-pkg:hover .t2-pkg-in { border-color: var(--t2-gold); }
body.theme2 .t2-pkg input:focus-visible + .t2-pkg-in { box-shadow: 0 0 0 3px rgba(224, 185, 106, .35); }
body.theme2 .t2-pkg input:checked + .t2-pkg-in { background: rgba(60, 40, 12, .85); border: 2px solid var(--t2-gold-2); padding: 6px 7px 6px 27px; box-shadow: 0 0 12px rgba(224, 185, 106, .3); }
body.theme2 .t2-pkg input:checked + .t2-pkg-in::before { left: 8px; border-color: var(--t2-gold-2); background: radial-gradient(circle, var(--t2-gold-2) 0 38%, transparent 42%); }
body.theme2 .t2-pkg-name { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; }
body.theme2 .t2-pkg-name small { font-size: 11px; font-weight: 600; color: #E3DCC8; }
body.theme2 .t2-pkg-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; font-size: 15px; font-weight: 800; color: #F0CF86; }
body.theme2 .t2-pkg-price s { font-size: 10.5px; font-weight: 500; color: #C9C3B5; text-decoration-color: #F29A9A; }
body.theme2 .t2-pkg-save { position: absolute; top: -9px; right: 6px; padding: 1px 7px; font-size: 10px; font-style: normal; font-weight: 700; white-space: nowrap; color: #7DDC9A; background: #10241A; border: 1px solid rgba(95, 184, 120, .6); border-radius: 4px; }
body.theme2 .t2-pkg.is-disabled { cursor: default; opacity: .55; }
body.theme2 .t2-buyrow { display: flex; align-items: flex-end; gap: 10px; }
body.theme2 .t2-field { display: block; flex: 1 1 50%; min-width: 0; margin: 0; }
body.theme2 .t2-field > span { display: block; margin-bottom: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #D8D3C6; text-shadow: 0 1px 5px rgba(0, 0, 0, .9); }
body.theme2 .t2-field-total { text-align: right; }
body.theme2 .t2-accnote { font-size: 10.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #F0CF86; }
body.theme2 .t2-connect { width: 100%; height: 36px; padding: 0 10px; color-scheme: dark; color: #fff; font-size: 13.5px; font-weight: 700; background-color: #262B38; border: 1px solid rgba(255, 255, 255, .4); border-radius: 8px; cursor: pointer; }
body.theme2 .t2-connect.is-empty { color: #FFE9A8; font-weight: 600; }
body.theme2 .t2-connect:hover:not(:disabled) { border-color: var(--t2-gold); }
body.theme2 .t2-connect:focus { outline: 0; border-color: var(--t2-gold-2); box-shadow: 0 0 0 3px rgba(224, 185, 106, .25); }
body.theme2 .t2-connect:disabled { opacity: .5; cursor: not-allowed; }
body.theme2 .t2-connect option { background-color: #1E222C; color: #fff; }
body.theme2 .t2-total { font-size: 22px; line-height: 36px; font-weight: 800; color: #FFE9A8; white-space: nowrap; text-shadow: 0 2px 8px rgba(0, 0, 0, .9); }
body.theme2 .t2-pc .t2-btn-block { min-height: 40px; }
body.theme2 .t2-buy:disabled { background: #3A3F4C; border-color: #5A6070; color: #D8D3C6; opacity: 1; cursor: not-allowed; }
body.theme2 .t2-pc-feat { align-self: center; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
body.theme2 .t2-pc-feat li { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: #F3F0E8; text-shadow: 0 1px 6px rgba(0, 0, 0, .95); }
body.theme2 .t2-pc-feat i { flex: 0 0 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: var(--t2-gold-2); border: 1px solid rgba(224, 185, 106, .6); border-radius: 50%; background: rgba(8, 9, 13, .55); }
@media (max-width: 1180px) { body.theme2 .t2-ptypes { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
    body.theme2 .t2-pc-grid { grid-template-columns: 1fr; gap: 12px; }
    body.theme2 .t2-pc-feat { flex-direction: row; flex-wrap: wrap; gap: 6px 14px; }
    body.theme2 .t2-pc-name { font-size: 19px; }
    body.theme2 .t2-pkg-in { padding-left: 24px; }
    body.theme2 .t2-h2 em { display: none; }
}

/* ============ LỊCH SỬ THUÊ PROXY: bảng gọn (chỉ CSS, markup dùng chung với Theme 1) ============ */

body.theme2 .t2-pkg-name small { display: block; }
body.theme2 .t2-pkgs { min-height: 66px; }
body.theme2 .t2-pkg-in { min-height: 66px; }
body.theme2 .t2-field { flex: 1 1 56%; }
body.theme2 .t2-field-total { flex: 1 1 44%; }
body.theme2 .t2-pc-grid { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
body.theme2 .t2-pkgs { min-height: 76px; }
body.theme2 .t2-pkg-in { min-height: 76px; }
@media (max-width: 640px) {
    body.theme2 .t2-pc-grid { grid-template-columns: 1fr; gap: 12px; }
    body.theme2 .t2-pkgs { min-height: 0; }
    body.theme2 .t2-pkg-in { min-height: 70px; padding-left: 24px; padding-right: 4px; }
    body.theme2 .t2-pkg-price { font-size: 13.5px; }
}


/* ============ Theme 2: bảng cũ (dùng chung với Theme 1) bị ẩn, thay bằng .t2-hist ============ */
body.theme2 .t2-proxy > .row > .col-lg-12 { display: none !important; }
body.theme2 .t2-flag { width: 20px; height: 14px; margin-right: 2px; vertical-align: -2px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
body.theme2 .t2-pc-flag { display: inline-flex; align-items: center; gap: 6px; }
body.theme2 .t2-pc-flag .t2-flag { margin: 0; width: 22px; height: 15px; }
/* Mua ngay: trải hết chiều ngang nội dung của thẻ */
body.theme2 .t2-pc > .t2-btn-block { margin-top: 2px; min-height: 42px; }
body.theme2 .t2-buy:not(:disabled) { color: #20140A; background: linear-gradient(180deg, #F3D68F 0%, #C9A45C 100%); border-color: #E0B96A; box-shadow: 0 0 14px rgba(224, 185, 106, .4); }

.t2-hist { margin-top: 14px; background: var(--t2-bg-1); border: 1px solid rgba(224, 185, 106, .35); border-radius: 12px; overflow: hidden; }
.t2-hist-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.t2-hist-title { margin: 0; font-size: 16px; font-weight: 700; color: #F0CF86; }
.t2-hist-title i { margin-right: 8px; color: var(--t2-gold-2); }
.t2-hist-title small { font-size: 13px; font-weight: 600; color: #F0CF86; }
.t2-hist-all { padding: 6px 14px; font-size: 13px; white-space: nowrap; }
.t2-hist-all i { margin-left: 4px; }
.t2-hist-scroll { overflow-x: auto; }
.t2-histtable { width: 100%; min-width: 860px; border-collapse: collapse; color: #EAE6DB; font-size: 13px; }
.t2-histtable th { padding: 8px 10px; text-align: center; font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #F3F0E8; background: #232834; border-bottom: 1px solid rgba(255, 255, 255, .14); white-space: nowrap; }
.t2-histtable td { padding: 7px 10px; text-align: center; vertical-align: middle; border-top: 1px solid rgba(255, 255, 255, .08); }
.t2-histtable tbody tr:hover { background: rgba(224, 185, 106, .06); }
.t2-histtable tr.is-expired td { opacity: .85; }
.t2-histtable .c-stt { width: 44px; font-weight: 700; }
.t2-histtable .c-prod { text-align: left; min-width: 250px; max-width: 330px; }
.t2-histtable .c-buy b, .t2-histtable .c-exp b { display: block; color: #F6F2E8; }
.t2-histtable .c-buy small, .t2-histtable .c-exp small { display: block; font-size: 11px; color: #B8B3A8; }
.t2-hp-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; line-height: 1.25; }
.t2-hp-name b { color: #fff; font-size: 13.5px; }
.t2-hp-sub { font-size: 11.5px; color: #B8B3A8; }
.t2-hp-sub::before { content: "·"; margin-right: 6px; }
.t2-hp-code { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.t2-hp-code code { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; color: #F0CF86; background: transparent; padding: 0; }
.t2-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; border-radius: 6px; border: 1px solid transparent; }
.t2-pill-ok { color: #8BE0A4; background: rgba(95, 184, 120, .16); border-color: rgba(95, 184, 120, .5); }
.t2-pill-warn { color: #F6D88F; background: rgba(224, 185, 106, .16); border-color: rgba(224, 185, 106, .55); }
.t2-pill-bad { color: #F29A9A; background: rgba(215, 90, 90, .16); border-color: rgba(215, 90, 90, .5); }
.t2-pill-mute { color: #CFC9BB; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.t2-pill-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.t2-histtable .c-act { white-space: nowrap; }
.t2-hbtn { display: inline-flex; align-items: center; gap: 5px; margin: 2px 2px; padding: 5px 10px; font-size: 12px; font-weight: 700; line-height: 1.2; color: #F3F0E8; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); border-radius: 6px; cursor: pointer; }
.t2-hbtn:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.t2-hbtn-red { background: #B3261C; border-color: #D75A5A; color: #fff; }
.t2-hbtn-red:hover { background: #C8352B; }
.t2-hbtn-gold { background: #C9A45C; border-color: #E0B96A; color: #20140A; }
.t2-hbtn-gold:hover { background: #E0B96A; color: #20140A; }
.t2-hbtn-icon { flex: 0 0 auto; margin: 0; padding: 3px 7px; }
.t2-hbtn-icon i { color: #F0CF86; }
.t2-hist-empty { padding: 18px !important; color: #B8B3A8; }
@media (max-width: 640px) { .t2-hist-head { flex-wrap: wrap; } .t2-hist-title { font-size: 15px; } }

/* Bảng lịch sử: gọn để cả 4 nút thao tác nằm một hàng ở 1366px */
.t2-histtable { min-width: 0; table-layout: auto; }
.t2-histtable th { padding: 8px 6px; white-space: normal; line-height: 1.2; }
.t2-histtable td { padding: 6px 6px; }
.t2-histtable .c-stt { width: 36px; }
.t2-histtable .c-prod { min-width: 0; max-width: 250px; width: 250px; }
.t2-histtable .c-buy, .t2-histtable .c-exp { width: 84px; }
.t2-histtable .c-left { width: 86px; }
.t2-histtable .c-stat { width: 112px; }
.t2-histtable .c-act { width: 1%; }
.t2-hbtn { gap: 4px; margin: 2px 1px; padding: 4px 7px; font-size: 11.5px; }
.t2-pill { padding: 3px 8px; font-size: 11.5px; }
@media (max-width: 1180px) { .t2-histtable { min-width: 900px; } }
.t2-histtable .c-prod { max-width: 300px; width: 300px; }
.t2-histtable .c-buy, .t2-histtable .c-exp { width: 80px; }
.t2-histtable .c-left { width: 80px; }
.t2-histtable .c-stat { width: 104px; }
.t2-hp-name { flex-wrap: nowrap; white-space: nowrap; }
.t2-hp-sub { white-space: nowrap; }
.t2-hp-name b { flex: 0 0 auto; }

/* ==========================================================================
   DASHBOARD THEME 2 – gọn, vừa màn hình đầu (hero + 4 chỉ số đè lên ảnh + 5 thẻ dịch vụ)
   Chỉ dùng trong body.theme2 .t2-home (trang chủ). Không ảnh hưởng Theme 1 / trang Proxy.
   ========================================================================== */
body.theme2 .t2-hero.t2-dhero {
    height: auto !important; min-height: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
    padding: 14px 18px 14px; align-items: stretch;
    background-image:
        linear-gradient(90deg, rgba(8, 9, 13, 0) 0%, rgba(8, 9, 13, .2) 45%, rgba(8, 9, 13, .55) 100%),
        linear-gradient(0deg, rgba(8, 9, 13, .88) 0%, rgba(8, 9, 13, .4) 38%, rgba(8, 9, 13, 0) 62%),
        var(--t2-img, none);
    background-size: cover, cover, cover; background-position: center, center, 30% 24%;
}
body.theme2 .t2-dhero-main { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 0; }
body.theme2 .t2-dhero .t2-hero-spacer { flex: 1 1 18%; }
body.theme2 .t2-dhero .t2-hero-center { flex: 0 1 520px; padding: 0 10px; background: radial-gradient(ellipse at center, rgba(8, 9, 13, .45) 0%, rgba(8, 9, 13, 0) 70%); }
body.theme2 .t2-dhero .t2-hero-title { font-size: 44px; text-shadow: 0 2px 0 #8e2a1b, 0 4px 16px rgba(0, 0, 0, .85); }
body.theme2 .t2-dhero .t2-hero-sub { margin-top: 3px; font-size: 17px; letter-spacing: 2.5px; }
body.theme2 .t2-dhero .t2-hero-tag { margin: 6px 0 10px; font-size: 12.5px; letter-spacing: 1px; }
body.theme2 .t2-dhero .t2-hero-actions { gap: 10px; }
body.theme2 .t2-dhero .t2-hero-actions .t2-btn { min-height: 34px; padding-top: 6px; padding-bottom: 6px; }
body.theme2 .t2-dhero .t2-hero-card { flex: 0 0 224px; padding: 10px 14px; }
body.theme2 .t2-dhero .t2-hero-hello { font-size: 12.5px; }
body.theme2 .t2-dhero .t2-hero-user { display: inline; margin: 0; padding: 0; border: 0; font-size: 14.5px; }
body.theme2 .t2-dhero .t2-hero-balance-label { margin-top: 6px; font-size: 11.5px; }
body.theme2 .t2-dhero .t2-hero-balance-value { margin: 0 0 8px; font-size: 22px; }

/* 4 chỉ số: thẻ nhỏ, nền tối mờ đè lên ảnh để chữ luôn dễ đọc */
body.theme2 .t2-dhero .t2-stats { margin-top: 0; gap: 10px; }
body.theme2 .t2-dhero .t2-stat {
    min-height: 0; padding: 8px 12px; gap: 10px;
    background: linear-gradient(180deg, rgba(14, 12, 12, .8), rgba(10, 9, 9, .86));
    border-color: rgba(201, 164, 92, .28); backdrop-filter: blur(3px);
}
body.theme2 .t2-dhero .t2-stat-ic { flex: 0 0 36px; height: 36px; font-size: 16px; border-radius: 8px; }
body.theme2 .t2-dhero .t2-stat-label { font-size: 10.5px; line-height: 1.25; letter-spacing: .8px; color: #CFC9BB; }
body.theme2 .t2-dhero .t2-stat-num { font-size: 22px; line-height: 1.1; }
body.theme2 .t2-dhero .t2-stat-foot { font-size: 12px; line-height: 1.25; color: #E3DCCB; }

/* 5 thẻ dịch vụ: ảnh đầu thẻ thấp, tên đè lên ảnh */
body.theme2 .t2-h2#t2-services { margin: 14px 0 10px; }
body.theme2 .t2-services { gap: 12px; }
body.theme2 .t2-svc-img {
    flex: 0 0 112px; display: flex; align-items: flex-end; padding: 8px 12px;
    background-image: linear-gradient(0deg, rgba(10, 9, 9, .95) 0%, rgba(10, 9, 9, .45) 48%, rgba(10, 9, 9, 0) 100%), var(--t2-img, none);
}
body.theme2 .t2-svc-badge { top: 8px; bottom: auto; left: 10px; font-size: 10.5px; padding: 2px 8px; }
body.theme2 .t2-svc-name { position: relative; font-family: var(--t2-font); font-style: normal; display: flex; align-items: center; gap: 7px; margin: 0; font-size: 15px; line-height: 1.25; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .9); -webkit-line-clamp: unset; overflow: visible; }
body.theme2 .t2-svc-name .t2-flag { flex: 0 0 auto; margin: 0; width: 22px; height: 15px; }
body.theme2 .t2-svc-body { padding: 10px 12px 12px; }
body.theme2 .t2-svc-desc { flex: 1 1 auto; min-height: 0; margin: 0 0 8px; font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.theme2 .t2-svc-meta { margin-bottom: 10px; }
body.theme2 .t2-svc-price { font-size: 18px; line-height: 1.25; }
body.theme2 .t2-svc-stock { margin: 1px 0 0; font-size: 12px; }
body.theme2 .t2-svc .t2-btn { min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
body.theme2 .t2-cols { margin-top: 18px; }

@media (max-width: 1180px) {
    body.theme2 .t2-dhero .t2-stats { grid-template-columns: repeat(2, 1fr); }
    body.theme2 .t2-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    body.theme2 .t2-dhero-main { flex-direction: column; align-items: stretch; gap: 10px; }
    body.theme2 .t2-dhero .t2-hero-spacer { display: none; }
    body.theme2 .t2-dhero .t2-hero-card { flex: 0 0 auto; }
    body.theme2 .t2-dhero .t2-hero-title { font-size: 32px; }
    body.theme2 .t2-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    body.theme2 .t2-dhero .t2-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
    body.theme2 .t2-dhero .t2-stat { padding: 8px; gap: 8px; }
    body.theme2 .t2-dhero .t2-stat-ic { display: none; }
    body.theme2 .t2-services { grid-template-columns: 1fr; }
}

/* ==========================================================================
   BANNER "THÔNG BÁO & KHUYẾN MÃI" – bám theo 3 khung viền vàng VẼ SẴN trong ảnh recharge.* (2172x724).
   Toạ độ khung đo từ ảnh gốc (px): x = 730..1173 | 1202..1645 | 1673..2117, y = 309..543.
   => left 33.61% / 55.34% / 77.02%, width 20.40%, top 42.68%, height 32.32% (theo % kích thước ảnh).
   Banner giữ đúng tỉ lệ ảnh (aspect-ratio) và ảnh phủ 100% x 100% nên nội dung luôn khớp khung ở mọi độ rộng.
   Cỡ chữ/icon tính theo cqw (độ rộng banner). Không vẽ viền/nền CSS thêm: khung và nền lấy từ ảnh.
   ========================================================================== */
body.theme2 .t2-promo {
    position: relative; container-type: inline-size; aspect-ratio: 2172 / 724; padding: 0; margin: 0; min-height: 0;
    display: block; overflow: hidden; border: 0; border-radius: 8px;
    background-color: var(--t2-brown); background-image: var(--t2-img, none); background-size: 100% 100%; background-position: center; background-repeat: no-repeat;
}
body.theme2 .t2-promo-title {
    position: absolute; left: 33.6%; width: 63.8%; top: 7%; height: 31%; margin: 0;
    display: flex; align-items: center; justify-content: center; text-align: center;
    font-family: var(--t2-font); font-style: normal; font-weight: 700; text-transform: uppercase;
    font-size: max(12px, 2.85cqw); line-height: 1.2; letter-spacing: .02em; color: #FFE7A8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 0 12px rgba(0, 0, 0, .75);
}
body.theme2 .t2-promo-tiers { position: absolute; inset: 0; margin: 0; pointer-events: none; }
body.theme2 .t2-tier {
    --tc: 224, 185, 106; position: absolute; top: 42.68%; width: 20.40%; height: 32.32%; box-sizing: border-box; min-width: 0; padding: 0; margin: 0;
    display: grid; grid-template-columns: auto auto; grid-template-areas: "ic bonus" "range range"; justify-content: center; align-content: center; align-items: center; column-gap: 1.1cqw; row-gap: .5cqw;
    background: none; border: 0; box-shadow: none; border-radius: 0; text-align: center;
}
body.theme2 .t2-tier:nth-child(1) { left: 33.61%; }
body.theme2 .t2-tier:nth-child(2) { left: 55.34%; }
body.theme2 .t2-tier:nth-child(3) { left: 77.02%; }
body.theme2 .t2-tier:nth-child(n+4) { display: none; }
body.theme2 .t2-tier-1 { --tc: 52, 211, 182; } body.theme2 .t2-tier-2 { --tc: 224, 185, 106; } body.theme2 .t2-tier-3 { --tc: 255, 150, 60; }
body.theme2 .t2-tier-ic { grid-area: ic; width: 4.2cqw; height: 4.2cqw; display: flex; align-items: center; justify-content: center; font-size: 2cqw; line-height: 1; color: rgb(var(--tc)); background: rgba(var(--tc), .16); border: 1px solid rgba(var(--tc), .55); border-radius: 50%; }
body.theme2 .t2-tier-ic i { display: block; line-height: 1; }
body.theme2 .t2-tier-txt { display: contents; }
body.theme2 .t2-tier-bonus { grid-area: bonus; font-size: 4.6cqw; line-height: 1; font-weight: 800; color: rgb(var(--tc)); text-shadow: 0 0 10px rgba(var(--tc), .4), 0 1px 2px rgba(0, 0, 0, .8); }
body.theme2 .t2-tier-range { grid-area: range; font-size: max(9.5px, 2.05cqw); line-height: 1.1; font-weight: 700; white-space: nowrap; color: #F1E6CC; text-shadow: 0 1px 2px rgba(0, 0, 0, .9); }
body.theme2 .t2-promo-tiers .t2-promo-none { position: absolute; left: 33.61%; width: 63.4%; top: 42.68%; height: 32.32%; padding: 0; display: flex; align-items: center; justify-content: center; text-align: center; color: #F1E6CC; }
@media (max-width: 480px) {
    body.theme2 .t2-tier-ic { display: none; }
    body.theme2 .t2-tier { grid-template-columns: auto; grid-template-areas: "bonus" "range"; }
    body.theme2 .t2-tier-bonus { font-size: max(14px, 4.6cqw); }
    body.theme2 .t2-tier-range { font-size: 9px; }
    body.theme2 .t2-promo-title { font-size: 12px; }
}

/* ==========================================================================
   TRANG PHBOT / CLONE THEME 2 (client/accounts) – chỉ áp dụng khi body.theme2
   ========================================================================== */
/* --- Banner + trung tâm hướng dẫn (3 hàng x 2 thẻ) --- */
body.theme2 .t2-hero.t2-achero {
    height: auto !important; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 16px; padding: 26px 30px 24px;
    background-image:
        linear-gradient(90deg, rgba(8, 9, 13, .92) 0%, rgba(8, 9, 13, .74) 45%, rgba(8, 9, 13, .5) 100%),
        linear-gradient(0deg, rgba(8, 9, 13, .7) 0%, rgba(8, 9, 13, .1) 55%),
        var(--t2-img, none);
    background-size: cover, cover, cover; background-position: center, center, 50% 25%;
}
body.theme2 .t2-achero-in { max-width: 760px; text-align: left; }
body.theme2 .t2-achero .t2-hero-title { font-size: 46px; text-shadow: 0 2px 0 #8e2a1b, 0 4px 16px rgba(0, 0, 0, .85); }
body.theme2 .t2-achero-sub { margin-top: 8px; font-family: var(--t2-font); font-size: 16px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--t2-gold-2); text-shadow: 0 2px 12px rgba(0, 0, 0, .9); }
body.theme2 .t2-achero-tag { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: #F6E4B8; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
body.theme2 .t2-ac-gtitle { margin: 0 0 8px; font-family: var(--t2-font); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--t2-gold-2); text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
body.theme2 .t2-ac-gtitle i { margin-right: 8px; }
body.theme2 .t2-gl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.theme2 .t2-gcard { --gc: #E0B96A; display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: 12px 14px; background: rgba(10, 11, 16, .84); border: 1px solid rgba(255, 255, 255, .12); border-left: 3px solid var(--gc); border-radius: 10px; backdrop-filter: blur(3px); }
body.theme2 .t2-gcard.t2-g-red { --gc: #D75A5A; }
body.theme2 .t2-gcard.t2-g-gold { --gc: #E0B96A; }
body.theme2 .t2-gic { flex: 0 0 42px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; color: var(--gc); background: rgba(255, 255, 255, .05); border: 1px solid var(--gc); border-radius: 10px; }
body.theme2 .t2-gtx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-size: 13.5px; line-height: 1.5; color: #D9D4C7; }
body.theme2 .t2-gtx b { font-family: var(--t2-font); font-size: 14.5px; font-weight: 700; color: #fff; }
body.theme2 .t2-gtx strong { color: #fff; }
body.theme2 .t2-gtx a { font-weight: 700; text-decoration: underline; }
body.theme2 .t2-gtx code { color: #F0CF86; background: rgba(255, 255, 255, .08); padding: 1px 6px; border-radius: 4px; }
body.theme2 .t2-home .t2-gtx a.t2-gbtn { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; padding: 6px 14px; font-size: 13px; font-weight: 700; text-decoration: none; color: #fff; background: linear-gradient(180deg, #D4372B, #A31F16); border: 1px solid rgba(255, 150, 130, .5); border-radius: 7px; }
body.theme2 .t2-home .t2-gtx a.t2-gbtn:hover { color: #fff; background: linear-gradient(180deg, #E4493C, #B3261C); }

/* --- Ba thẻ sản phẩm ngang --- */
body.theme2 .t2-ac-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; align-items: stretch; }
body.theme2 .t2-pcard { --pc: #E0B96A; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-width: 0; padding: 16px; background: linear-gradient(180deg, #151820 0%, #0E1016 100%); border: 1px solid rgba(224, 185, 106, .45); border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05); }
body.theme2 .t2-pcard.is-bot { --pc: #4FC3D9; }
body.theme2 .t2-pcard.is-vip { --pc: #5FB878; }
body.theme2 .t2-pcard-top { display: flex; gap: 14px; align-items: flex-start; }
body.theme2 .t2-pcard-img { position: relative; flex: 0 0 104px; width: 104px; height: 104px; display: flex; align-items: flex-end; justify-content: flex-end; padding: 6px; overflow: hidden; font-size: 17px; color: var(--pc); background-color: var(--t2-bg-2); background-image: var(--t2-img, none); background-size: cover; background-position: center; border: 1px solid var(--pc); border-radius: 10px; }
body.theme2 .t2-pcard-img i { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: rgba(8, 9, 13, .78); border: 1px solid var(--pc); border-radius: 7px; }
body.theme2 .t2-pcard-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
body.theme2 .t2-pcard-name { margin: 0; font-family: var(--t2-font); font-size: 16px; line-height: 1.3; font-weight: 700; color: #fff; }
body.theme2 .t2-pcard-desc { margin: 0; font-size: 13px; line-height: 1.5; color: var(--t2-text-2); }
body.theme2 .t2-pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
body.theme2 .t2-pcard-price small { display: block; font-size: 11.5px; letter-spacing: .5px; text-transform: uppercase; color: var(--t2-text-3); }
body.theme2 .t2-pcard-price b { display: block; font-size: 22px; line-height: 1.2; font-weight: 800; white-space: nowrap; color: #F0CF86; text-shadow: 0 0 14px rgba(224, 185, 106, .35); }
body.theme2 .t2-ac-buy { min-height: 40px; padding: 8px 18px; font-size: 14px; }

/* --- Lịch sử mua tài khoản (panel đóng khung) --- */
body.theme2 .t2-hist.t2-ac-hist { margin-top: 14px; padding: 16px 18px 12px; background: linear-gradient(180deg, #151820 0%, #0E1016 100%); border: 1px solid rgba(224, 185, 106, .5); border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05); }
body.theme2 .t2-ac-hist .t2-hist-head { flex-wrap: wrap; padding: 0 0 14px; border-bottom: 0; }
body.theme2 .t2-ac-hist .t2-hist-title { font-family: var(--t2-font); font-size: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
body.theme2 .t2-ac-hist .t2-hist-title small { font-size: inherit; font-weight: inherit; }
body.theme2 .t2-ac-hright { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
body.theme2 .t2-ac-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
body.theme2 .t2-tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; font-size: 12.5px; font-weight: 700; color: var(--t2-text-2); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; cursor: pointer; }
body.theme2 .t2-tab:hover { color: var(--t2-text); background: rgba(255, 255, 255, .1); }
body.theme2 .t2-tab.active-phbot { color: #fff; background: rgba(79, 195, 217, .22); border-color: #4FC3D9; }
body.theme2 .t2-tab.active-clone { color: #20140A; background: linear-gradient(180deg, #F3D68F, #C9A45C); border-color: #E0B96A; }
body.theme2 .t2-tab.active-noobvip { color: #fff; background: rgba(95, 184, 120, .28); border-color: #5FB878; }
body.theme2 .t2-ac-hbody { border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: rgba(8, 9, 13, .55); overflow: hidden; }
body.theme2 .t2-ac-hbody .t2-hist-scroll { overflow-x: auto; }
body.theme2 .t2-acctable { width: 100%; min-width: 640px; border-collapse: collapse; }
body.theme2 .t2-acctable th { padding: 11px 14px; background: #1C2029; border-bottom: 1px solid rgba(224, 185, 106, .35); }
body.theme2 .t2-acctable td { padding: 10px 14px; border-top: 1px solid rgba(255, 255, 255, .07); }
body.theme2 .t2-acctable tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
body.theme2 .t2-al, body.theme2 .t2-histtable th.t2-al, body.theme2 .t2-histtable td.t2-al { text-align: left; }
body.theme2 .t2-acctable td:first-child { white-space: nowrap; }
body.theme2 .t2-nowrap { white-space: nowrap; }
body.theme2 .t2-pname { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--t2-text); }
body.theme2 .t2-pname b { font-family: var(--t2-font); font-weight: 700; }
body.theme2 .t2-pname.is-bot b { color: #8FDDEB; }
body.theme2 .t2-pname.is-clone b { color: #F0CF86; }
body.theme2 .t2-pname.is-vip b { color: #8BE0A4; }
body.theme2 .t2-acctable .t2-hp-code { max-width: 460px; }
body.theme2 .t2-hbtn.t2-hbtn-cyan { color: #E6FBFF; background: rgba(79, 195, 217, .2); border-color: #4FC3D9; }
body.theme2 .t2-hbtn.t2-hbtn-cyan:hover { background: rgba(79, 195, 217, .38); color: #fff; }
body.theme2 .t2-ac-foot { padding: 12px 4px 2px; text-align: center; font-size: 13.5px; font-weight: 700; }

@media (max-width: 1250px) { body.theme2 .t2-ac-products { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { body.theme2 .t2-gl { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
    body.theme2 .t2-hero.t2-achero { padding: 18px 14px; }
    body.theme2 .t2-achero .t2-hero-title { font-size: 32px; }
    body.theme2 .t2-achero-sub { font-size: 13px; letter-spacing: 1px; }
    body.theme2 .t2-achero-tag { font-size: 13px; }
    body.theme2 .t2-pcard-img { flex-basis: 84px; width: 84px; height: 84px; }
    body.theme2 .t2-hist.t2-ac-hist { padding: 14px 12px 10px; }
}

/* --- Hero chỉ chứa 6 thẻ hướng dẫn (đã bỏ tiêu đề/slogan/mô tả) --- */
body.theme2 .t2-hero.t2-achero { justify-content: center; min-height: 360px; padding: 30px 34px; background-image: linear-gradient(90deg, rgba(8, 9, 13, .55) 0%, rgba(8, 9, 13, .3) 50%, rgba(8, 9, 13, .5) 100%), linear-gradient(0deg, rgba(8, 9, 13, .45) 0%, rgba(8, 9, 13, 0) 55%), var(--t2-img, none); }
body.theme2 .t2-ac-gtitle { margin: 0 0 12px; font-size: 15px; }
body.theme2 .t2-achero .t2-gl { gap: 14px; grid-auto-rows: 1fr; }
body.theme2 .t2-achero .t2-gcard { padding: 16px 18px; gap: 16px; align-items: center; background: rgba(8, 9, 13, .66); }
body.theme2 .t2-achero .t2-gic { flex-basis: 48px; width: 48px; height: 48px; font-size: 21px; }
body.theme2 .t2-achero .t2-gtx { font-size: 14px; }
body.theme2 .t2-achero .t2-gtx b { font-size: 15.5px; }
@media (max-width: 900px) { body.theme2 .t2-hero.t2-achero { min-height: 0; } }
@media (max-width: 640px) { body.theme2 .t2-hero.t2-achero { padding: 16px 12px; } body.theme2 .t2-achero .t2-gcard { padding: 12px; gap: 12px; } body.theme2 .t2-achero .t2-gic { flex-basis: 40px; width: 40px; height: 40px; font-size: 18px; } }

/* --- Font thống nhất cho trang PHBot / Clone (DM Sans không có glyph tiếng Việt → dùng chồng font đủ dấu; không đụng icon & code) --- */
body.theme2 .t2-accounts, body.theme2 .t2-accounts *:not(i):not(code):not(.fa):not([class*="fa-"]) { font-family: var(--t2-font); }

/* ==========================================================================
   TRANG THUÊ OTP + LỊCH SỬ THUÊ SỐ THEME 2 (client/otp-order, client/otp-history) – chỉ áp dụng khi body.theme2
   ========================================================================== */
body.theme2 .t2-otp, body.theme2 .t2-otp *:not(i):not(code):not(.fa):not([class*="fa-"]), body.theme2 .t2-otpmodal, body.theme2 .t2-otpmodal *:not(i):not(.fa):not([class*="fa-"]) { font-family: var(--t2-font); }

/* --- Tab điều hướng Thuê số / Lịch sử --- */
body.theme2 .t2-otp-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
body.theme2 .t2-otp-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; font-size: 14px; font-weight: 700; color: var(--t2-text-2); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; }
body.theme2 .t2-home a.t2-otp-tab:hover { color: #fff; background: rgba(255, 255, 255, .1); }
body.theme2 .t2-otp-tab.is-active { color: #20140A; background: linear-gradient(180deg, #F3D68F, #C9A45C); border-color: #E0B96A; box-shadow: 0 0 14px rgba(224, 185, 106, .3); }

/* --- Khung (card) --- */
body.theme2 .t2-otp-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; align-items: stretch; }
body.theme2 .t2-otp-card { min-width: 0; margin-bottom: 14px; background: linear-gradient(180deg, #151820 0%, #0E1016 100%); border: 1px solid rgba(224, 185, 106, .45); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05); }
body.theme2 .t2-otp-cols .t2-otp-card { margin-bottom: 0; }
body.theme2 .t2-otp-head { padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
body.theme2 .t2-otp-head-img { background-color: var(--t2-bg-2); background-image: linear-gradient(90deg, rgba(8, 9, 13, .92) 0%, rgba(8, 9, 13, .6) 60%, rgba(8, 9, 13, .35) 100%), var(--t2-img, none); background-size: cover, cover; background-position: center, 50% 40%; }
body.theme2 .t2-otp-head-flex { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
body.theme2 .t2-otp-title { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--t2-gold-2); }
body.theme2 .t2-otp-title i { margin-right: 8px; }
body.theme2 .t2-otp-body { padding: 16px 18px; }

/* --- Bộ lọc + select2 --- */
body.theme2 .t2-otp-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
body.theme2 .t2-otp-field { min-width: 0; }
body.theme2 .t2-otp-field label { display: block; margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .4px; color: var(--t2-text-2); }
body.theme2 .t2-otp-field .form-control { background: #0B0C11; color: var(--t2-text); }
body.theme2 .select2-container--default .select2-selection--multiple, body.theme2 .select2-container--default .select2-selection--single { min-height: 40px; background: #0B0C11 !important; border: 1px solid rgba(224, 185, 106, .45) !important; border-radius: 8px !important; }
body.theme2 .select2-container--default.select2-container--focus .select2-selection--multiple { border-color: var(--t2-gold-2) !important; }
body.theme2 .select2-container--default .select2-selection--multiple .select2-selection__rendered { padding: 2px 6px; }
body.theme2 .select2-container--default .select2-selection--multiple .select2-selection__choice { margin-top: 6px; color: #20140A; background: linear-gradient(180deg, #F3D68F, #C9A45C); border: 1px solid #E0B96A; border-radius: 6px; font-weight: 700; }
body.theme2 .select2-container--default .select2-selection--multiple .select2-selection__choice__remove { color: #20140A; }
body.theme2 .select2-container--default .select2-search--inline .select2-search__field, body.theme2 .select2-container--default .select2-selection__placeholder { color: var(--t2-text-2); }
body.theme2 .select2-dropdown { background: #151820; color: var(--t2-text); border: 1px solid rgba(224, 185, 106, .45); }
body.theme2 .select2-container--default .select2-results__option { color: var(--t2-text); }
body.theme2 .select2-container--default .select2-results__option--highlighted[aria-selected], body.theme2 .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: rgba(224, 185, 106, .25); color: #fff; }
body.theme2 .select2-container--default .select2-results__option[aria-selected=true], body.theme2 .select2-container--default .select2-results__option--selected { background: rgba(255, 255, 255, .08); color: var(--t2-gold-2); }
body.theme2 .select2-container--default .select2-search--dropdown .select2-search__field { background: #0B0C11; color: var(--t2-text); border: 1px solid var(--t2-line); }

/* --- Danh sách dịch vụ --- */
body.theme2 .t2-otp-services { display: grid; gap: 10px; }
body.theme2 .t2-otp-svc { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .1); border-left: 3px solid var(--t2-gold-2); border-radius: 10px; }
body.theme2 .t2-otp-svc:hover { background: rgba(224, 185, 106, .07); }
body.theme2 .t2-otp-no { flex: 0 0 30px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: var(--t2-gold-2); background: rgba(224, 185, 106, .12); border: 1px solid rgba(224, 185, 106, .45); border-radius: 50%; }
body.theme2 .t2-otp-svc-info { flex: 1 1 auto; min-width: 0; }
body.theme2 .t2-otp-svc-info b { display: block; font-size: 16px; line-height: 1.3; color: #fff; word-break: break-word; }
body.theme2 .t2-otp-svc-info small { display: block; margin-top: 2px; font-size: 12.5px; color: #8BE0A4; }
body.theme2 .t2-otp-price { flex: 0 0 auto; padding: 4px 12px; font-size: 16px; font-weight: 800; white-space: nowrap; color: #F0CF86; background: rgba(224, 185, 106, .12); border: 1px solid rgba(224, 185, 106, .45); border-radius: 6px; }
body.theme2 .t2-otp-buy { flex: 0 0 auto; min-height: 38px; padding: 7px 18px; font-size: 14px; }
body.theme2 .t2-otp-empty { padding: 18px; text-align: center; color: var(--t2-text-2); border: 1px dashed rgba(255, 255, 255, .2); border-radius: 10px; }

/* --- Lưu ý & hướng dẫn --- */
body.theme2 .t2-otp-notes { display: grid; gap: 10px; }
body.theme2 .t2-otp-notes-wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
body.theme2 .t2-onote { --nc: #E0B96A; display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .1); border-left: 3px solid var(--nc); border-radius: 10px; }
body.theme2 .t2-onote.t2-on-cyan { --nc: #4FC3D9; }
body.theme2 .t2-onote.t2-on-green { --nc: #5FB878; }
body.theme2 .t2-oic { flex: 0 0 40px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; color: var(--nc); background: rgba(255, 255, 255, .05); border: 1px solid var(--nc); border-radius: 10px; }
body.theme2 .t2-otx { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 13.5px; line-height: 1.5; color: #D9D4C7; }
body.theme2 .t2-otx b { font-size: 14.5px; font-weight: 700; color: #fff; }
body.theme2 .t2-home a.t2-obtn { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; font-size: 13px; font-weight: 700; text-decoration: none; color: #F0CF86; background: rgba(224, 185, 106, .12); border: 1px solid rgba(224, 185, 106, .5); border-radius: 7px; }
body.theme2 .t2-home a.t2-obtn:hover { color: #fff; background: rgba(224, 185, 106, .25); }
body.theme2 .t2-home a.t2-obtn-zalo { color: #fff; background: linear-gradient(180deg, #2B7BFF, #0058E0); border-color: rgba(140, 190, 255, .6); }
body.theme2 .t2-home a.t2-obtn-zalo:hover { background: linear-gradient(180deg, #4A90FF, #0A66F0); }

/* --- Lịch sử thuê số (bảng ban đầu và bảng DataTable do AJAX nạp lại) --- */
body.theme2 .t2-otp-hbody { padding: 14px 16px 16px; }
body.theme2 .t2-otp-auto.custom-control { min-height: 0; padding: 7px 14px 7px 44px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; }
body.theme2 .t2-otp-auto .custom-control-label { font-size: 13px; font-weight: 700; color: var(--t2-text); cursor: pointer; }
body.theme2 .t2-otp-auto .custom-control-label i { margin-right: 4px; color: var(--t2-gold-2); }
body.theme2 .t2-otp-auto .custom-control-label::before { background-color: #0B0C11; border-color: rgba(224, 185, 106, .6); }
body.theme2 .t2-otp-auto .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--t2-gold); border-color: var(--t2-gold-2); }
body.theme2 .t2-otp-hist #loadHistoryOTP { border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: rgba(8, 9, 13, .55); overflow-x: auto; }
body.theme2 .t2-otp-hist #loadHistoryOTP table { width: 100%; min-width: 760px; margin: 0; color: #EAE6DB; background: transparent; border-collapse: collapse; font-size: 13.5px; }
body.theme2 .t2-otp-hist #loadHistoryOTP thead th { padding: 11px 12px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap; color: #F3F0E8; background: #1C2029; border: 0; border-bottom: 1px solid rgba(224, 185, 106, .35); }
body.theme2 .t2-otp-hist #loadHistoryOTP tbody td { padding: 10px 12px; vertical-align: middle; color: #EAE6DB; background: transparent; border: 0; border-top: 1px solid rgba(255, 255, 255, .07); }
body.theme2 .t2-otp-hist #loadHistoryOTP tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
body.theme2 .t2-otp-hist #loadHistoryOTP tbody tr:hover td { background: rgba(224, 185, 106, .07); }
body.theme2 .t2-otp-hist #loadHistoryOTP .text-dark, body.theme2 .t2-otp-hist #loadHistoryOTP b { color: #fff !important; }
body.theme2 .t2-otp-hist #loadHistoryOTP .text-muted, body.theme2 .t2-otp-hist #loadHistoryOTP .text-secondary { color: #B8B3A8 !important; }
body.theme2 .t2-otp-hist #loadHistoryOTP b[style], body.theme2 .t2-otp-hist #loadHistoryOTP .price-text { color: #F0CF86 !important; font-weight: 800; background: transparent; }
body.theme2 .t2-otp-hist #loadHistoryOTP .code-badge { display: inline-block; padding: 2px 10px; font-family: SFMono-Regular, Menlo, Consolas, monospace; font-weight: 800; letter-spacing: 1px; color: #8BE0A4; background: rgba(95, 184, 120, .16); border: 1px solid rgba(95, 184, 120, .5); border-radius: 6px; }
body.theme2 .t2-otp-hist #loadHistoryOTP .badge { display: inline-block; padding: 4px 10px; font-size: 12px; font-weight: 700; border-radius: 6px; border: 1px solid transparent; }
body.theme2 .t2-otp-hist #loadHistoryOTP .badge.bg-success { color: #8BE0A4 !important; background: rgba(95, 184, 120, .16) !important; border-color: rgba(95, 184, 120, .5); }
body.theme2 .t2-otp-hist #loadHistoryOTP .badge.bg-danger { color: #F29A9A !important; background: rgba(215, 90, 90, .16) !important; border-color: rgba(215, 90, 90, .5); }
body.theme2 .t2-otp-hist #loadHistoryOTP .badge.bg-warning { color: #F6D88F !important; background: rgba(224, 185, 106, .16) !important; border-color: rgba(224, 185, 106, .55); }
body.theme2 .t2-otp-hist #loadHistoryOTP .badge.bg-info { color: #8FDDEB !important; background: rgba(79, 195, 217, .16) !important; border-color: rgba(79, 195, 217, .5); }
body.theme2 .t2-otp-hist #loadHistoryOTP .copy { display: inline-flex; align-items: center; justify-content: center; margin-left: 4px; padding: 3px 8px; line-height: 1.2; color: #E6FBFF; background: rgba(79, 195, 217, .18) !important; border: 1px solid #4FC3D9 !important; border-radius: 6px; box-shadow: none; }
body.theme2 .t2-otp-hist #loadHistoryOTP .copy:hover { background: rgba(79, 195, 217, .38) !important; }
body.theme2 .t2-otp-hist #loadHistoryOTP .copy i { color: #E6FBFF !important; }
/* DataTables (bảng AJAX) */
body.theme2 .t2-otp-hist .dataTables_wrapper { padding: 10px 12px; color: var(--t2-text-2); }
body.theme2 .t2-otp-hist .dataTables_wrapper .dataTables_length, body.theme2 .t2-otp-hist .dataTables_wrapper .dataTables_filter, body.theme2 .t2-otp-hist .dataTables_wrapper .dataTables_info, body.theme2 .t2-otp-hist .dataTables_wrapper label { color: var(--t2-text-2); font-size: 13px; }
body.theme2 .t2-otp-hist .dataTables_wrapper input, body.theme2 .t2-otp-hist .dataTables_wrapper select { color: var(--t2-text); background: #0B0C11; border: 1px solid rgba(224, 185, 106, .45); border-radius: 6px; }
body.theme2 .t2-otp-hist .page-link, body.theme2 .t2-otp-hist .paginate_button { color: var(--t2-text) !important; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .18); }
body.theme2 .t2-otp-hist .page-item.active .page-link, body.theme2 .t2-otp-hist .paginate_button.current { color: #20140A !important; background: linear-gradient(180deg, #F3D68F, #C9A45C) !important; border-color: #E0B96A !important; }
body.theme2 .t2-otp-hist .page-item.disabled .page-link { opacity: .5; }

/* --- Modal xác nhận thuê (chỉ khi file chính gắn lớp t2-otpmodal ở Theme 2) --- */
body.theme2 .t2-otpmodal .modal-content { background: #0E1016 !important; background-image: none !important; color: var(--t2-text-2); border: 1px solid rgba(224, 185, 106, .45) !important; border-radius: 12px !important; }
body.theme2 .t2-otpmodal .modal-header { background: #151820 !important; border-bottom: 1px solid rgba(255, 255, 255, .1) !important; }
body.theme2 .t2-otpmodal .modal-title { color: var(--t2-gold-2) !important; letter-spacing: .6px; }
body.theme2 .t2-otpmodal .close { color: #F3F0E8 !important; text-shadow: none; opacity: .8; }
body.theme2 .t2-otpmodal label { color: var(--t2-text-2) !important; }
body.theme2 .t2-otpmodal .form-control { color: var(--t2-text) !important; background: #0B0C11 !important; border: 1px solid rgba(224, 185, 106, .45) !important; border-radius: 8px !important; }
body.theme2 .t2-otpmodal .form-control:focus { border-color: var(--t2-gold-2) !important; box-shadow: 0 0 0 2px rgba(224, 185, 106, .2); }
body.theme2 .t2-otpmodal .card.bg-light { background: rgba(255, 255, 255, .04) !important; border: 1px solid var(--t2-line) !important; }
body.theme2 .t2-otpmodal .text-muted { color: var(--t2-text-2) !important; }
body.theme2 .t2-otpmodal #total { color: #F0CF86 !important; }
body.theme2 .t2-otpmodal .btn-primary { color: #20140A !important; background: linear-gradient(180deg, #F3D68F, #C9A45C) !important; border-color: #E0B96A !important; }
body.theme2 .t2-otpmodal .btn:disabled { opacity: .5; }

@media (max-width: 1100px) { body.theme2 .t2-otp-cols { grid-template-columns: minmax(0, 1fr); } body.theme2 .t2-otp-cols .t2-otp-card { margin-bottom: 14px; } }
@media (max-width: 640px) {
    body.theme2 .t2-otp-filters { grid-template-columns: minmax(0, 1fr); }
    body.theme2 .t2-otp-svc { flex-wrap: wrap; gap: 10px; }
    body.theme2 .t2-otp-svc-info { flex-basis: calc(100% - 50px); }
    body.theme2 .t2-otp-price { margin-left: 40px; }
    body.theme2 .t2-otp-buy { margin-left: auto; }
    body.theme2 .t2-otp-body, body.theme2 .t2-otp-hbody { padding: 12px; }
    body.theme2 .t2-otp-notes-wide { grid-template-columns: minmax(0, 1fr); }
    body.theme2 .t2-otp-tab { flex: 1 1 auto; justify-content: center; padding: 9px 12px; }
}
body.theme2 .t2-otp-hist #loadHistoryOTP tbody td:nth-child(3), body.theme2 .t2-otp-hist #loadHistoryOTP tbody td:nth-child(4) { white-space: nowrap; }
body.theme2 .t2-otp-hist #loadHistoryOTP tbody td span:not(.badge):not(.code-badge):not(.price-text):not(.text-muted) { color: #fff; }

/* ==========================================================================
   TRANG NẠP TIỀN THEME 2 (client/recharge) – chỉ áp dụng khi body.theme2
   Dùng lại .t2-otp-card/.t2-otp-head/.t2-otp-title/.t2-onote của trang OTP.
   ========================================================================== */
body.theme2 .t2-rc, body.theme2 .t2-rc *:not(i):not(code):not(.fa):not([class*="fa-"]), body.theme2 .t2-qrmodal, body.theme2 .t2-qrmodal *:not(i):not(.fa):not([class*="fa-"]) { font-family: var(--t2-font); }
body.theme2 .t2-rc-cols { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 14px; align-items: stretch; }
body.theme2 .t2-rc-cols .t2-otp-card { margin-bottom: 0; }
body.theme2 .t2-rc-hist { margin-top: 14px; }
body.theme2 .t2-onote.t2-on-red { --nc: #D75A5A; }

/* Ưu đãi */
body.theme2 .t2-rc-promo { margin-bottom: 16px; padding: 12px 14px; background: rgba(224, 185, 106, .06); border: 1px dashed rgba(224, 185, 106, .55); border-radius: 10px; }
body.theme2 .t2-rc-promo-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: #F0CF86; }
body.theme2 .t2-rc-promo-head i { margin-right: 6px; }
body.theme2 .t2-rc-promo-head em { font-style: normal; padding: 1px 8px; font-size: 11px; font-weight: 800; letter-spacing: .6px; color: #fff; background: #C23B30; border-radius: 5px; }
body.theme2 .t2-rc-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; }
body.theme2 .t2-rc-tier { padding: 8px 6px; text-align: center; background: rgba(8, 9, 13, .55); border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; transition: border-color .15s, background .15s; }
body.theme2 .t2-rc-tier small { display: block; font-size: 11.5px; color: var(--t2-text-3); }
body.theme2 .t2-rc-tier b { display: block; margin-top: 2px; font-size: 17px; line-height: 1.2; font-weight: 800; color: #F0CF86; }
body.theme2 .t2-rc-tier.is-hit { background: rgba(95, 184, 120, .16); border-color: #5FB878; }
body.theme2 .t2-rc-tier.is-hit b { color: #8BE0A4; }
body.theme2 .t2-rc-nopromo { font-size: 13px; color: var(--t2-text-3); }

/* Ô nhập + mốc nhanh */
body.theme2 .t2-rc-label { display: block; margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .4px; color: var(--t2-text-2); }
body.theme2 .t2-rc-label i { margin-right: 6px; color: var(--t2-gold-2); }
body.theme2 .t2-rc-inputwrap { position: relative; }
body.theme2 .t2-rc-input { display: block; width: 100%; height: 48px; padding: 0 44px 0 16px; font-size: 18px; font-weight: 700; color: var(--t2-text); background: #0B0C11; border: 1px solid rgba(224, 185, 106, .45); border-radius: 10px; outline: 0; -moz-appearance: textfield; }
body.theme2 .t2-rc-input::-webkit-outer-spin-button, body.theme2 .t2-rc-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.theme2 .t2-rc-input::placeholder { font-size: 14px; font-weight: 400; color: var(--t2-text-3); }
body.theme2 .t2-rc-input:focus { border-color: var(--t2-gold-2); box-shadow: 0 0 0 2px rgba(224, 185, 106, .2); }
body.theme2 .t2-rc-unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--t2-gold-2); pointer-events: none; }
body.theme2 .t2-rc-receive { margin-top: 8px; font-size: 13px; font-weight: 700; color: #8BE0A4; }
body.theme2 .t2-rc-receive[hidden] { display: none; }
body.theme2 .t2-rc-form .t2-otp-body { display: flex; flex-direction: column; height: calc(100% - 56px); }
body.theme2 .t2-rc-presets { flex: 1 1 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(42px, 72px); gap: 10px; margin: 12px 0 16px; }
body.theme2 .t2-rc-preset { padding: 9px 4px; font-size: 13.5px; font-weight: 700; color: var(--t2-text); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; cursor: pointer; transition: all .15s; }
body.theme2 .t2-rc-preset:hover, body.theme2 .t2-rc-preset.active { color: #F0CF86; background: rgba(224, 185, 106, .16); border-color: var(--t2-gold-2); }
body.theme2 .t2-rc-submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; font-size: 15px; cursor: pointer; }
body.theme2 .t2-rc-submit:disabled { opacity: .6; cursor: default; }
body.theme2 .t2-rc-secure { margin-top: 10px; text-align: center; font-size: 12px; color: var(--t2-text-3); }
body.theme2 .t2-rc-secure i { margin-right: 5px; color: #5FB878; }

/* Ngân hàng + lưu ý */
body.theme2 .t2-rc-info .t2-otp-notes { display: flex; flex-direction: column; gap: 10px; }
body.theme2 .t2-rc-bank { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: rgba(79, 195, 217, .07); border: 1px solid rgba(79, 195, 217, .4); border-radius: 10px; }
body.theme2 .t2-rc-bankic { flex: 0 0 40px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; color: #4FC3D9; background: rgba(255, 255, 255, .05); border: 1px solid #4FC3D9; border-radius: 10px; }
body.theme2 .t2-rc-bank > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.5; color: #D9D4C7; }
body.theme2 .t2-rc-bank b { font-size: 14.5px; color: #fff; }
body.theme2 .t2-rc-bankname { color: #8FDDEB; }

/* Lịch sử */
body.theme2 .t2-rc-hbody { background: rgba(8, 9, 13, .45); }
body.theme2 .t2-rc-table { min-width: 520px; }
body.theme2 .t2-rc-table .t2-rc-code { padding: 2px 8px; font-size: 13px; font-weight: 700; color: #F0CF86; background: rgba(224, 185, 106, .1); border-radius: 5px; }
body.theme2 .t2-rc-table .t2-rc-amt { font-weight: 800; white-space: nowrap; color: #8BE0A4; }
body.theme2 .t2-rc-empty { padding: 24px 10px !important; text-align: center; color: var(--t2-text-3); }

/* Modal QR (chỉ khi file chính gắn lớp t2-qrmodal) */
/* Các kiểu nền của modal vốn nằm trong khối <style> của Theme 1 nên phải khai báo lại ở đây */
body.theme2 .t2-qrmodal .modal-qr-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
body.theme2 .t2-qrmodal .qr-info-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; margin-bottom: 8px; border-radius: 8px; }
body.theme2 .t2-qrmodal .btn-copy-sm { border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 600; cursor: pointer; }
body.theme2 .t2-qrmodal .modal-content { background: #0E1016 !important; color: var(--t2-text-2); border: 1px solid rgba(224, 185, 106, .45) !important; border-radius: 14px !important; }
body.theme2 .t2-qrmodal .modal-qr-header { background: #151820 !important; border-bottom: 1px solid rgba(255, 255, 255, .1); }
body.theme2 .t2-qrmodal .modal-title { color: var(--t2-gold-2) !important; letter-spacing: .5px; }
body.theme2 .t2-qrmodal .close { color: #F3F0E8 !important; text-shadow: none; opacity: .8; }
body.theme2 .t2-qrmodal .qr-info-row { background: rgba(255, 255, 255, .04) !important; border: 1px solid rgba(255, 255, 255, .12) !important; }
body.theme2 .t2-qrmodal .qr-info-row .text-muted { color: var(--t2-text-2) !important; }
body.theme2 .t2-qrmodal .qr-info-row .text-dark { color: #fff !important; }
body.theme2 .t2-qrmodal .qr-info-row .text-primary { color: #8FDDEB !important; }
body.theme2 .t2-qrmodal .qr-info-row .text-danger { color: #F0CF86 !important; }
body.theme2 .t2-qrmodal .btn-copy-sm { color: #F0CF86; background: rgba(224, 185, 106, .16); border: 1px solid rgba(224, 185, 106, .5); }
body.theme2 .t2-qrmodal .btn-copy-sm:hover { background: rgba(224, 185, 106, .3); }
body.theme2 .t2-qrmodal .modal-body > div > div[style*="fffbeb"] { background: rgba(224, 185, 106, .08) !important; border-color: rgba(224, 185, 106, .45) !important; color: #E8D8AE !important; }
body.theme2 .t2-qrmodal .modal-body div[style*="eff6ff"] { background: rgba(79, 195, 217, .08) !important; border-color: rgba(79, 195, 217, .4) !important; color: #BFEFF8 !important; }
body.theme2 .t2-qrmodal .modal-body .text-danger { color: #F29A9A; }
body.theme2 .t2-qrmodal .qr-info-row .text-danger { color: #F0CF86 !important; }
body.theme2 .t2-qrmodal .btn-primary { color: #20140A !important; background: linear-gradient(180deg, #F3D68F, #C9A45C) !important; border: 1px solid #E0B96A !important; }
body.theme2 .t2-qrmodal .btn:disabled { opacity: .55; }
body.theme2 .t2-qrmodal h4.text-dark { color: #fff !important; }
body.theme2 .t2-qrmodal .text-muted { color: var(--t2-text-3) !important; }

@media (max-width: 1100px) { body.theme2 .t2-rc-cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
    body.theme2 .t2-rc-form .t2-otp-body { height: auto; }
    body.theme2 .t2-rc-table { min-width: 0; font-size: 12px; }
    body.theme2 .t2-rc-table th:first-child, body.theme2 .t2-rc-table td:first-child { display: none; }
    body.theme2 .t2-rc-table th, body.theme2 .t2-rc-table td { padding: 7px 4px; }
    body.theme2 .t2-rc-table .t2-pill { padding: 2px 6px; font-size: 11px; }
    body.theme2 .t2-rc-table .t2-pill i { display: none; }
    body.theme2 .t2-rc-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.theme2 .t2-rc-input { font-size: 16px; }
}

/* ==========================================================================
   TRANG ĐƠN HÀNG THEME 2 (client/orders) – chỉ áp dụng khi body.theme2
   Dùng lại .t2-stats/.t2-stat, .t2-otp-card/.t2-otp-tab, .t2-pill, .t2-hbtn.
   ========================================================================== */
body.theme2 .t2-ord, body.theme2 .t2-ord *:not(i):not(code):not(.fa):not([class*="fa-"]) { font-family: var(--t2-font); }
body.theme2 .t2-ord-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 14px; }
body.theme2 .t2-ord-title { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: .5px; color: #fff; }
body.theme2 .t2-ord-title i { margin-right: 10px; font-size: 22px; color: var(--t2-gold-2); }
body.theme2 .t2-ord-sub { margin: 4px 0 0; font-size: 13.5px; color: var(--t2-text-2); }
body.theme2 .t2-ord-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
body.theme2 .t2-ord-notice { margin-bottom: 14px; }
body.theme2 .t2-ord-notice .t2-otx { font-weight: 400; display: block; }
body.theme2 .t2-ord-notetxt { display: block; font-size: 13.5px; line-height: 1.6; color: #D9D4C7; }
body.theme2 .t2-ord-notetxt b, body.theme2 .t2-ord-notetxt strong { display: inline; font-size: inherit; color: #fff; }
body.theme2 .t2-ord-notetxt a { color: var(--t2-gold-2); text-decoration: underline; }
body.theme2 .t2-ord-stats { margin: 0 0 14px; }
body.theme2 .t2-ord-stats .t2-stat { min-height: 76px; padding: 10px 16px; }
body.theme2 .t2-ord-stats .t2-stat-num { font-size: 24px; }
body.theme2 .t2-ord-stats .t2-stat-num.t2-ord-money { font-size: 20px; }
body.theme2 .t2-ord-stats .t2-stat > div { min-width: 0; }
body.theme2 .t2-st-ok { box-shadow: inset 3px 0 0 rgba(95, 184, 120, .75); } body.theme2 .t2-st-ok .t2-stat-ic { color: #8BE0A4; background: rgba(95, 184, 120, .15); border-color: rgba(95, 184, 120, .35); } body.theme2 .t2-st-ok .t2-stat-num { color: #8BE0A4; }
body.theme2 .t2-ord-card { margin-bottom: 14px; }
body.theme2 .t2-ord-card .t2-otp-title small { font-size: 13px; font-weight: 600; letter-spacing: .4px; color: var(--t2-text-2); text-transform: none; }
body.theme2 a.t2-obtn.t2-ord-back { padding: 5px 12px; font-size: 12.5px; }
body.theme2 .t2-ord-tbody { padding: 12px 14px 8px; background: rgba(8, 9, 13, .45); }

/* Bảng (DataTables của template: .dataTables_wrapper) */
body.theme2 .t2-ord-tbody .table-responsive { border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: rgba(8, 9, 13, .55); }
body.theme2 .t2-ord-tbody .dataTables_wrapper { padding: 0; }
body.theme2 .t2-ord-tbody table.t2-ord-table { width: 100% !important; margin: 0; color: #EAE6DB; background: transparent; border-collapse: collapse; }
body.theme2 .t2-ord-table thead th { padding: 11px 8px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; color: #F3F0E8; background: #1C2029 !important; border: 0 !important; border-bottom: 1px solid rgba(224, 185, 106, .35) !important; }
body.theme2 .t2-ord-table tbody td { padding: 10px 8px; vertical-align: middle; font-size: 13.5px; color: #EAE6DB; background: transparent; border: 0 !important; border-top: 1px solid rgba(255, 255, 255, .07) !important; }
body.theme2 .t2-ord-table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
body.theme2 .t2-ord-table tbody tr:hover td { background: rgba(224, 185, 106, .07); }
body.theme2 .t2-ord-table .t2-ord-code { padding: 2px 8px; font-size: 13px; font-weight: 700; color: #F0CF86; background: rgba(224, 185, 106, .1); border-radius: 5px; }
body.theme2 .t2-ord-table .t2-ord-name { font-weight: 700; color: #fff; }
body.theme2 .t2-ord-table .t2-ord-qty { font-weight: 700; color: #8FDDEB; }
body.theme2 .t2-ord-table .t2-ord-pay { font-weight: 800; white-space: nowrap; color: #F0CF86; }
body.theme2 .t2-ord-table .t2-pill-ok { color: #8BE0A4 !important; background: rgba(95, 184, 120, .16); border-color: rgba(95, 184, 120, .5); }
body.theme2 .t2-ord-table .t2-pill-bad { color: #F29A9A !important; background: rgba(215, 90, 90, .16); border-color: rgba(215, 90, 90, .5); }
body.theme2 .t2-ord-table .t2-ord-act { white-space: nowrap; }
body.theme2 .t2-ord-table .t2-ord-act .t2-hbtn { margin: 2px 1px; padding: 5px 8px; cursor: pointer; text-decoration: none; }
body.theme2 .t2-ord-table .t2-hbtn-gold, body.theme2 .t2-ord-table .t2-hbtn-gold:hover { color: #20140A; }
body.theme2 .t2-ord-table .t2-hbtn-cyan { color: #E6FBFF; background: rgba(79, 195, 217, .2); border-color: #4FC3D9; }
body.theme2 .t2-ord-table .t2-hbtn-cyan:hover { background: rgba(79, 195, 217, .38); color: #fff; }
body.theme2 .t2-ord-table .t2-hbtn-red { color: #fff; }
body.theme2 .t2-ord-table thead th.sorting, body.theme2 .t2-ord-table thead th.sorting_asc, body.theme2 .t2-ord-table thead th.sorting_desc { padding-right: 20px !important; }
body.theme2 .t2-ord-table thead th.sorting::before, body.theme2 .t2-ord-table thead th.sorting::after, body.theme2 .t2-ord-table thead th.sorting_asc::before, body.theme2 .t2-ord-table thead th.sorting_asc::after, body.theme2 .t2-ord-table thead th.sorting_desc::before, body.theme2 .t2-ord-table thead th.sorting_desc::after { right: 5px !important; }
body.theme2 .t2-ord-table thead th.sorting::before, body.theme2 .t2-ord-table thead th.sorting::after, body.theme2 .t2-ord-table thead th.sorting_asc::before, body.theme2 .t2-ord-table thead th.sorting_asc::after, body.theme2 .t2-ord-table thead th.sorting_desc::before, body.theme2 .t2-ord-table thead th.sorting_desc::after { color: var(--t2-gold-2); }
body.theme2 .t2-ord-tbody .dataTables_empty { display: none; }
body.theme2 .t2-ord-empty { padding: 28px 10px; text-align: center; font-size: 14px; color: var(--t2-text-3); }
body.theme2 .t2-ord-empty i { display: block; width: 100%; text-align: center; margin-bottom: 8px; font-size: 26px; color: var(--t2-gold-2); }

/* Điều khiển DataTables: số dòng, tìm kiếm, thông tin, phân trang */
body.theme2 .t2-ord-tbody .dataTables_wrapper > .row { margin: 0; padding: 10px 2px; align-items: center; }
body.theme2 .t2-ord-tbody .dataTables_wrapper > .row > [class*="col-"] { padding-left: 4px; padding-right: 4px; }
body.theme2 .t2-ord-tbody .dataTables_wrapper > .row:first-child { padding-bottom: 12px; }
body.theme2 .t2-ord-tbody .dataTables_length label, body.theme2 .t2-ord-tbody .dataTables_filter label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--t2-text-2); }
body.theme2 .t2-ord-tbody .dataTables_length select, body.theme2 .t2-ord-tbody .dataTables_filter input { height: 36px; padding: 4px 12px; font-size: 13px; color: var(--t2-text) !important; background: #0B0C11 !important; border: 1px solid rgba(224, 185, 106, .45) !important; border-radius: 8px !important; outline: 0; box-shadow: none; }
body.theme2 .t2-ord-tbody .dataTables_length select { width: auto; min-width: 64px; }
body.theme2 .t2-ord-tbody .dataTables_filter input { margin-left: 0 !important; min-width: 200px; }
body.theme2 .t2-ord-tbody .dataTables_filter input:focus { border-color: var(--t2-gold-2) !important; box-shadow: 0 0 0 2px rgba(224, 185, 106, .2); }
body.theme2 .t2-ord-tbody .dataTables_length select option { color: #111; background: #fff; }
body.theme2 .t2-ord-tbody .dataTables_info { padding: 0; font-size: 13px; color: var(--t2-text-2); }
body.theme2 .t2-ord-tbody .dataTables_paginate { margin: 0; }
body.theme2 .t2-ord-tbody .dataTables_paginate .pagination { margin: 0; gap: 4px; flex-wrap: wrap; }
body.theme2 .t2-ord-tbody .dataTables_paginate .page-link { min-width: 34px; padding: 6px 11px; font-size: 13px; font-weight: 700; color: var(--t2-text-2); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px !important; }
body.theme2 .t2-ord-tbody .dataTables_paginate .page-item:hover .page-link { color: #F0CF86; background: rgba(224, 185, 106, .16); border-color: var(--t2-gold-2); }
body.theme2 .t2-ord-tbody .dataTables_paginate .page-item.active .page-link { color: #20140A; background: linear-gradient(180deg, #F3D68F, #C9A45C); border-color: #E0B96A; }
body.theme2 .t2-ord-tbody .dataTables_paginate .page-item.disabled .page-link { opacity: .4; }

@media (max-width: 1100px) { body.theme2 .t2-ord-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    body.theme2 .t2-ord-title { font-size: 22px; }
    body.theme2 .t2-ord-stats { gap: 10px; }
    body.theme2 .t2-ord-stats .t2-stat { gap: 10px; padding: 10px 12px; }
    body.theme2 .t2-ord-stats .t2-stat-ic { flex-basis: 38px; height: 38px; font-size: 17px; }
    body.theme2 .t2-ord-stats .t2-stat-num { font-size: 20px; }
    body.theme2 .t2-ord-stats .t2-stat-num.t2-ord-money { font-size: 15px; }
    body.theme2 .t2-ord-tbody { padding: 10px 8px 6px; }
    body.theme2 .t2-ord-tbody .dataTables_filter input { min-width: 0; width: 100%; }
    body.theme2 .t2-ord-tbody .dataTables_filter label { display: flex; width: 100%; }
    body.theme2 .t2-ord-tbody .dataTables_wrapper > .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; text-align: left; margin-bottom: 6px; }
}

/* --- Cột Thông tin tài khoản (Đơn hàng Theme 2) --- */
body.theme2 .t2-ord-table td.t2-ord-accs { min-width: 250px; max-width: 380px; }
body.theme2 .t2-acc-list { display: flex; flex-direction: column; gap: 6px; }
body.theme2 .t2-acc { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 4px 4px 10px; background: rgba(8, 9, 13, .7); border: 1px solid rgba(224, 185, 106, .35); border-radius: 8px; }
body.theme2 .t2-acc-extra { display: none; }
body.theme2 .t2-acc-list.is-open .t2-acc-extra { display: flex; }
body.theme2 .t2-acc-text { flex: 1 1 auto; min-width: 0; padding: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 12.5px; color: #F0CF86; background: transparent; user-select: all; }
body.theme2 .t2-acc-copy { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap; cursor: pointer; color: #E6FBFF; background: rgba(79, 195, 217, .2); border: 1px solid #4FC3D9; border-radius: 6px; transition: background .15s; }
body.theme2 .t2-acc-copy:hover { color: #fff; background: rgba(79, 195, 217, .38); }
body.theme2 .t2-acc-copy.is-ok { color: #06240F; background: #5FB878; border-color: #5FB878; }
body.theme2 .t2-acc-copy.is-fail { color: #fff; background: #B3261C; border-color: #D75A5A; }
body.theme2 .t2-acc-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
body.theme2 .t2-acc-more { padding: 3px 8px; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--t2-text-2); background: transparent; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 6px; }
body.theme2 .t2-acc-more:hover { color: #F0CF86; border-color: var(--t2-gold-2); }
body.theme2 .t2-acc-copyall { margin-left: auto; }
body.theme2 .t2-ord-noacc { color: var(--t2-text-3); }
@media (max-width: 640px) { body.theme2 .t2-ord-table td.t2-ord-accs { min-width: 230px; } }
body.theme2 .t2-ord-table .t2-ord-act .t2-hbtn-ico { padding: 5px 9px; }
body.theme2 .t2-ord-table td.t2-ord-accs { max-width: 340px; }
body.theme2 .t2-ord-table td.t2-ord-act { white-space: normal; width: 1%; min-width: 104px; }
body.theme2 .t2-ord-table .t2-ord-act .t2-hbtn { justify-content: center; }
body.theme2 .t2-ord-table .t2-ord-act a.t2-hbtn { display: flex; width: 100%; margin: 0 0 4px; }
body.theme2 .t2-ord-table .t2-ord-act .t2-hbtn-ico { width: calc(50% - 3px); margin: 0; }
body.theme2 .t2-ord-table .t2-ord-act .t2-hbtn-ico + .t2-hbtn-ico { margin-left: 2px; }
body.theme2 .t2-ord-table td.t2-ord-accs { min-width: 270px; max-width: 360px; }
body.theme2 .t2-ord-table td.t2-ord-accs { min-width: 236px; max-width: 290px; }
body.theme2 .t2-ord-table thead th { padding-left: 6px; padding-right: 6px; font-size: 11.5px; letter-spacing: .2px; }
body.theme2 .t2-ord-table tbody td { padding-left: 6px; padding-right: 6px; font-size: 13px; }
body.theme2 .t2-ord-table thead th.sorting, body.theme2 .t2-ord-table thead th.sorting_asc, body.theme2 .t2-ord-table thead th.sorting_desc { padding-right: 18px !important; }
body.theme2 .t2-acc-copy { padding: 4px 7px; }
body.theme2 .t2-ord-table .t2-pill { padding: 2px 7px; }
body.theme2 .t2-acc { align-items: flex-start; }
body.theme2 .t2-acc-text { overflow: visible; text-overflow: clip; white-space: normal; word-break: break-all; line-height: 1.45; padding-top: 3px; }
body.theme2 .t2-acc .t2-acc-copy { padding: 5px 8px; }
body.theme2 .t2-ord-table td.t2-ord-accs { min-width: 250px; max-width: 280px; }

/* ==========================================================================
   TRANG PROXY CỦA TÔI THEME 2 (client/proxy-history) – chỉ áp dụng khi body.theme2
   Kế thừa .t2-ord-* (đầu trang, thống kê, bảng DataTables), .t2-acc-copy, .t2-pill, .t2-hbtn.
   ========================================================================== */
body.theme2 .t2-ph, body.theme2 .t2-ph *:not(i):not(code):not(.fa):not([class*="fa-"]) { font-family: var(--t2-font); }
body.theme2 .t2-ph-tools { display: flex; flex-wrap: wrap; gap: 8px; }
body.theme2 a.t2-obtn.t2-ph-dl { color: #8BE0A4; background: rgba(95, 184, 120, .14); border-color: rgba(95, 184, 120, .55); }
body.theme2 a.t2-obtn.t2-ph-dl:hover { color: #fff; background: rgba(95, 184, 120, .3); }
body.theme2 .t2-ph-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
body.theme2 .t2-ph-tabs .t2-otp-tab { padding: 8px 14px; font-size: 13.5px; }
body.theme2 .t2-ph-tabs .t2-otp-tab.t2-ph-tab-bad.is-active { color: #fff; background: rgba(215, 90, 90, .25); border-color: #D75A5A; box-shadow: none; }
body.theme2 .t2-ph-cnt { display: inline-block; min-width: 22px; margin-left: 6px; padding: 0 7px; font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; color: #20140A; background: rgba(255, 255, 255, .85); border-radius: 10px; }
body.theme2 .t2-ph-note { font-size: 12.5px; color: var(--t2-text-3); }

body.theme2 .t2-ph-table td.t2-ph-prox { min-width: 250px; max-width: 360px; }
body.theme2 .t2-ph-pname { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
body.theme2 .t2-ph-pname .t2-flag { flex: 0 0 auto; width: 22px; height: 15px; margin: 0; }
body.theme2 .t2-ph-pname b { font-size: 13.5px; color: #fff; }
body.theme2 .t2-ph-code { display: flex; align-items: flex-start; gap: 8px; padding: 4px 4px 4px 10px; background: rgba(8, 9, 13, .7); border: 1px solid rgba(224, 185, 106, .35); border-radius: 8px; }
body.theme2 .t2-ph-code code { flex: 1 1 auto; min-width: 0; padding: 3px 0 0; font-family: SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 12.5px; line-height: 1.45; word-break: break-all; color: #F0CF86; background: transparent; user-select: all; }
body.theme2 .t2-ph-code .t2-acc-copy { padding: 5px 8px; }
body.theme2 .t2-ph-d { display: block; font-size: 13.5px; color: #EAE6DB; }
body.theme2 .t2-ph-t { display: block; font-size: 11.5px; color: var(--t2-text-3); }
body.theme2 .t2-ph-table td .t2-ph-d + .t2-pill { margin-top: 4px; }
body.theme2 .t2-ph-table tr.is-expired td { opacity: .78; }
body.theme2 .t2-ph-table .connection-load { min-width: 54px; justify-content: center; }
body.theme2 .t2-ph-table td.t2-ph-act { min-width: 190px; }
body.theme2 .t2-ph-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
body.theme2 .t2-ph-btns .t2-hbtn { justify-content: center; margin: 0; padding: 6px 8px; white-space: nowrap; cursor: pointer; }
body.theme2 .t2-ph-btns .t2-pill { grid-column: 1 / -1; justify-content: center; }
body.theme2 .t2-hbtn.t2-hbtn-blue { color: #fff; background: rgba(91, 155, 213, .28); border-color: #5B9BD5; }
body.theme2 .t2-hbtn.t2-hbtn-blue:hover { background: rgba(91, 155, 213, .5); }
body.theme2 .t2-ph-table .t2-hbtn-red { color: #fff; }
body.theme2 .t2-ph-table .t2-hbtn-gold, body.theme2 .t2-ph-table .t2-hbtn-gold:hover { color: #20140A; }
body.theme2 .t2-ph-table .t2-hbtn-cyan { color: #E6FBFF; background: rgba(79, 195, 217, .2); border-color: #4FC3D9; }
body.theme2 .t2-ph-table .t2-hbtn-cyan:hover { background: rgba(79, 195, 217, .38); color: #fff; }

/* Modal gia hạn / nâng slot / đổi proxy ở Theme 2 (file chính gắn lớp t2-otpmodal) – bổ sung phần riêng của các modal này */
body.theme2 .t2-otpmodal .modal-header.bg-info, body.theme2 .t2-otpmodal .modal-header.bg-warning { background: #151820 !important; }
body.theme2 .t2-otpmodal .modal-header .modal-title { color: var(--t2-gold-2) !important; }
body.theme2 .t2-otpmodal .modal-footer { background: #0E1016; border-top: 1px solid rgba(255, 255, 255, .1); }
body.theme2 .t2-otpmodal .modal-body { color: var(--t2-text-2); }
body.theme2 .t2-otpmodal .form-control[readonly] { color: var(--t2-text-2) !important; }
body.theme2 .t2-otpmodal select.form-control option { color: #111; background: #fff; }
body.theme2 .t2-otpmodal .alert-info, body.theme2 .t2-otpmodal .alert-warning { color: #E8D8AE; background: rgba(224, 185, 106, .1); border: 1px solid rgba(224, 185, 106, .4); }
body.theme2 .t2-otpmodal .alert-danger { color: #F29A9A; background: rgba(215, 90, 90, .12); border: 1px solid rgba(215, 90, 90, .45); }
body.theme2 .t2-otpmodal .text-success { color: #8BE0A4 !important; }
body.theme2 .t2-otpmodal .table td { color: var(--t2-text-2); border-color: rgba(255, 255, 255, .08); }
body.theme2 .t2-otpmodal code { color: #F0CF86; background: transparent; }
body.theme2 .t2-otpmodal .btn-info, body.theme2 .t2-otpmodal .btn-warning, body.theme2 .t2-otpmodal .btn-primary { color: #20140A !important; background: linear-gradient(180deg, #F3D68F, #C9A45C) !important; border-color: #E0B96A !important; }
body.theme2 .t2-otpmodal .btn-secondary { color: var(--t2-text) !important; background: rgba(255, 255, 255, .08) !important; border-color: rgba(255, 255, 255, .2) !important; }
body.theme2 .t2-otpmodal .modal-dialog { max-width: min(500px, calc(100vw - 24px)); }

@media (max-width: 640px) {
    body.theme2 .t2-ph-tabs .t2-otp-tab { padding: 7px 10px; font-size: 12.5px; }
    body.theme2 .t2-ph-table td.t2-ph-prox { min-width: 230px; }
}
body.theme2 .t2-ph-table .t2-pill-warn { color: #F6D88F !important; background: rgba(224, 185, 106, .16); border-color: rgba(224, 185, 106, .55); }
body.theme2 .t2-ph-table .t2-pill-mute { color: #CFC9BB !important; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }

/* ===== Lịch sử giao dịch (client/dong-tien) – Theme 2. Dùng lại .t2-ord-*, .t2-stats, .t2-otp-card ===== */
body.theme2 .t2-dt-card .t2-otp-title small { margin-left: 6px; }
body.theme2 .t2-dt-table thead th { white-space: nowrap; }
body.theme2 .t2-dt-table .t2-dt-stt { color: var(--t2-text-3); font-weight: 700; width: 44px; }
body.theme2 .t2-dt-table .t2-dt-time { white-space: nowrap; color: var(--t2-text-2); font-size: 13px; }
body.theme2 .t2-dt-table .t2-dt-note { min-width: 220px; line-height: 1.45; word-break: break-word; }
body.theme2 .t2-dt-table .t2-dt-note span { color: #F3F0E8; }
body.theme2 .t2-dt-ic { width: 22px; margin-right: 8px; text-align: center; font-size: 13px; color: var(--t2-text-3); }
body.theme2 .t2-dt-ic.is-ok { color: #8BE0A4; }
body.theme2 .t2-dt-ic.is-blue { color: #7FB8FF; }
body.theme2 .t2-dt-ic.is-cyan { color: #8FDDEB; }
body.theme2 .t2-dt-ic.is-gold { color: #F0CF86; }
body.theme2 .t2-dt-ic.is-bad { color: #F29A9A; }
body.theme2 .t2-dt-table .t2-dt-amt { display: inline-block; padding: 2px 9px; font-weight: 800; white-space: nowrap; border-radius: 6px; border: 1px solid transparent; }
body.theme2 .t2-dt-table .t2-dt-amt.t2-dt-plus { color: #8BE0A4; background: rgba(95, 184, 120, .14); border-color: rgba(95, 184, 120, .4); }
body.theme2 .t2-dt-table .t2-dt-amt.t2-dt-minus { color: #F29A9A; background: rgba(215, 90, 90, .14); border-color: rgba(215, 90, 90, .4); }
body.theme2 .t2-ord-stats .t2-stat-num.t2-dt-plus { color: #8BE0A4; }
body.theme2 .t2-ord-stats .t2-stat-num.t2-dt-minus { color: #F29A9A; }
body.theme2 .t2-dt-table .t2-dt-bal { white-space: nowrap; color: var(--t2-text-2); }
body.theme2 .t2-dt-table .t2-dt-after { color: #F0CF86; font-weight: 700; }
body.theme2 .t2-dt-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 12px 2px 6px; }
body.theme2 .t2-dt-info { font-size: 13px; color: var(--t2-text-2); }
body.theme2 .t2-dt-pager { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
body.theme2 .t2-dt-pager a { display: inline-block; min-width: 34px; padding: 6px 10px; text-align: center; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--t2-text-2); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); border-radius: 7px; }
body.theme2 .t2-dt-pager a:hover { color: #fff; border-color: var(--t2-gold-2); }
body.theme2 .t2-dt-pager li.is-active a { color: #20140A; background: linear-gradient(180deg, #F0CF86, #D8AE5E); border-color: #D8AE5E; }
@media (max-width: 640px) {
    body.theme2 .t2-dt-foot { justify-content: center; }
    body.theme2 .t2-dt-table .t2-dt-note { min-width: 180px; }
}

/* ==========================================================================
   MOBILE / TABLET (<= 991px) – Header, thanh menu, nội dung. Chỉ Theme 2 (body.theme2); desktop > 991px không đổi.
   Menu: thanh chip cuộn ngang (dùng lại chính .t2-sidebar, không thêm JS); chuông/avatar nằm trong nút ☰ có sẵn của nav.php.
   ========================================================================== */
@media (max-width: 991px) {
    body.theme2 { --t2-header-h: 56px; --t2-strip-h: 48px; }
    body.theme2 .iq-top-navbar { padding: 0 10px !important; }
    body.theme2 .iq-top-navbar .navbar { gap: 8px; }
    body.theme2 .t2-topmenu { display: none; }
    body.theme2 .t2-brand { padding-right: 0; margin-right: 0; gap: 8px; }
    body.theme2 .t2-brand-mark { width: 36px; height: 36px; font-size: 17px; }
    body.theme2 .t2-brand-text b { font-size: 18px; }
    body.theme2 .t2-brand-text small { display: none; }
    body.theme2 .iq-top-navbar .side-menu-bt-sidebar { flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
    body.theme2 .iq-top-navbar .badge2 { padding: 7px 10px; font-size: 12px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
    body.theme2 .iq-top-navbar .navbar > .d-flex { gap: 6px; position: static; }
    body.theme2 .iq-top-navbar .navbar { position: relative; }
    body.theme2 .iq-top-navbar .navbar-toggler { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; margin: 0; background: rgba(255, 255, 255, .05); border: 1px solid var(--t2-line); border-radius: 8px; }
    body.theme2 .iq-top-navbar .navbar-toggler svg { width: 24px; }
    body.theme2 .t2-themebtns { gap: 4px; margin-left: 0; }
    body.theme2 .t2-themebtn { padding: 0 8px; min-height: 40px; font-size: 12px; }
    body.theme2 .t2-themebtn i { display: none; }
    /* Nội dung ☰: chuông + avatar trong khung thả xuống */
    body.theme2 .iq-top-navbar .navbar-collapse { position: absolute; top: calc(var(--t2-header-h) - 4px); right: 0; left: auto; width: min(260px, calc(100vw - 20px)); height: auto; padding: 10px 12px; background: var(--t2-bg-2); border: 1px solid var(--t2-gline); border-radius: var(--t2-radius); box-shadow: 0 14px 34px rgba(0, 0, 0, .6); z-index: 1020; }
    body.theme2 .iq-top-navbar .navbar-collapse .navbar-list { flex-direction: row; justify-content: space-between; width: 100%; }
    body.theme2 .iq-top-navbar .navbar-collapse .user-name { display: inline; }
    body.theme2 .iq-top-navbar .navbar-collapse .dropdown-menu { position: absolute; max-width: calc(100vw - 24px); }

    /* Thanh menu chip dưới header (thay sidebar) */
    body.theme2 .t2-sidebar { display: block; position: fixed; top: var(--t2-header-h); left: 0; right: 0; width: 100%; height: var(--t2-strip-h); transform: none; z-index: 1005; overflow: hidden; background: #0B0C11; border-right: 0; border-bottom: 1px solid var(--t2-line); }
    body.theme2 .t2-sidebar .t2-nav { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 10px; overflow-x: auto; overflow-y: hidden; white-space: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    body.theme2 .t2-sidebar .t2-nav::-webkit-scrollbar { display: none; }
    body.theme2 .t2-sidebar .t2-menu { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
    body.theme2 .t2-sidebar .t2-menu-title { display: none; }
    body.theme2 .t2-sidebar .t2-menu-item > a { margin: 0; padding: 0 13px; min-height: 36px; gap: 7px; font-size: 13.5px; white-space: nowrap; border: 1px solid var(--t2-line); border-radius: 999px; background: rgba(255, 255, 255, .04); }
    body.theme2 .t2-sidebar .t2-menu-item > a i { width: auto; font-size: 13px; }
    body.theme2 .t2-sidebar .t2-menu-item.active { order: -1; }
    body.theme2 .t2-sidebar .t2-menu-item.active > a { border-color: rgba(224, 185, 106, .55); background: linear-gradient(180deg, rgba(163, 31, 22, .9), rgba(120, 22, 16, .9)); }
    body.theme2 .t2-sidebar .t2-menu-item.active > a::before { display: none; }

    body.theme2 .content-page { margin-left: 0; padding-top: calc(var(--t2-header-h) + var(--t2-strip-h) + 12px); }
    body.theme2 .content-page > .container-fluid { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 480px) {
    body.theme2 .t2-brand-text { display: none; }
    body.theme2 .iq-top-navbar .badge2 { padding: 7px 8px; }
    body.theme2 .iq-top-navbar .badge2 i { display: none; }
    body.theme2 .t2-themebtn { padding: 0 7px; font-size: 11.5px; }
}

/* ---- Mobile: Dashboard (<= 760px). Hero thu gọn (flex-basis 520px của .t2-hero-center bị hiểu thành chiều CAO khi hero xếp cột) ---- */
@media (max-width: 760px) {
    body.theme2 .t2-dhero .t2-hero-center { flex: 0 0 auto; padding: 4px 6px; }
    body.theme2 .t2-hero.t2-dhero { padding: 12px; gap: 10px; background-position: center, center, 30% 20%; }
    body.theme2 .t2-dhero .t2-hero-title { font-size: 30px; }
    body.theme2 .t2-dhero .t2-hero-sub { font-size: 15px; letter-spacing: 2px; }
    body.theme2 .t2-dhero .t2-hero-tag { margin: 4px 0 8px; font-size: 12px; letter-spacing: .5px; }
    body.theme2 .t2-dhero .t2-hero-actions .t2-btn { min-height: 40px; }
    body.theme2 .t2-dhero .t2-stat-label { font-size: 11px; }
    body.theme2 .t2-dhero .t2-stat-foot { font-size: 12.5px; }
    body.theme2 .t2-svc-img { flex-basis: 92px; }
    body.theme2 .t2-svc .t2-btn { min-height: 42px; }
    body.theme2 .t2-panel-head { flex-wrap: wrap; gap: 8px; }
    body.theme2 .t2-panel-head a { padding: 7px 12px; white-space: nowrap; }
    body.theme2 .t2-panel-head .t2-h3 { min-width: 0; }
    body.theme2 .t2-act { gap: 10px; }
}

/* ---- Mobile: trang Proxy (<= 760px). Chọn loại proxy + mua lên đầu, khối hướng dẫn xuống dưới (chỉ đổi thứ tự hiển thị bằng CSS, không bỏ nội dung nào) ---- */
@media (max-width: 760px) {
    body.theme2 .t2-pxhero-wrap { display: flex; flex-direction: column; }
    body.theme2 .t2-pxhero-wrap > #t2-proxy-types { order: 1; margin-top: 4px; }
    body.theme2 .t2-pxhero-wrap > .t2-ptypes, body.theme2 .t2-pxhero-wrap > .t2-panel { order: 2; }
    body.theme2 .t2-pxhero-wrap > .t2-pxhero { order: 3; margin-top: 18px; }
    body.theme2 .t2-pxhero-wrap > .t2-hist { order: 4; }
    body.theme2 .t2-pxhero-left { padding: 14px 12px; }
    body.theme2 .t2-hero.t2-pxhero { min-height: 0; }
    body.theme2 .t2-h2 em { display: none; }
    body.theme2 .t2-hist-head { gap: 8px; }
    body.theme2 .t2-hist-all { min-height: 40px; }
}
@media (max-width: 480px) {
    body.theme2 .t2-buyrow { flex-direction: column; align-items: stretch; gap: 8px; }
    body.theme2 .t2-field, body.theme2 .t2-field-total { flex: 0 0 auto; width: 100%; }
    body.theme2 .t2-field-total { display: flex; align-items: center; justify-content: space-between; text-align: left; }
    body.theme2 .t2-field-total > span { margin: 0; font-size: 12px; }
    body.theme2 .t2-connect { height: 44px; font-size: 14px; }
    body.theme2 .t2-total { font-size: 22px; line-height: 1.2; }
    body.theme2 .t2-pc .t2-btn-block, body.theme2 .t2-pc > .t2-btn-block { min-height: 46px; }
}

/* ---- Mobile: PHBot / Clone (<= 640px). 6 thẻ hướng dẫn gọn hơn, nút/tab dễ bấm; bảng lịch sử cuộn ngang trong panel ---- */
@media (max-width: 640px) {
    body.theme2 .t2-achero .t2-gl { gap: 8px; grid-auto-rows: auto; }
    body.theme2 .t2-achero .t2-gcard { padding: 10px; gap: 10px; align-items: flex-start; }
    body.theme2 .t2-achero .t2-gic { flex-basis: 34px; width: 34px; height: 34px; font-size: 15px; }
    body.theme2 .t2-achero .t2-gtx { font-size: 13px; line-height: 1.45; }
    body.theme2 .t2-achero .t2-gtx b { font-size: 14px; }
    body.theme2 .t2-achero .t2-gtx .t2-btn, body.theme2 .t2-achero .t2-gtx a.t2-btn { min-height: 40px; display: inline-flex; align-items: center; }
    body.theme2 .t2-ac-gtitle { font-size: 14px; }
    body.theme2 .t2-pcard-foot { gap: 10px; }
    body.theme2 .t2-ac-buy { min-height: 44px; }
    body.theme2 .t2-tab { min-height: 38px; }
    body.theme2 .t2-ac-hist .t2-hist-title { font-size: 14px; letter-spacing: .5px; }
    body.theme2 .t2-ac-hist .t2-hist-head { gap: 10px; }
}

/* ---- Mobile: lề nội dung + bảng dạng thẻ (<= 640px). Chỉ đổi cách hiển thị (CSS); dữ liệu, nút, class JS giữ nguyên ---- */
@media (max-width: 991px) {
    body.theme2 .container-fluid > .t2-home { padding-left: 4px; padding-right: 4px; padding-bottom: 32px; }
    body.theme2 .t2-ord-tbody { padding: 8px; }
    body.theme2 .t2-ord-tbody .dataTables_wrapper > .row { padding: 6px 0; }
    body.theme2 .t2-ord-tbody .dataTables_filter input { min-width: 0; width: 100%; height: 40px; }
    body.theme2 .t2-ord-tbody .dataTables_length select { height: 40px; }
    body.theme2 .t2-ord-tbody .dataTables_filter label { width: 100%; }
    body.theme2 .t2-ord-tbody .dataTables_paginate .page-link { min-width: 38px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; }

    /* thẻ chung: Proxy của tôi + Đơn hàng */
    body.theme2 .t2-ph-card .table-responsive, body.theme2 .t2-ord-card .t2-ord-tbody .table-responsive { overflow: visible; border: 0; background: transparent; }
    body.theme2 .t2-ph-table, body.theme2 .t2-ph-table tbody, body.theme2 .t2-ph-table tr, body.theme2 .t2-ph-table td,
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table), body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) tbody,
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) tr, body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td { display: block; }
    body.theme2 .t2-ph-table thead, body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) thead { display: none; }
    body.theme2 .t2-ph-table tr, body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) tr { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0 0 10px; padding: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; }
    body.theme2 .t2-ph-table tbody tr:nth-child(even) td, body.theme2 .t2-ph-table tbody tr:hover td,
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) tbody tr:nth-child(even) td, body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) tbody tr:hover td { background: transparent; }
    body.theme2 .t2-ph-table td, body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td { min-width: 0; padding: 0; border: 0 !important; white-space: normal; text-align: left; background: transparent; }
    body.theme2 .t2-ph-table td::before, body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td::before { display: block; margin-bottom: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--t2-text-3); }

    /* Proxy của tôi: cột 1 = STT (góc phải), 2 = proxy, 3 mua, 4 hết hạn, 5 connect, 6 trạng thái, 7 thao tác */
    body.theme2 .t2-ph-table td:nth-child(1) { position: absolute; top: 10px; right: 12px; font-size: 12px; font-weight: 700; color: var(--t2-text-3); }
    body.theme2 .t2-ph-table td:nth-child(1)::before { display: inline; content: "#"; margin: 0; }
    body.theme2 .t2-ph-table td:nth-child(2), body.theme2 .t2-ph-table td:nth-child(7) { grid-column: 1 / -1; }
    body.theme2 .t2-ph-table td:nth-child(2) { padding-right: 28px; }
    body.theme2 .t2-ph-table td:nth-child(3)::before { content: "Ngày mua"; }
    body.theme2 .t2-ph-table td:nth-child(4)::before { content: "Hết hạn"; }
    body.theme2 .t2-ph-table td:nth-child(5)::before { content: "Connect"; }
    body.theme2 .t2-ph-table td:nth-child(6)::before { content: "Trạng thái"; }
    body.theme2 .t2-ph-table td:nth-child(7) { padding-top: 4px; border-top: 1px dashed rgba(255, 255, 255, .12) !important; }
    body.theme2 .t2-ph-btns .t2-hbtn { min-height: 42px; }

    /* Đơn hàng: tên SP, tài khoản, rồi lưới số lượng / thanh toán / ngày mua / hết hạn / còn, nút cuối */
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td:nth-child(1) { position: absolute; top: 10px; right: 12px; font-size: 12px; font-weight: 700; color: var(--t2-text-3); }
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td:nth-child(1)::before { display: inline; content: "#"; margin: 0; }
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td:nth-child(2) { grid-column: 1 / -1; padding-right: 28px; font-size: 14.5px; }
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td.t2-ord-accs { grid-column: 1 / -1; min-width: 0; }
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td.t2-ord-accs::before { content: "Thông tin tài khoản"; }
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td:has(.t2-ord-qty)::before { content: "Số lượng"; }
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td:has(.t2-ord-pay)::before { content: "Thanh toán"; }
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td.t2-ord-accs ~ td.t2-nowrap::before { content: "Ngày mua"; }
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td.t2-ord-accs ~ td.t2-nowrap ~ td.t2-nowrap::before { content: "Hết hạn"; }
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td.t2-ord-accs ~ td.t2-nowrap ~ td.t2-nowrap + td:not(.t2-ord-act)::before { content: "Còn"; }
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td.t2-ord-act { grid-column: 1 / -1; padding-top: 6px; border-top: 1px dashed rgba(255, 255, 255, .12) !important; }
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td.t2-ord-act::before { display: none; }
    body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) td.t2-ord-act { display: flex; flex-wrap: wrap; gap: 8px; width: auto; min-width: 0; }
    body.theme2 .t2-ord-card .t2-ord-table .t2-ord-act a.t2-hbtn { flex: 1 1 100%; width: auto; margin: 0; }
    body.theme2 .t2-ord-card .t2-ord-table .t2-ord-act .t2-hbtn-ico, body.theme2 .t2-ord-card .t2-ord-table .t2-ord-act .t2-hbtn-ico + .t2-hbtn-ico { flex: 1 1 calc(50% - 4px); width: auto; margin: 0; }
    body.theme2 .t2-ord-table .t2-ord-act .t2-hbtn { min-height: 40px; }
    body.theme2 .t2-ord-card .t2-ord-table .t2-ord-act .t2-hbtn-ico::after { content: attr(aria-label); margin-left: 6px; font-size: 13px; font-weight: 700; }
}
@media (max-width: 480px) {
    body.theme2 .t2-ord-stats .t2-stat-ic { display: none; }
    body.theme2 .t2-ord-stats .t2-stat { padding: 10px 12px; gap: 8px; }
    body.theme2 .t2-ord-stats .t2-stat-num, body.theme2 .t2-ord-stats .t2-stat-num.t2-ord-money { font-size: 19px; }
    body.theme2 .t2-ord-stats .t2-stat-label { font-size: 10.5px; }
    body.theme2 .t2-ph-tools, body.theme2 .t2-ph-tools .t2-obtn { width: 100%; }
    body.theme2 .t2-ph-tools .t2-obtn { justify-content: center; min-height: 42px; }
}

/* ---- Mobile: Lịch sử giao dịch dạng thẻ (<= 640px). Cùng dữ liệu/quy tắc cộng-trừ; thẻ thống kê gọn ---- */
@media (max-width: 991px) {
    body.theme2 .t2-dt-card .table-responsive { overflow: visible; border: 0; background: transparent; }
    body.theme2 .t2-dt-table, body.theme2 .t2-dt-table tbody, body.theme2 .t2-dt-table tr, body.theme2 .t2-dt-card .t2-dt-table tbody td { display: block; }
    body.theme2 .t2-dt-table thead { display: none; }
    body.theme2 .t2-dt-table tr { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 0 0 10px; padding: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; }
    body.theme2 .t2-dt-table tbody tr:nth-child(even) td, body.theme2 .t2-dt-table tbody tr:hover td { background: transparent; }
    body.theme2 .t2-dt-card .t2-dt-table tbody td { min-width: 0; width: auto; padding: 0; border: 0 !important; text-align: left !important; white-space: normal; background: transparent; }
    body.theme2 .t2-dt-card .t2-dt-table tbody td::before { display: block; margin-bottom: 1px; font-size: 10.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--t2-text-3); }
    body.theme2 .t2-dt-card .t2-dt-table tbody td:nth-child(1) { position: absolute; top: 12px; right: 12px; width: auto; font-size: 12px; }
    body.theme2 .t2-dt-card .t2-dt-table tbody td:nth-child(1)::before { display: inline; content: "#"; }
    body.theme2 .t2-dt-card .t2-dt-table tbody td:nth-child(2) { grid-column: 1 / -1; padding-right: 30px; font-size: 12.5px; }
    body.theme2 .t2-dt-card .t2-dt-table tbody td:nth-child(3) { grid-column: 1 / -1; min-width: 0; font-size: 14px; }
    body.theme2 .t2-dt-card .t2-dt-table tbody td:nth-child(4) { grid-column: 1 / -1; padding-top: 6px; border-top: 1px dashed rgba(255, 255, 255, .12) !important; }
    body.theme2 .t2-dt-card .t2-dt-table tbody td:nth-child(4)::before { content: "Biến động"; }
    body.theme2 .t2-dt-card .t2-dt-table tbody td:nth-child(5)::before { content: "Số tiền trước"; }
    body.theme2 .t2-dt-card .t2-dt-table tbody td:nth-child(6)::before { content: "Số tiền sau"; }
    body.theme2 .t2-dt-table .t2-dt-amt { font-size: 16px; }
}

@media (min-width: 641px) and (max-width: 991px) {
    body.theme2 .t2-ph-table tr, body.theme2 .t2-ord-card table.t2-ord-table:not(.t2-dt-table) tr { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    body.theme2 .t2-ph-table td:nth-child(2), body.theme2 .t2-ph-table td:nth-child(7) { grid-column: 1 / -1; }
}

/* ==========================================================================
   POPUP "THÔNG BÁO MỚI" — Theme 2. Nền = public/assets/theme2/backgrounds/thong bao.png
   (1312×1199). Mọi vị trí tính theo toạ độ ảnh gốc, đơn vị --u = 1/1312 chiều rộng popup,
   nên bố cục luôn đúng tỷ lệ ảnh. Chỉ áp dụng trong body.theme2 #modal_notification.
   ========================================================================== */
body.theme2 #modal_notification .modal-dialog {
    width: min(624px, calc((100vw - 16px) * .65), calc((100vh - 24px) * 1.0942 * .65));
    max-width: none;
    margin: 12px auto;
}
body.theme2 #modal_notification .modal-content.phbot-popup {
    position: relative;
    display: block;
    container-type: inline-size;
    --u: calc(100cqw / 1312);
    padding: 0;
    background: #050506;
    border: 0;
    border-radius: 2.6%;
    overflow: hidden;
    color: #f3f0e8;
    box-shadow: 0 0 40px rgba(224, 185, 106, .25), 0 24px 70px rgba(0, 0, 0, .8);
    font-family: "DM Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    max-height: none;
}
body.theme2 #modal_notification .modal-content.phbot-popup::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 1312 / 1199;
    background: url("../../public/assets/theme2/backgrounds/thong%20bao.png") center top / 100% 100% no-repeat;
}
body.theme2 #modal_notification .popup-header,
body.theme2 #modal_notification .popup-body,
body.theme2 #modal_notification .popup-box,
body.theme2 #modal_notification .popup-footer,
body.theme2 #modal_notification .popup-title,
body.theme2 #modal_notification .popup-title > div:not(.popup-icon),
body.theme2 #modal_notification .t2pp-zalo-grid,
body.theme2 #modal_notification .zalo-item,
body.theme2 #modal_notification .zalo-info {
    display: contents;
}
body.theme2 #modal_notification .popup-icon {
    position: absolute;
    left: calc(var(--u) * 98);
    top: calc(var(--u) * 78);
    width: calc(var(--u) * 64);
    height: calc(var(--u) * 64);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: none;
    font-size: max(20px, calc(var(--u) * 48));
    color: #f0cd7a;
    filter: drop-shadow(0 0 8px rgba(240, 205, 122, .6));
}
body.theme2 #modal_notification .popup-icon .fa-bullhorn::before {
    content: "\f0f3";
}
body.theme2 #modal_notification .popup-title h4 {
    position: absolute;
    left: calc(var(--u) * 176);
    top: calc(var(--u) * 76);
    line-height: calc(var(--u) * 52);
    margin: 0;
    white-space: nowrap;
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: max(18px, calc(var(--u) * 46));
    font-weight: 700;
    color: #fff;
    letter-spacing: .3px;
    text-shadow: 0 0 12px rgba(240, 205, 122, .5), 0 2px 3px rgba(0, 0, 0, .8);
}
body.theme2 #modal_notification .popup-title small {
    position: absolute;
    left: calc(var(--u) * 178);
    top: calc(var(--u) * 127);
    display: block;
    white-space: nowrap;
    font-size: max(10px, calc(var(--u) * 22));
    line-height: calc(var(--u) * 26);
    color: #f0cd7a;
}
body.theme2 #modal_notification .popup-close {
    position: absolute;
    left: calc(var(--u) * 1203);
    top: calc(var(--u) * 92);
    transform: translate(-50%, -50%);
    width: max(36px, calc(var(--u) * 60));
    height: max(36px, calc(var(--u) * 60));
    padding: 0;
    border: 2px solid #e0b96a;
    border-radius: 50%;
    background: rgba(8, 7, 8, .88);
    color: #f0cd7a;
    font-size: max(15px, calc(var(--u) * 26));
    box-shadow: 0 0 10px rgba(224, 185, 106, .45);
    display: flex;
    align-items: center;
    justify-content: center;
}
body.theme2 #modal_notification .popup-close:hover {
    background: #e0b96a;
    color: #1a120a;
}
body.theme2 #modal_notification .popup-box--promo .box-title {
    position: absolute;
    left: calc(var(--u) * 78);
    top: calc(var(--u) * 196);
    width: calc(var(--u) * 800);
    height: calc(var(--u) * 76);
    display: flex;
    align-items: center;
    margin: 0;
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: max(14px, calc(var(--u) * 32));
    font-weight: 700;
    color: #efcc7c;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .8);
}
body.theme2 #modal_notification .popup-box--promo .box-title i {
    width: calc(var(--u) * 64);
    margin-right: calc(var(--u) * 14);
    text-align: center;
    font-size: max(15px, calc(var(--u) * 34));
    color: #f0cd7a !important;
    filter: drop-shadow(0 0 6px rgba(240, 205, 122, .5));
}
body.theme2 #modal_notification .popup-box--promo .box-title i::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f06b";
}
body.theme2 #modal_notification .popup-box--promo .box-title span {
    color: #efcc7c;
}
body.theme2 #modal_notification .popup-box--guide .box-title {
    position: absolute;
    left: calc(var(--u) * 78);
    top: calc(var(--u) * 570);
    width: calc(var(--u) * 800);
    height: calc(var(--u) * 76);
    display: flex;
    align-items: center;
    margin: 0;
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: max(14px, calc(var(--u) * 32));
    font-weight: 700;
    color: #efcc7c;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .8);
}
body.theme2 #modal_notification .popup-box--guide .box-title i {
    width: calc(var(--u) * 64);
    margin-right: calc(var(--u) * 14);
    text-align: center;
    font-size: max(15px, calc(var(--u) * 34));
    color: #f0cd7a !important;
    filter: drop-shadow(0 0 6px rgba(240, 205, 122, .5));
}
body.theme2 #modal_notification .popup-box--guide .box-title i::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f518";
}
body.theme2 #modal_notification .popup-box--guide .box-title span {
    color: #efcc7c;
}
body.theme2 #modal_notification .popup-box--zalo .box-title {
    position: absolute;
    left: calc(var(--u) * 78);
    top: calc(var(--u) * 794);
    width: calc(var(--u) * 800);
    height: calc(var(--u) * 64);
    display: flex;
    align-items: center;
    margin: 0;
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: max(14px, calc(var(--u) * 32));
    font-weight: 700;
    color: #efcc7c;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .8);
}
body.theme2 #modal_notification .popup-box--zalo .box-title i {
    width: calc(var(--u) * 64);
    margin-right: calc(var(--u) * 14);
    text-align: center;
    font-size: max(15px, calc(var(--u) * 34));
    color: #f0cd7a !important;
    filter: drop-shadow(0 0 6px rgba(240, 205, 122, .5));
}
body.theme2 #modal_notification .popup-box--zalo .box-title i::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0c0";
}
body.theme2 #modal_notification .popup-box--zalo .box-title span {
    color: #efcc7c;
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(2) {
    position: absolute;
    left: calc(var(--u) * 60);
    top: calc(var(--u) * 278);
    width: calc(var(--u) * 750);
    height: calc(var(--u) * 76);
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    overflow: visible;
    font-size: max(12.5px, calc(var(--u) * 27));
    color: #f3f0e8;
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(2) .badge {
    order: 1;
    width: calc(var(--u) * 170);
    margin: 0 0 0 calc(var(--u) * 32);
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    text-align: center;
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: max(16px, calc(var(--u) * 42));
    font-weight: 700;
    color: #8dffa0;
    text-shadow: 0 0 12px rgba(46,154,82, .9), 0 2px 3px rgba(0, 0, 0, .8);
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(2)::before {
    order: 2;
    content: "\f51e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    width: calc(var(--u) * 64);
    margin: 0 0 0 calc(var(--u) * 26);
    text-align: center;
    font-size: max(15px, calc(var(--u) * 34));
    color: #f0cd7a;
    filter: drop-shadow(0 0 6px rgba(240, 205, 122, .55));
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(2) > span:not(.badge) {
    order: 3;
    margin-left: calc(var(--u) * 46);
    white-space: nowrap;
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(2) b {
    color: #f0cd7a;
    font-weight: 700;
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: max(13px, calc(var(--u) * 30));
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(2)::after {
    order: 4;
    content: "\f101";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: auto;
    margin-right: calc(var(--u) * 48);
    font-size: max(15px, calc(var(--u) * 34));
    color: #f0cd7a;
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(3) {
    position: absolute;
    left: calc(var(--u) * 60);
    top: calc(var(--u) * 366);
    width: calc(var(--u) * 750);
    height: calc(var(--u) * 76);
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    overflow: visible;
    font-size: max(12.5px, calc(var(--u) * 27));
    color: #f3f0e8;
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(3) .badge {
    order: 1;
    width: calc(var(--u) * 170);
    margin: 0 0 0 calc(var(--u) * 32);
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    text-align: center;
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: max(16px, calc(var(--u) * 42));
    font-weight: 700;
    color: #79c4ff;
    text-shadow: 0 0 12px rgba(47,125,240, .9), 0 2px 3px rgba(0, 0, 0, .8);
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(3)::before {
    order: 2;
    content: "\f81d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    width: calc(var(--u) * 64);
    margin: 0 0 0 calc(var(--u) * 26);
    text-align: center;
    font-size: max(15px, calc(var(--u) * 34));
    color: #f0cd7a;
    filter: drop-shadow(0 0 6px rgba(240, 205, 122, .55));
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(3) > span:not(.badge) {
    order: 3;
    margin-left: calc(var(--u) * 46);
    white-space: nowrap;
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(3) b {
    color: #f0cd7a;
    font-weight: 700;
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: max(13px, calc(var(--u) * 30));
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(3)::after {
    order: 4;
    content: "\f101";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: auto;
    margin-right: calc(var(--u) * 48);
    font-size: max(15px, calc(var(--u) * 34));
    color: #f0cd7a;
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(4) {
    position: absolute;
    left: calc(var(--u) * 60);
    top: calc(var(--u) * 454);
    width: calc(var(--u) * 750);
    height: calc(var(--u) * 76);
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    overflow: visible;
    font-size: max(12.5px, calc(var(--u) * 27));
    color: #f3f0e8;
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(4) .badge {
    order: 1;
    width: calc(var(--u) * 170);
    margin: 0 0 0 calc(var(--u) * 32);
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    text-align: center;
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: max(16px, calc(var(--u) * 42));
    font-weight: 700;
    color: #cfa0ff;
    text-shadow: 0 0 12px rgba(138,77,240, .9), 0 2px 3px rgba(0, 0, 0, .8);
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(4)::before {
    order: 2;
    content: "\f3a5";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    width: calc(var(--u) * 64);
    margin: 0 0 0 calc(var(--u) * 26);
    text-align: center;
    font-size: max(15px, calc(var(--u) * 34));
    color: #f0cd7a;
    filter: drop-shadow(0 0 6px rgba(240, 205, 122, .55));
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(4) > span:not(.badge) {
    order: 3;
    margin-left: calc(var(--u) * 46);
    white-space: nowrap;
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(4) b {
    color: #f0cd7a;
    font-weight: 700;
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: max(13px, calc(var(--u) * 30));
}
body.theme2 #modal_notification .popup-box--promo .bonus-item:nth-child(4)::after {
    order: 4;
    content: "\f101";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: auto;
    margin-right: calc(var(--u) * 48);
    font-size: max(15px, calc(var(--u) * 34));
    color: #f0cd7a;
}
body.theme2 #modal_notification .t2pp-thumb {
    position: absolute;
    left: calc(var(--u) * 70);
    top: calc(var(--u) * 661);
    width: calc(var(--u) * 264);
    height: calc(var(--u) * 87);
    display: block;
    border-radius: 6px;
    background: none;
    border: 0;
}
body.theme2 #modal_notification .t2pp-thumb::after {
    content: "\f04b";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(var(--u) * 58);
    height: calc(var(--u) * 58);
    min-width: 22px;
    min-height: 22px;
    border-radius: 50%;
    border: 2px solid #f0cd7a;
    background: rgba(0, 0, 0, .55);
    color: #f0cd7a;
    font-size: max(10px, calc(var(--u) * 22));
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 8%;
}
body.theme2 #modal_notification .zalo-item--video .zalo-info strong {
    position: absolute;
    left: calc(var(--u) * 372);
    top: calc(var(--u) * 664);
    display: block;
    white-space: nowrap;
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: max(13px, calc(var(--u) * 30));
    font-weight: 700;
    color: #fff;
}
body.theme2 #modal_notification .zalo-item--video .zalo-info small {
    position: absolute;
    left: calc(var(--u) * 372);
    top: calc(var(--u) * 704);
    max-width: calc(var(--u) * 585);
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    white-space: nowrap;
    font-size: max(9px, calc(var(--u) * 20));
    margin: 0;
    color: #cfc9bb;
}
body.theme2 #modal_notification .zalo-item--video .btn-zalo {
    position: absolute;
    left: calc(var(--u) * 967);
    top: calc(var(--u) * 671);
    width: calc(var(--u) * 270);
    height: calc(var(--u) * 68);
    background: none !important;
    border: 0;
    box-shadow: none;
    font-size: max(13px, calc(var(--u) * 31));
    font-weight: 800;
    color: #3a2508 !important;
}
body.theme2 #modal_notification .zalo-item--discuss::before, body.theme2 #modal_notification .zalo-item--notice::before {
    position: absolute;
    width: calc(var(--u) * 85);
    height: calc(var(--u) * 81);
    top: calc(var(--u) * 866);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: max(14px, calc(var(--u) * 38));
}
body.theme2 #modal_notification .zalo-item--discuss::before {
    content: "\f0c0";
    left: calc(var(--u) * 73);
    color: #8cc8ff;
    filter: drop-shadow(0 0 6px rgba(80, 160, 255, .8));
}
body.theme2 #modal_notification .zalo-item--notice::before {
    content: "\f0a1";
    left: calc(var(--u) * 678);
    color: #cfa0ff;
    filter: drop-shadow(0 0 6px rgba(160, 100, 255, .8));
}
body.theme2 #modal_notification .zalo-item--discuss .zalo-info strong {
    position: absolute;
    left: calc(var(--u) * 205);
    top: calc(var(--u) * 862);
    display: block;
    white-space: nowrap;
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: max(12px, calc(var(--u) * 27));
    font-weight: 700;
    color: #fff;
}
body.theme2 #modal_notification .zalo-item--discuss .zalo-info small {
    position: absolute;
    left: calc(var(--u) * 205);
    top: calc(var(--u) * 893);
    width: calc(var(--u) * 250);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
    overflow: hidden;
    line-height: 1.2;
    font-size: max(9.5px, calc(var(--u) * 16.5));
    color: #cfc9bb;
}
body.theme2 #modal_notification .zalo-item--discuss .btn-zalo {
    position: absolute;
    left: calc(var(--u) * 460);
    top: calc(var(--u) * 875);
    width: calc(var(--u) * 174);
    height: calc(var(--u) * 63);
    background: none !important;
    border: 0;
    box-shadow: none;
    font-size: max(12px, calc(var(--u) * 27));
    font-weight: 700;
    color: #fff !important;
}
body.theme2 #modal_notification .zalo-item--notice .zalo-info strong {
    position: absolute;
    left: calc(var(--u) * 810);
    top: calc(var(--u) * 862);
    display: block;
    white-space: nowrap;
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: max(12px, calc(var(--u) * 27));
    font-weight: 700;
    color: #fff;
}
body.theme2 #modal_notification .zalo-item--notice .zalo-info small {
    position: absolute;
    left: calc(var(--u) * 810);
    top: calc(var(--u) * 893);
    width: calc(var(--u) * 250);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
    overflow: hidden;
    line-height: 1.2;
    font-size: max(9.5px, calc(var(--u) * 16.5));
    color: #cfc9bb;
}
body.theme2 #modal_notification .zalo-item--notice .btn-zalo {
    position: absolute;
    left: calc(var(--u) * 1060);
    top: calc(var(--u) * 875);
    width: calc(var(--u) * 175);
    height: calc(var(--u) * 63);
    background: none !important;
    border: 0;
    box-shadow: none;
    font-size: max(12px, calc(var(--u) * 27));
    font-weight: 700;
    color: #fff !important;
}
body.theme2 #modal_notification .t2pp-zalo-grid .zalo-item--discuss .btn-zalo, body.theme2 #modal_notification .t2pp-zalo-grid .zalo-item--notice .btn-zalo {
    padding: 0;
}
body.theme2 #modal_notification .btn-zalo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    border-radius: 10px;
    text-decoration: none;
    line-height: 1;
    transition: filter .15s;
}
body.theme2 #modal_notification .btn-zalo:hover {
    filter: brightness(1.18);
    text-decoration: none;
}
body.theme2 #modal_notification .zalo-item hr {
    display: none;
}
body.theme2 #modal_notification .support-inline {
    position: absolute;
    left: calc(var(--u) * 385);
    top: calc(var(--u) * 985);
    width: calc(var(--u) * 545);
    height: calc(var(--u) * 56);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    white-space: nowrap;
    color: #fff;
    font-size: max(11.5px, calc(var(--u) * 26));
    font-weight: 700;
}
body.theme2 #modal_notification .support-inline i {
    margin: 0;
    color: #f0cd7a !important;
    font-size: max(13px, calc(var(--u) * 30));
}
body.theme2 #modal_notification .support-inline a {
    margin: 0;
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: max(17px, calc(var(--u) * 42));
    font-weight: 700;
    color: #f0cd7a;
    letter-spacing: .3px;
    text-shadow: 0 0 12px rgba(240, 205, 122, .45);
    text-decoration: none;
}
body.theme2 #modal_notification .btn-hide-popup {
    position: absolute;
    left: calc(var(--u) * 70);
    top: calc(var(--u) * 1075);
    width: calc(var(--u) * 520);
    height: calc(var(--u) * 60);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0 0 0 calc(var(--u) * 100);
    border: 0;
    background: none;
    border-radius: 8px;
    color: #e9e2d0;
    font-size: max(12.5px, calc(var(--u) * 27));
    font-weight: 500;
    text-align: left;
}
body.theme2 #modal_notification .btn-hide-popup:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(240, 205, 122, .6);
}
body.theme2 #modal_notification .btn-hide-popup i {
    font-size: max(11px, calc(var(--u) * 26));
    color: #f0cd7a;
}
body.theme2 #modal_notification .btn-close-popup {
    position: absolute;
    left: calc(var(--u) * 987);
    top: calc(var(--u) * 1073);
    width: calc(var(--u) * 270);
    height: calc(var(--u) * 62);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: none;
    color: #3a2508;
    font-size: max(14px, calc(var(--u) * 33));
    font-weight: 800;
    transition: filter .15s;
}
body.theme2 #modal_notification .btn-close-popup::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: max(11px, calc(var(--u) * 30));
}
body.theme2 #modal_notification .btn-close-popup:hover {
    filter: brightness(1.12);
}
body.theme2 #modal_notification .popup-close:focus-visible,
body.theme2 #modal_notification .btn-zalo:focus-visible,
body.theme2 #modal_notification .btn-hide-popup:focus-visible,
body.theme2 #modal_notification .btn-close-popup:focus-visible,
body.theme2 #modal_notification .support-inline a:focus-visible {
    outline: 2px solid #f0cd7a;
    outline-offset: 2px;
}
body.theme2 #modal_notification .popup-admin {
    position: relative;
    margin: 0;
    padding: 12px 18px;
    border: 0;
    border-top: 1px solid rgba(201, 164, 92, .5);
    border-radius: 0;
    background: #0b0a0b;
    color: #cfc9bb;
    font-size: 14px;
}
@container (max-width: 440px) {
    body.theme2 #modal_notification .zalo-info small { display: none !important; }
    body.theme2 #modal_notification .popup-title h4 { font-size: max(12px, calc(var(--u) * 46)); }
    body.theme2 #modal_notification .popup-title small { font-size: max(7.5px, calc(var(--u) * 22)); }
    body.theme2 #modal_notification .popup-icon { font-size: max(16px, calc(var(--u) * 48)); }
    body.theme2 #modal_notification .box-title { font-size: max(10px, calc(var(--u) * 32)) !important; }
    body.theme2 #modal_notification .box-title i { font-size: max(11px, calc(var(--u) * 34)); }
    body.theme2 #modal_notification .bonus-item { font-size: max(8.5px, calc(var(--u) * 27)); }
    body.theme2 #modal_notification .bonus-item .badge { font-size: max(11px, calc(var(--u) * 42)); }
    body.theme2 #modal_notification .bonus-item b { font-size: max(9px, calc(var(--u) * 30)); }
    body.theme2 #modal_notification .bonus-item::after { margin-right: calc(var(--u) * 34); font-size: max(9px, calc(var(--u) * 34)); }
    body.theme2 #modal_notification .bonus-item::before { margin-left: calc(var(--u) * 12); }
    body.theme2 #modal_notification .bonus-item > span:not(.badge) { margin-left: calc(var(--u) * 26); }
    body.theme2 #modal_notification .bonus-item::before { font-size: max(10px, calc(var(--u) * 34)); }
    body.theme2 #modal_notification .bonus-item::after { display: none; }
    body.theme2 #modal_notification .zalo-item--video .zalo-info strong { font-size: max(9.5px, calc(var(--u) * 30)); }
    body.theme2 #modal_notification .zalo-item--video .btn-zalo { font-size: max(9px, calc(var(--u) * 31)); white-space: nowrap; }
    body.theme2 #modal_notification .zalo-item--discuss .zalo-info strong, body.theme2 #modal_notification .zalo-item--notice .zalo-info strong { font-size: max(8.5px, calc(var(--u) * 27)); top: calc(var(--u) * 886); }
    body.theme2 #modal_notification .zalo-item--discuss .btn-zalo, body.theme2 #modal_notification .zalo-item--notice .btn-zalo { font-size: max(9px, calc(var(--u) * 27)); white-space: nowrap; }
    body.theme2 #modal_notification .zalo-item--video .zalo-info strong { top: calc(var(--u) * 676); }
    body.theme2 #modal_notification .support-inline { left: calc(var(--u) * 380); top: calc(var(--u) * 985); width: calc(var(--u) * 552); height: calc(var(--u) * 56); gap: 5px; font-size: max(7.5px, calc(var(--u) * 26)); }
    body.theme2 #modal_notification .support-inline i { display: none; }
    body.theme2 #modal_notification .support-inline a { font-size: max(12px, calc(var(--u) * 42)); letter-spacing: 0; }
    body.theme2 #modal_notification .btn-hide-popup { font-size: max(9.5px, calc(var(--u) * 27)); }
    body.theme2 #modal_notification .btn-hide-popup i { font-size: max(9.5px, calc(var(--u) * 26)); }
    body.theme2 #modal_notification .btn-close-popup { font-size: max(10px, calc(var(--u) * 33)); }
    body.theme2 #modal_notification .btn-close-popup::before { font-size: max(10px, calc(var(--u) * 30)); }
}
@media (max-width: 576px) {
    body.theme2 #modal_notification .modal-dialog { width: calc(100vw - 16px); margin: 8px auto; }
}
@container (max-width: 600px) {
    body.theme2 #modal_notification .support-inline i { display: none; }
}
body.theme2 #modal_notification .btn-zalo::after { content: ""; position: absolute; inset: -7px -4px; }
body.theme2 #modal_notification .btn-close-popup::after { content: ""; position: absolute; inset: -7px -4px; }
body.theme2 #modal_notification .btn-hide-popup::after { content: ""; position: absolute; inset: -7px -4px; }

/* Sửa lỗi hiển thị tiêu đề "Khuyến mãi nạp tiền": font serif (Georgia) thiếu glyph cho chữ có 2 dấu (ế, ề)
   nên trình duyệt ghép dấu rời. Dùng font sans có đủ tiếng Việt cho riêng tiêu đề này. */
body.theme2 #modal_notification .popup-box--promo .box-title,
body.theme2 #modal_notification .popup-box--promo .box-title span {
    font-family: "DM Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-weight: 700;
    letter-spacing: 0;
}


/* ==========================================================================
   POPUP "ĐỔI PROXY THÀNH CÔNG" (Theme 2) – dựng bởi window.t2SwapSuccess() trong theme2.js
   ========================================================================== */
body.t2-swapok-open { overflow: hidden; }
body.theme2 .t2-swapok { position: fixed; inset: 0; z-index: 20000; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(4, 5, 8, .82); font-family: var(--t2-font); }
body.theme2 .t2-swapok-box { position: relative; width: min(480px, 100%); max-height: calc(100vh - 24px); overflow-y: auto; padding: 26px 24px 22px; text-align: center; color: var(--t2-text-2); background: linear-gradient(180deg, var(--t2-bg-2), var(--t2-bg-1)); border: 1px solid var(--t2-gline); border-radius: 14px; box-shadow: 0 24px 70px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(224, 185, 106, .18); }
body.theme2 .t2-swapok-x { position: absolute; top: 8px; right: 12px; width: 34px; height: 34px; line-height: 30px; font-size: 26px; color: var(--t2-text-2); background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
body.theme2 .t2-swapok-x:hover { color: var(--t2-text); background: rgba(255, 255, 255, .08); }
body.theme2 .t2-swapok-ico { width: 58px; height: 58px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #20140A; background: linear-gradient(180deg, #F3D68F, #C9A45C); border-radius: 50%; box-shadow: 0 0 0 6px rgba(224, 185, 106, .14); }
body.theme2 .t2-swapok-title { margin: 0 0 4px; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 700; letter-spacing: .6px; color: var(--t2-gold-2); }
body.theme2 .t2-swapok-desc { margin: 0 0 16px; font-size: 15px; color: var(--t2-text-2); }
body.theme2 .t2-swapok-label { margin: 0 0 6px; text-align: left; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; color: var(--t2-text-3); }
body.theme2 .t2-swapok-code { padding: 12px 14px; text-align: left; font: 600 15px/1.5 Consolas, "Courier New", monospace; color: #F0CF86; word-break: break-all; user-select: all; background: #0B0C11; border: 1px solid rgba(224, 185, 106, .45); border-radius: 8px; }
body.theme2 .t2-swapok-copy { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; padding: 12px 14px; font-size: 16px; font-weight: 700; color: #20140A; cursor: pointer; background: linear-gradient(180deg, #F3D68F, #C9A45C); border: 1px solid #E0B96A; border-radius: 8px; transition: filter .15s; }
body.theme2 .t2-swapok-copy:hover { filter: brightness(1.08); }
body.theme2 .t2-swapok-copy.is-done { color: #0B2214; background: linear-gradient(180deg, #8BE0A4, var(--t2-ok)); border-color: #8BE0A4; }
body.theme2 .t2-swapok-meta { margin-top: 14px; padding: 4px 12px; text-align: left; background: rgba(255, 255, 255, .04); border: 1px solid var(--t2-line); border-radius: 8px; }
body.theme2 .t2-swapok-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; }
body.theme2 .t2-swapok-row + .t2-swapok-row { border-top: 1px solid var(--t2-line); }
body.theme2 .t2-swapok-k { color: var(--t2-text-2); }
body.theme2 .t2-swapok-v { color: var(--t2-text); text-align: right; }
body.theme2 .t2-swapok-close { width: 100%; margin-top: 14px; padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--t2-text); cursor: pointer; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; }
body.theme2 .t2-swapok-close:hover { background: rgba(255, 255, 255, .14); }
@media (max-width: 480px) {
    body.theme2 .t2-swapok-box { padding: 22px 16px 16px; }
    body.theme2 .t2-swapok-code { font-size: 14px; }
}


/* Logo thương hiệu (ảnh PNG nền trong suốt) ở header Theme 2: co theo chiều cao khung, giữ nguyên tỉ lệ (contain), không cắt ảnh. */
body.theme2 .t2-brand-logo { display: block; flex: 0 0 auto; height: 46px; width: auto; max-width: 56px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .55)); }
@media (max-width: 991px) { body.theme2 .t2-brand-logo { height: 42px; max-width: 48px; } }
@media (max-width: 480px) { body.theme2 .t2-brand-logo { height: 44px; max-width: 50px; } }


/* Menu ngang trên cùng (Theme 2, desktop): co gọn theo chiều rộng để KHÔNG đè lên cụm nút bên phải (Đăng nhập/Đăng ký, Theme 1/2).
   Cụm bên phải không bị co; nếu vẫn thiếu chỗ thì menu bị cắt gọn trong khung của nó thay vì chồng chữ. Mobile (<= 991px) ẩn menu này như cũ. */
body.theme2 .t2-topmenu { overflow: hidden; }
body.theme2 .iq-top-navbar .navbar > .side-menu-bt-sidebar, body.theme2 .iq-top-navbar .navbar > .d-flex { flex-shrink: 0; }
@media (min-width: 992px) and (max-width: 1500px) {
    body.theme2 .t2-brand-text { display: none; } /* logo đã có tên PHBOTSRO; nhường chỗ cho menu */
    body.theme2 .t2-brand { padding-right: 4px; margin-right: 0; }
}
@media (min-width: 992px) and (max-width: 1400px) {
    body.theme2 .t2-topmenu { gap: 0; }
    body.theme2 .t2-topmenu li a { padding: 0 9px; font-size: 13.5px; }
    body.theme2 .t2-topmenu li.active a::after { left: 8px; right: 8px; }
}
@media (min-width: 992px) and (max-width: 1240px) {
    body.theme2 .t2-topmenu li a { padding: 0 6px; font-size: 12.5px; }
}

/* ============ SẢN PHẨM NỔI BẬT – Proxy Việt Nam (chỉ trình bày) ============
   Class .t2-featured chỉ do PHP gắn vào thẻ Proxy VN: trang chủ (dòng 'vn' = product 17) và trang thuê Proxy (kind=vn VÀ id=17).
   Không dùng vị trí thẻ; không đổi kích thước/bố cục; không animation chạy liên tục. */
body.theme2 .t2-featured-badge { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; box-sizing: border-box; padding: 3px 9px; font-size: 10.5px; font-weight: 700; line-height: 1.3; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #FFF1CF; background: linear-gradient(180deg, #8E1A12, #6A120D); border: 1px solid rgba(224, 185, 106, .75); border-radius: 5px; box-shadow: 0 1px 6px rgba(0, 0, 0, .55); }
body.theme2 .t2-featured-badge i { flex: 0 0 auto; font-size: 10px; color: var(--t2-gold-2); }
/* Trang chủ – khung: viền gold mảnh + một lớp sáng nhẹ, nền than pha đỏ trầm ở phần thân */
body.theme2 .t2-svc.t2-featured { border-color: rgba(224, 185, 106, .85); background: linear-gradient(180deg, rgba(163, 31, 22, .16) 0, rgba(163, 31, 22, 0) 120px), var(--t2-bg-1); box-shadow: 0 0 20px rgba(224, 185, 106, .16); transition: border-color .2s, box-shadow .2s, filter .2s; }
body.theme2 .t2-svc.t2-featured:hover { border-color: var(--t2-gold-2); box-shadow: 0 0 24px rgba(224, 185, 106, .26); filter: brightness(1.05); }
/* Banner: giữ nguyên ảnh; chỉ thêm lớp tối nhẹ ở góc trên trái (cho badge) và đường gold mảnh ở cạnh dưới */
body.theme2 .t2-svc.t2-featured .t2-svc-img::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(10, 9, 9, .55) 0%, rgba(10, 9, 9, 0) 55%); }
body.theme2 .t2-svc.t2-featured .t2-svc-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; background: linear-gradient(90deg, rgba(224, 185, 106, 0), var(--t2-gold-2) 20%, var(--t2-gold-2) 80%, rgba(224, 185, 106, 0)); }
body.theme2 .t2-svc.t2-featured .t2-svc-img > .t2-featured-badge { position: absolute; top: 8px; left: 8px; z-index: 2; max-width: calc(100% - 16px); }
/* Nhãn "Ổn định": nhỏ hơn, tách riêng bên dưới badge chính, màu trung tính */
body.theme2 .t2-svc.t2-featured .t2-svc-badge { z-index: 2; top: 34px; left: 8px; padding: 1px 7px; font-size: 9.5px; font-weight: 600; letter-spacing: .3px; color: #E8DCC2; background: rgba(20, 14, 13, .78); border-color: rgba(224, 185, 106, .3); }
body.theme2 .t2-svc.t2-featured .t2-svc-name { z-index: 1; font-size: 17px; font-weight: 800; letter-spacing: .2px; }
body.theme2 .t2-svc.t2-featured .t2-svc-price { font-size: 21px; font-weight: 800; text-shadow: 0 0 12px rgba(224, 185, 106, .3); }
body.theme2 .t2-svc.t2-featured .t2-svc-price small { font-size: 12px; }
body.theme2 .t2-svc.t2-featured .t2-btn { min-height: 44px; font-weight: 800; letter-spacing: .3px; border-color: rgba(255, 226, 150, .65); box-shadow: 0 2px 10px rgba(201, 164, 92, .28); }
/* Trang thuê Proxy */
body.theme2 .t2-pc.t2-featured { border-color: rgba(224, 185, 106, .95); background-image: linear-gradient(180deg, rgba(163, 31, 22, .16) 0, rgba(163, 31, 22, 0) 110px); box-shadow: 0 0 22px rgba(224, 185, 106, .2); transition: box-shadow .2s, filter .2s; }
body.theme2 .t2-pc.t2-featured:hover { box-shadow: 0 0 26px rgba(224, 185, 106, .3); filter: brightness(1.04); }
body.theme2 .t2-pc.t2-featured .t2-pc-top { flex-wrap: wrap; justify-content: flex-start; gap: 6px 8px; }
body.theme2 .t2-pc.t2-featured .t2-pc-top .t2-pc-stock { margin-left: auto; }
body.theme2 .t2-pc.t2-featured .t2-total { color: var(--t2-gold-2); font-size: 24px; }
body.theme2 .t2-pc.t2-featured .t2-buy:not(:disabled) { min-height: 46px; font-weight: 800; letter-spacing: .3px; }
/* Focus bàn phím rõ ràng cho nút thuê/mua của thẻ nổi bật */
body.theme2 .t2-svc.t2-featured .t2-btn:focus-visible, body.theme2 .t2-pc.t2-featured .t2-buy:focus-visible { outline: 2px solid #FFE9A8; outline-offset: 2px; }
@media (max-width: 480px) { body.theme2 .t2-featured-badge { font-size: 10px; padding: 3px 8px; } body.theme2 .t2-svc.t2-featured .t2-svc-name { font-size: 16.5px; } }
@media (prefers-reduced-motion: reduce) { body.theme2 .t2-svc.t2-featured, body.theme2 .t2-pc.t2-featured { transition: none; } }
