/* ===== Footer 2 cột (G5 Media + chính sách) ===== */
.footer .footer-company,
.footer .footer-policy { padding-top: 10px; padding-bottom: 10px; font-size: 14px; line-height: 1.6; }
.footer .footer-company h4 { font-size: 15px; font-weight: 700; margin: 12px 0 8px; color: #222; }
.footer .footer-company p { margin: 0 0 4px; }
.footer .footer-company a,
.footer .footer-policy a { color: #333; }
.footer .footer-company a:hover,
.footer .footer-policy a:hover { color: #c8102e; }
.footer .footer-copy { margin-top: 10px !important; color: #777; }
.footer .footer-policy h3 { font-size: 18px; font-weight: 600; margin: 5px 0 10px; color: #333; }
.footer .footer-policy ul { list-style: none; padding: 0; margin: 0; }
.footer .footer-policy li { margin-bottom: 6px; }
.footer .footer-policy li:before { content: "›"; margin-right: 6px; color: #f0b400; font-weight: 700; }

/* ===== Popup đồng ý cookie ===== */
.xls-cc-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 99998; display: none; }
.xls-cc { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: calc(100% - 24px); max-width: 760px;
    max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; color: #1f2937; border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,.25); z-index: 99999; padding: 24px 28px; display: none; font-size: 15px; line-height: 1.55; }
.xls-cc.show, .xls-cc-overlay.show { display: block; }
.xls-cc-head { display: flex; gap: 14px; align-items: flex-start; }
.xls-cc-icon { flex: 0 0 44px; height: 44px; border: 1px solid #f3b8c0; background: #fdf2f4; border-radius: 4px;
    display: flex; align-items: center; justify-content: center; font-size: 22px; }
.xls-cc h2 { font-size: 24px; font-weight: 700; margin: 0 0 6px; color: #1f2937; }
.xls-cc-intro { margin: 0; }
.xls-cc-intro a { color: #c8102e; text-decoration: underline; }
.xls-cc-list { margin: 16px 0 0; border-top: 1px solid #e5e7eb; }
.xls-cc-item { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e5e7eb; }
.xls-cc-item strong { display: block; margin-bottom: 2px; }
.xls-cc-item p { margin: 0; color: #4b5563; font-size: 14px; }
.xls-cc-switch { position: relative; flex: 0 0 52px; height: 28px; margin-top: 4px; }
.xls-cc-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.xls-cc-slider { position: absolute; inset: 0; cursor: pointer; border: 1px solid #9ca3af; border-radius: 3px; background: #fff; transition: .2s; }
.xls-cc-slider:before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff;
    border: 1px solid #9ca3af; border-radius: 2px; transition: .2s; }
.xls-cc-switch input:checked + .xls-cc-slider { background: #c8102e; border-color: #c8102e; }
.xls-cc-switch input:checked + .xls-cc-slider:before { transform: translateX(24px); border-color: #fff; }
.xls-cc-switch input:disabled + .xls-cc-slider { cursor: not-allowed; border-color: #f3b8c0;
    background: repeating-linear-gradient(135deg, #f8c9d0 0 6px, #fbe0e4 6px 12px); }
.xls-cc-switch input:disabled + .xls-cc-slider:before { transform: translateX(24px); border-color: #fff; }
.xls-cc-switch input:focus-visible + .xls-cc-slider { outline: 2px solid #c8102e; outline-offset: 2px; }
.xls-cc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.xls-cc-btn { cursor: pointer; padding: 9px 18px; font-size: 14px; font-weight: 600; border-radius: 3px; border: 1px solid #c8102e;
    background: #fff; color: #c8102e; }
.xls-cc-btn:hover { background: #fdf2f4; }
.xls-cc-btn.primary { background: #c8102e; color: #fff; }
.xls-cc-btn.primary:hover { background: #a50d26; }
@media (max-width: 575px) {
    .xls-cc { padding: 18px 16px; bottom: 10px; }
    .xls-cc h2 { font-size: 20px; }
    .xls-cc-icon { display: none; }
    .xls-cc-btn { flex: 1 1 100%; }
}

/* ===== Thẻ gói xu ở trang nạp (Users/Napxu.aspx, Users/Napxuquamomo.aspx) ===== */
.xp-card { position: relative; height: 100%; cursor: pointer; background: #fff; color: #222; border: 1px solid #e3e3e3;
    border-radius: 12px; padding: 18px 18px 12px; transition: border-color .15s, box-shadow .15s; }
.xp-card:hover { border-color: #c8102e; }
.xp-card:has(input:checked) { border: 2px solid #c8102e; box-shadow: 0 6px 20px rgba(200,16,46,.15); }
.xp-card.hot { border-color: #f0a3af; }
.xp-badge { position: absolute; top: 12px; right: 12px; background: #c8102e; color: #fff; font-size: 11px; font-weight: 600;
    padding: 2px 9px; border-radius: 999px; }
.xp-name { font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; color: #111; padding-right: 90px; }
.xp-tag { font-size: 13px; color: #666; margin: 2px 0 10px; min-height: 38px; }
.xp-price { font-size: 24px; font-weight: 800; color: #111; }
.xp-price input { width: 18px; height: 18px; margin-right: 4px; vertical-align: middle; accent-color: #c8102e; cursor: pointer; }
.xp-price label { cursor: pointer; margin: 0; }
.xp-xu { border-top: 1px solid #eee; margin-top: 10px; padding-top: 10px; font-weight: 700; font-size: 14px; color: #111; }
.xp-xu b { color: #c8102e; font-size: 19px; }
.xp-bonus { display: inline-block; margin-left: 4px; font-size: 11px; font-weight: 600; color: #1a7f37; background: #e8f6ec;
    padding: 1px 8px; border-radius: 999px; vertical-align: middle; }
.xp-list { list-style: none; padding: 0; margin: 8px 0 0; font-size: 13px; }
.xp-list li { position: relative; padding-left: 20px; margin-bottom: 5px; color: #333; }
.xp-list li:before { content: "\2713"; position: absolute; left: 0; color: #1a7f37; font-weight: 700; }
a.xp-link { color: #c8102e; text-decoration: underline; font-weight: 600; }

/* O dong y chinh sach (mua goi xu, dang ky) */
.xp-agree { margin: 4px 0 14px; font-size: 14px; line-height: 1.5; color: #333; text-align: left; }
.xp-agree label { display: block; font-weight: normal; cursor: pointer; margin: 0; }
.xp-agree input[type=checkbox] { width: auto !important; margin: 0 6px 0 0; vertical-align: -2px; accent-color: #c8102e; }
.xp-agree a { color: #c8102e; text-decoration: underline; }
.xp-agree-err { display: none; color: #c8102e; font-size: 13px; margin-top: 4px; }

/* So xu tren trang thong tin ca nhan */
.xp-xubox { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff5f6; border: 1px solid #f3c6cd; border-radius: 12px; padding: 14px 18px; margin: 0 0 16px; }
.xp-xubox-label { font-size: 14px; color: #555; }
.xp-xubox-num { font-size: 26px; font-weight: 800; color: #c8102e; line-height: 1.2; }
.xp-xubox-num span { font-size: 15px; font-weight: 600; color: #333; }
.xp-xubox-btn { display: inline-block; background: #c8102e; color: #fff !important; font-weight: 600; padding: 8px 22px; border-radius: 999px; text-decoration: none !important; }

/* Nut da chuyen khoan + man hinh cho */
.xp-paid { text-align: center; margin: 22px 0 6px; }
.xp-paid-btn { display: inline-block; background: #28a745; color: #fff !important; border: 0; font-size: 17px; font-weight: 600; padding: 11px 28px; border-radius: 999px; cursor: pointer; text-decoration: none !important; }
.xp-paid-btn:hover { background: #218838; }
.xp-paid-note { font-size: 13px; color: #666; margin-top: 6px; }
.xp-wait { background: #fff; border: 1px solid #e3e3e3; border-radius: 12px; padding: 36px 24px; margin-bottom: 24px; text-align: center; color: #333; }
.xp-wait h2 { font-size: 24px; font-weight: 800; color: #111; margin: 16px 0 10px; }
.xp-wait p { font-size: 15px; line-height: 1.6; max-width: 620px; margin: 0 auto 10px; }
.xp-wait a { color: #c8102e; }
.xp-wait-icon { width: 56px; height: 56px; margin: 0 auto; border: 5px solid #f3c6cd; border-top-color: #c8102e; border-radius: 50%; animation: xpspin 1s linear infinite; }
@keyframes xpspin { to { transform: rotate(360deg); } }
.xp-wait-xu { margin: 14px 0 20px; font-size: 15px; }
.xp-wait-xu b { color: #c8102e; font-size: 20px; }
.xp-wait-actions { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.xp-wait .xp-wait-actions a.xp-paid-btn { color: #fff !important; }
.xp-wait-link { text-decoration: underline; }
