/**
 * Devias — đồng bộ giao diện module AJAX (#Load_Content, .skin-module-form)
 * Load sau style.css
 */

/* --- Thanh cuộn: rất mỏng, slate trung tính (kiểu app/desktop) — Firefox + WebKit --- */
:root {
	--devias-scroll-w: 5px;
	--devias-scroll-track: #eef1f5;
	--devias-scroll-thumb: #b8c2ce;
	--devias-scroll-thumb-hover: #94a0ae;
	--devias-scroll-thumb-active: #7a8696;
	--devias-scroll-radius: 100px;
}

/* getRemainingDay() — Còn X ngày/giờ… (option-date), Chưa diễn ra, Đã hết hạn */
.skin-module-form .alert .option-date,
.main-panel .main-container .alert .option-date,
#Load_Content .alert .option-date {
	display: inline-block;
	margin-left: 6px;
	padding: 3px 12px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.02em;
	color: #1a5270;
	background: linear-gradient(180deg, #f4fbfd 0%, #d8eef6 100%);
	border: 1px solid #9cc9de;
	border-radius: 6px;
	box-shadow:
		0 1px 2px rgba(43, 54, 63, 0.07),
		inset 0 1px 0 rgba(255, 255, 255, 0.85);
	vertical-align: baseline;
	white-space: nowrap;
}

.skin-module-form .alert .option-waitdate,
.main-panel .main-container .alert .option-waitdate,
#Load_Content .alert .option-waitdate {
	display: inline-block;
	margin-left: 4px;
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 600;
	color: #8a6d3b;
	background: linear-gradient(180deg, #fffbf0 0%, #f5e9c8 100%);
	border: 1px solid #e0c97a;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(43, 54, 63, 0.06);
	vertical-align: baseline;
}

.skin-module-form .alert .option-hetdate,
.main-panel .main-container .alert .option-hetdate,
#Load_Content .alert .option-hetdate {
	display: inline-block;
	margin-left: 4px;
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 600;
	color: #843534;
	background: linear-gradient(180deg, #fff5f5 0%, #f2dede 100%);
	border: 1px solid #dca7a7;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(43, 54, 63, 0.06);
	vertical-align: baseline;
}

html {
	scrollbar-width: thin;
	scrollbar-color: var(--devias-scroll-thumb) var(--devias-scroll-track);
}
html::-webkit-scrollbar {
	width: var(--devias-scroll-w);
	height: var(--devias-scroll-w);
}
html::-webkit-scrollbar-track {
	background: var(--devias-scroll-track);
	border-radius: var(--devias-scroll-radius);
}
html::-webkit-scrollbar-thumb {
	background: var(--devias-scroll-thumb);
	border-radius: var(--devias-scroll-radius);
	border: 1px solid transparent;
	background-clip: padding-box;
}
html::-webkit-scrollbar-thumb:hover {
	background: var(--devias-scroll-thumb-hover);
}
html::-webkit-scrollbar-thumb:active {
	background: var(--devias-scroll-thumb-active);
}

/* Khối nội dung / cột phải / bảng: cùng palette khi có overflow */
.main-panel .main-container,
#Load_Content,
#RightColumnSkin,
#Load_Event,
.panel-body,
.modal-body,
.table-responsive,
.skin-module-form,
.pre-scrollable {
	scrollbar-width: thin;
	scrollbar-color: var(--devias-scroll-thumb) var(--devias-scroll-track);
}
.main-panel .main-container::-webkit-scrollbar,
#Load_Content::-webkit-scrollbar,
#RightColumnSkin::-webkit-scrollbar,
#Load_Event::-webkit-scrollbar,
.panel-body::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar,
.skin-module-form::-webkit-scrollbar,
.pre-scrollable::-webkit-scrollbar {
	width: var(--devias-scroll-w);
	height: var(--devias-scroll-w);
}
.main-panel .main-container::-webkit-scrollbar-track,
#Load_Content::-webkit-scrollbar-track,
#RightColumnSkin::-webkit-scrollbar-track,
#Load_Event::-webkit-scrollbar-track,
.panel-body::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track,
.table-responsive::-webkit-scrollbar-track,
.skin-module-form::-webkit-scrollbar-track,
.pre-scrollable::-webkit-scrollbar-track {
	background: var(--devias-scroll-track);
	border-radius: var(--devias-scroll-radius);
}
.main-panel .main-container::-webkit-scrollbar-thumb,
#Load_Content::-webkit-scrollbar-thumb,
#RightColumnSkin::-webkit-scrollbar-thumb,
#Load_Event::-webkit-scrollbar-thumb,
.panel-body::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb,
.skin-module-form::-webkit-scrollbar-thumb,
.pre-scrollable::-webkit-scrollbar-thumb {
	background: var(--devias-scroll-thumb);
	border-radius: var(--devias-scroll-radius);
	border: 1px solid transparent;
	background-clip: padding-box;
}
.main-panel .main-container::-webkit-scrollbar-thumb:hover,
#Load_Content::-webkit-scrollbar-thumb:hover,
#RightColumnSkin::-webkit-scrollbar-thumb:hover,
#Load_Event::-webkit-scrollbar-thumb:hover,
.panel-body::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover,
.table-responsive::-webkit-scrollbar-thumb:hover,
.skin-module-form::-webkit-scrollbar-thumb:hover,
.pre-scrollable::-webkit-scrollbar-thumb:hover {
	background: var(--devias-scroll-thumb-hover);
}
.main-panel .main-container::-webkit-scrollbar-thumb:active,
#Load_Content::-webkit-scrollbar-thumb:active,
#RightColumnSkin::-webkit-scrollbar-thumb:active,
#Load_Event::-webkit-scrollbar-thumb:active,
.panel-body::-webkit-scrollbar-thumb:active,
.modal-body::-webkit-scrollbar-thumb:active,
.table-responsive::-webkit-scrollbar-thumb:active,
.skin-module-form::-webkit-scrollbar-thumb:active,
.pre-scrollable::-webkit-scrollbar-thumb:active {
	background: var(--devias-scroll-thumb-active);
}

/* Bank ItemBuy / GiaiTri LoDe — cùng khung ChangeClass (skin-module-form) */
.skin-module-form.item-buy-devias .item-buy-packages .panel-heading,
.skin-module-form.lode-ket-qua-devias .panel-heading {
	font-weight: 600;
	color: #37474f;
}
.skin-module-form.item-buy-devias .item-buy-packages > .panel-heading {
	background: #eef1f5;
	border-bottom: 1px solid #e0e4e8;
	color: #2b363f;
	border-radius: 4px 4px 0 0;
}
.skin-module-form.item-buy-devias .item-buy-packages table img {
	max-height: 40px;
	width: auto;
	vertical-align: middle;
}
/* Bảng gói Xu — slate giống thanh Thông tin bảo mật / menu Devias */
.skin-module-form.item-buy-devias .item-buy-packages .item-buy-price-table {
	margin-bottom: 0;
	background: #fff;
	border-collapse: separate;
	border-radius: 0 0 4px 4px;
	overflow: hidden;
}
.skin-module-form.item-buy-devias .item-buy-packages .item-buy-price-table > thead > tr > th {
	background: #2b363f;
	color: #fff;
	border-color: #1f272e !important;
	font-weight: 600;
	font-size: 13px;
	padding: 10px 8px;
	vertical-align: middle;
}
.skin-module-form.item-buy-devias .item-buy-packages .item-buy-price-table > tbody > tr > td {
	border-color: #e8ecf1 !important;
	color: #2d353c;
	padding: 10px 8px;
	vertical-align: middle;
	background: #fafbfc;
}
.skin-module-form.item-buy-devias .item-buy-packages .item-buy-price-table > tbody > tr:nth-child(even) > td {
	background: #f0f3f6;
}
.skin-module-form.item-buy-devias .item-buy-packages .item-buy-price-table .item-buy-price-cell {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: #1565c0;
}
.skin-module-form.item-buy-devias .item-buy-packages .item-buy-price-table .item-buy-inv-cell {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: #2e7d32;
}
/* NapThe / NapTheATM — cùng shell ItemBuy */
.skin-module-form.item-buy-devias .napthe-atm-form .napthe-atm-main-row {
	margin-top: 0;
}
.skin-module-form.item-buy-devias .napthe-atm-form .table-pack-goi tbody td {
	vertical-align: middle;
}
.skin-module-form.item-buy-devias .napthe-atm-form .pack-num {
	font-size: 1.35em;
	font-weight: 700;
	color: #c62828;
}
.skin-module-form.item-buy-devias .napthe-atm-form .napthe-pack-desc li {
	margin-bottom: 6px;
}
.skin-module-form.item-buy-devias .napthe-atm-form #contentQR.napthe-content-qr,
.skin-module-form.item-buy-devias .napthe-atm-form #contentQR {
	text-align: center;
}
.skin-module-form.item-buy-devias .napthe-atm-form #contentQR p {
	margin: 6px 0;
	font-size: 13px;
}
.skin-module-form.item-buy-devias .napthe-atm-form #imageQR img {
	max-width: 100%;
	height: auto;
	border: 1px solid #e8ecf1;
	border-radius: 8px;
	padding: 8px;
	background: #fff;
}
.skin-module-form.item-buy-devias .napthe-atm-form #napthe-vip-wrap {
	max-height: calc(100vh - 220px);
	overflow-y: auto;
}
.skin-module-form.item-buy-devias .napthe-atm-form #timeline.vip-timeline-table tr.space {
	min-height: 24px;
	position: relative;
}
.skin-module-form.item-buy-devias .napthe-vip-panel .panel-body {
	background: #fafbfc;
}
/* NapTheQR2 — bảng gói + nút mệnh giá */
.skin-module-form.item-buy-devias .napthe-qr2-form .napthe-qr2-pack-table tbody td {
	vertical-align: middle;
}
.skin-module-form.item-buy-devias .napthe-qr2-form .napthe-qr2-amount-cell {
	line-height: 2.1;
}
.skin-module-form.item-buy-devias .napthe-qr2-form .napthe-qr2-amt-btn {
	margin: 4px 6px 4px 0;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.skin-module-form.item-buy-devias .napthe-qr2-form .napthe-qr2-summary {
	margin-top: 16px;
}
.skin-module-form.item-buy-devias .napthe-qr2-form #nq2-imageQR img {
	max-width: 100%;
	height: auto;
	border: 1px solid #e8ecf1;
	border-radius: 8px;
	padding: 8px;
	background: #fff;
}
.skin-module-form.item-buy-devias .napthe-qr2-form .napthe-qr2-discreet {
	text-align: center;
	background: #f7f9fc;
	border-color: #e3e8ef;
}
.skin-module-form.item-buy-devias .napthe-qr2-form .napthe-qr2-full-des-details summary {
	list-style: none;
}
.skin-module-form.item-buy-devias .napthe-qr2-form .napthe-qr2-full-des-details summary::-webkit-details-marker {
	display: none;
}
/* GiftCode / NhanGift — lịch sử gộp cuối trang */
.skin-module-form.item-buy-devias .gift-history-embedded {
	margin-top: 24px;
}
.skin-module-form.item-buy-devias .gift-history-table tbody td .label {
	font-size: 12px;
}

/* NapThe / XemThe — danh sách thẻ đã nạp */
.skin-module-form.item-buy-devias .xem-the-table .xem-the-status small {
	display: block;
	margin-top: 4px;
	line-height: 1.35;
	max-width: 220px;
	margin-left: auto;
	margin-right: auto;
}
.skin-module-form.lode-ket-qua-devias .lode-ketqua-bets .panel-heading {
	line-height: 1.6;
}
@media (max-width: 767px) {
	.skin-module-form.lode-ket-qua-devias .lode-ketqua-bets .panel-heading .pull-left,
	.skin-module-form.lode-ket-qua-devias .lode-ketqua-bets .panel-heading .pull-right {
		float: none !important;
		display: block;
		text-align: left;
		margin-bottom: 8px;
	}
}

/* Header — dropdown Ngân hàng: số dư (ghi đè .text-warning #fbc972 quá nhạt trên nền trắng) */
.layout-header #bank.dropdown-menu .dmenuitem .pull-right,
.layout-header #bank.dropdown-menu .pull-right.text-warning {
	color: #0f172a !important;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}

/* Liên kết nhanh — căn thẳng cột chữ (icon khác nhau không đẩy text lệch) */
.layout-header .nav-header .devias-quicklinks-dd {
	min-width: 250px;
}
.layout-header .nav-header .devias-quicklinks-dd > li > a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px !important;
	white-space: normal;
	line-height: 1.35;
}
.layout-header .nav-header .devias-quicklinks-dd > li > a > .fa:first-child {
	flex: 0 0 1.15em;
	width: 1.15em;
	text-align: center;
}

/* Menu user (đã đăng nhập) — căn icon + chữ như Liên kết nhanh */
.layout-header .nav-header .devias-user-dropdown {
	min-width: 240px;
}
.layout-header .nav-header .devias-user-dropdown > li > a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px !important;
	white-space: normal;
	line-height: 1.35;
}
.layout-header .nav-header .devias-user-dropdown > li > a > .fa:first-child {
	flex: 0 0 1.25em;
	width: 1.25em;
	min-width: 1.25em;
	text-align: center;
}

/* Cột Bootstrap: tránh tràn ngang khi nội dung dài (scrollbar x không mong muốn) */
.main-panel .main-container #Load_Content .row > [class*="col-"],
.main-panel .main-container .skin-module-form .row > [class*="col-"] {
	min-width: 0;
	box-sizing: border-box;
}

/* Khối nạp / form tóm tắt */
.skin-module-form .devias-summary-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px 24px;
	background: #f7f8fa;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	padding: 16px 18px;
	margin: 16px 0;
}
.skin-module-form .devias-summary-grid .devias-summary-item {
	flex: 1 1 200px;
	min-width: 0;
}
.skin-module-form .devias-summary-grid .devias-summary-item label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #607d8b;
	margin-bottom: 6px;
	text-transform: none;
	letter-spacing: 0.02em;
}
.skin-module-form .devias-summary-grid .devias-summary-value {
	font-size: 22px;
	font-weight: 700;
	color: #2e7d32;
	line-height: 1.2;
	margin: 0;
}
.skin-module-form .devias-summary-grid .form-control {
	border-radius: 6px;
	box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}

/* Bảng module — theme nâu đồng (đồng bộ Nạp thẻ / bảng liệt kê) */
.skin-module-form .table.devias-table-wood > thead > tr > th,
.main-panel .main-container #Load_Content .table.devias-table-wood > thead > tr > th {
	background: #5d4037;
	color: #fff;
	border-color: #4e342e;
	font-weight: 600;
	font-size: 13px;
	vertical-align: middle;
}
.skin-module-form .table.devias-table-wood.table-bordered > thead > tr > th,
.skin-module-form .table.devias-table-wood.table-bordered > tbody > tr > td {
	border-color: #d7ccc8;
}

/* Nút chọn gói (radio) */
.skin-module-form .napthe-pack-label {
	border-radius: 6px;
	border-color: #cfd8dc;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
	font-weight: 600;
}
.skin-module-form .napthe-pack-label:hover {
	border-color: #90a4ae;
	background: #fafafa;
}
.skin-module-form .napthe-pack-label.napthe-pack-label--active {
	background: #5d4037;
	border-color: #4e342e;
	color: #fff;
	text-shadow: none;
}
.skin-module-form .napthe-pack-label.napthe-pack-label--active input[type="radio"] {
	accent-color: #fff;
}

/* Nút phụ trong bảng — theme đồng */
.skin-module-form .btn.btn-devias-wood {
	background: #efebe9;
	border-color: #bcaaa4;
	color: #4e342e;
	font-weight: 600;
	border-radius: 6px;
}
.skin-module-form .btn.btn-devias-wood:hover,
.skin-module-form .btn.btn-devias-wood:focus {
	background: #d7ccc8;
	border-color: #a1887f;
	color: #3e2723;
}

/* --- VIP timeline (Nạp ATM) --- */
#napthe-vip-wrap {
	overflow-x: hidden;
	overflow-y: auto;
	max-width: 100%;
	box-sizing: border-box;
	-webkit-overflow-scrolling: touch;
}

#timeline.vip-timeline-table {
	--color-current: #2e7d32;
	--color-next: #66bb6a;
	--color-default: #e0e0e0;
	table-layout: fixed;
	width: 100%;
	max-width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

#timeline.vip-timeline-table .vip-timeline-track {
	width: 30px;
	max-width: 30px;
	min-width: 30px;
	padding: 0;
	position: relative;
	vertical-align: top;
}

#timeline.vip-timeline-table .vip-timeline-body {
	min-width: 0;
	width: auto;
	vertical-align: top;
	padding: 0 0 0 4px;
}

#timeline.vip-timeline-table td {
	position: relative;
}

#timeline.vip-timeline-table .point {
	position: absolute;
	width: 12px;
	height: 12px;
	left: 50%;
	margin-left: -6px;
	top: 10px;
	background-color: #ccc;
	border-radius: 50%;
	z-index: 2;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #bdbdbd;
}

#timeline.vip-timeline-table .point.filled {
	background-color: #2e7d32;
	box-shadow: 0 0 0 1px #1b5e20;
}
#timeline.vip-timeline-table .point.nextfilled {
	background-color: #66bb6a;
}

#timeline.vip-timeline-table .milestone-content {
	position: relative !important;
	left: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 12px 0;
	padding: 10px 12px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
	font-size: 12px;
	line-height: 1.45;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

#timeline.vip-timeline-table .milestone-title {
	font-weight: 700;
	color: #37474f;
}
#timeline.vip-timeline-table .milestone-range {
	color: #546e7a;
	font-size: 11px;
	margin-top: 4px;
}
#timeline.vip-timeline-table .milestone-desc {
	font-style: italic;
	color: #607d8b;
	font-size: 11px;
	margin-top: 4px;
}

#timeline.vip-timeline-table tr.space .vip-timeline-body {
	padding: 0;
	vertical-align: top;
}

#timeline.vip-timeline-table .lineprogress {
	position: absolute;
	width: 4px;
	height: 100%;
	min-height: 8px;
	background: #e0e0e0;
	left: 50%;
	margin-left: -2px;
	top: 0;
	border-radius: 2px;
}

/* Alert hướng dẫn nạp */
.skin-module-form .napthe-instructions {
	border-radius: 10px;
	border-left: 4px solid #5d4037;
	background: #eaf3fb;
	border: 1px solid rgba(93, 64, 55, .14);
	color: #37474f;
}

.skin-module-form .napthe-instructions ul {
	margin-top: 10px;
}

.skin-module-form .napthe-instructions li {
	margin: 6px 0;
}

/* Bảng gói nạp: phối màu + spacing hợp theme */
.napthe-atm-form .table-pack-goi {
	border-radius: 10px;
	overflow: hidden;
}
.napthe-atm-form .table-pack-goi tbody td {
	padding: 14px 10px;
}
.napthe-atm-form .table-pack-goi tbody tr:nth-child(odd) {
	background: #fcfcfd;
}
.napthe-atm-form .table-pack-goi tbody tr:nth-child(even) {
	background: #f6f7f9;
}

@media (max-width: 991px) {
	#napthe-vip-wrap {
		max-height: none;
		margin-top: 16px;
	}
}

/* Legacy: .content trong module — không vượt cột */
.main-panel .main-container #Load_Content .content,
.main-panel .main-container #Load_Content form[name="frm"] {
	max-width: 100%;
	box-sizing: border-box;
}

/* Menu con module (Nạp thẻ / Ngân hàng / …) — ô tile linh hoạt, đồng bộ Devias */
.main-panel .main-container #Load_Content .ModuleManage .content {
	width: 100% !important;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
	padding-left: 4px;
	padding-right: 4px;
}
/* Các trang dạng hướng dẫn (ProtectWrap xếp dọc full width — không nằm cạnh nhau) */
.main-panel .main-container #Load_Content .ModuleManage .content > .ProtectWrap {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}
.main-panel .main-container #Load_Content .ModuleManage .menulist {
	float: none;
	width: auto;
	flex: 1 1 200px;
	min-width: 180px;
	max-width: 320px;
	height: auto;
	min-height: 60px;
	margin: 4px;
	padding: 6px;
	border-radius: 8px;
	box-sizing: border-box;
	background: linear-gradient(180deg, #fff 0%, #f0f2f5 100%);
	border: 1px solid #cfd8dc;
	transition: box-shadow 0.15s, border-color 0.15s;
}
.main-panel .main-container #Load_Content .ModuleManage .menulist:hover {
	background: linear-gradient(180deg, #fff 0%, #e8eaf0 100%);
	border-color: #90a4ae;
	box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.main-panel .main-container #Load_Content .ModuleManage .button {
	width: 100%;
	float: none;
	display: flex;
	align-items: center;
	border-radius: 8px;
	min-height: 52px;
}
.main-panel .main-container #Load_Content .ModuleManage .button img {
	flex-shrink: 0;
	margin-right: 8px;
}
.main-panel .main-container #Load_Content .ModuleManage .button p {
	float: none;
	width: auto;
	flex: 1;
	margin: 0;
	padding-left: 4px;
	color: #4e342e;
}
.main-panel .main-container #Load_Content .ModuleManage .button p span {
	color: #607d8b;
}
.main-panel .main-container #Load_Content .ModuleManage h3.TitleModule {
	font-size: 16px;
	font-weight: 700;
	color: #37474f;
	margin: 0 0 12px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid #e0e0e0;
}

/* Thẻ menu dạng thumbnail (Xếp hạng, …) */
.skin-module-form a.thumbnail {
	border-radius: 8px;
	border-color: #e0e0e0;
	transition: box-shadow 0.15s, border-color 0.15s;
}
.skin-module-form a.thumbnail:hover {
	border-color: #bcaaa4;
	box-shadow: 0 4px 14px rgba(0,0,0,.1);
	text-decoration: none;
}

/* Thông tin tài khoản (List_Act) */
.skin-module-form .account-info-devias .account-info-table {
	margin-bottom: 0;
	background: #fff;
}
.skin-module-form .account-info-devias .account-info-table > tbody > tr > th {
	width: 28%;
	background: #f5f7fa;
	color: #37474f;
	font-weight: 600;
	vertical-align: middle;
	border-color: #e0e0e0;
}
.skin-module-form .account-info-devias .account-info-table > tbody > tr > td {
	vertical-align: middle;
	border-color: #e0e0e0;
}

/* Lịch sử hoạt động / lịch sử tài khoản */
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 10px;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.07);
	overflow: hidden;
	margin-top: 12px;
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-empty {
	background: #fafafa !important;
	color: #455a64 !important;
	padding: 22px 16px !important;
	font-size: 14px !important;
	vertical-align: middle !important;
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin-bottom: 0;
	border-radius: 0;
	overflow: hidden;
	border: none;
	border-bottom: 1px solid #e0e0e0;
	background: #efebe9;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-tab {
	flex: 1 1 50%;
	min-width: 140px;
	text-align: center;
	padding: 10px 14px;
	font-weight: 600;
	font-size: 13px;
	color: #4e342e;
	background: linear-gradient(180deg, #efebe9 0%, #d7ccc8 100%);
	border: none;
	border-right: 1px solid #bcaaa4;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-tab:last-child {
	border-right: none;
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-tab:hover {
	background: #efebe9;
	color: #3e2723;
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-tab.is-active {
	background: linear-gradient(180deg, #6d4c41 0%, #5d4037 100%);
	color: #fff;
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-tab:focus-visible {
	outline: 2px solid #5d4037;
	outline-offset: 2px;
	z-index: 1;
	position: relative;
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-filters {
	margin-bottom: 0;
	padding: 14px 16px;
	border-radius: 0;
	border: none;
	border-bottom: 1px solid #eceff1;
	background: #f5f7fa;
	box-shadow: none;
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-filter-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px 20px;
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-filter-field {
	flex: 1 1 160px;
	min-width: 0;
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-filter-field label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #607d8b;
	margin-bottom: 6px;
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-filter-field .form-control {
	border-radius: 6px;
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-filter-actions {
	flex: 0 0 auto;
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-btn-search {
	min-height: 30px;
	padding-left: 16px;
	padding-right: 16px;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
@media (max-width: 767px) {
	.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-filter-actions {
		flex: 1 1 100%;
	}
	.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-btn-search {
		width: 100%;
	}
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	background: #fff;
	padding: 0 12px 14px;
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-data-table {
	margin-bottom: 0;
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-data-table > thead > tr > th,
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-data-table > tbody > tr > td {
	vertical-align: middle !important;
}
.main-panel .main-container #Load_Content .account-action-history-wrap .account-history-panel .account-history-data-table td code {
	display: inline-block;
	vertical-align: middle;
	padding: 4px 8px;
	margin: 0;
	font-size: 12px;
	line-height: 1.35;
	background: #ffebee;
	color: #c62828;
	border-radius: 4px;
	border: 1px solid #ffcdd2;
}

/* BlockTrade — captcha & form */
.skin-module-form.block-trade-devias .block-trade-captcha-img {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 4px;
	max-width: 100%;
	height: auto;
}
.skin-module-form.block-trade-devias .ActiveService {
	margin-bottom: 14px;
}

/* Đổi giới tính (ChangeClass) */
.skin-module-form.change-class-devias .change-class-alert-guide {
	border-left: 4px solid #f0ad4e;
	color: #5d4037;
}
.skin-module-form.change-class-devias .change-class-alert-guide li {
	margin-bottom: 6px;
	line-height: 1.45;
}
.skin-module-form.change-class-devias .change-class-conditions .panel-heading {
	background: #fafafa;
	border-color: #e0e0e0;
	font-weight: 600;
	color: #37474f;
}
.skin-module-form.change-class-devias .change-class-conditions .table > tbody > tr > th {
	background: #f5f7fa;
	font-weight: 600;
	color: #455a64;
	vertical-align: middle;
}
.skin-module-form.change-class-devias .change-class-captcha-img {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 4px;
	max-width: 100%;
	height: auto;
}

/* Reset hộ (UpResetDay) — cùng layout / theme ChangeClass */
.skin-module-form.up-reset-day-devias .up-reset-day-alert-guide {
	border-left: 4px solid #f0ad4e;
	color: #5d4037;
}
.skin-module-form.up-reset-day-devias .up-reset-day-alert-guide li {
	margin-bottom: 6px;
	line-height: 1.45;
}
.skin-module-form.up-reset-day-devias .up-reset-day-alert-locked {
	border-left: 4px solid #d9534f;
}
.skin-module-form.up-reset-day-devias .up-reset-day-alert-locked li {
	margin-bottom: 6px;
	line-height: 1.45;
}
.skin-module-form.up-reset-day-devias .up-reset-day-conditions .panel-heading,
.skin-module-form.up-reset-day-devias .up-reset-day-top-limits .panel-heading {
	background: #fafafa;
	border-color: #e0e0e0;
	font-weight: 600;
	color: #37474f;
}
.skin-module-form.up-reset-day-devias .up-reset-day-conditions .table > tbody > tr > th,
.skin-module-form.up-reset-day-devias .up-reset-day-top-limits .table > thead > tr > th {
	background: #f5f7fa;
	font-weight: 600;
	color: #455a64;
	vertical-align: middle;
}
.skin-module-form.up-reset-day-devias .up-reset-day-captcha-img {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 4px;
	max-width: 100%;
	height: auto;
}
.skin-module-form.up-reset-day-devias .ActiveService {
	margin-bottom: 14px;
	color: #455a64;
	font-weight: 600;
}
.skin-module-form.up-reset-day-devias .up-reset-day-alert-guide li strong,
.skin-module-form.up-reset-day-devias .up-reset-day-alert-locked li strong {
	display: inline;
	font-weight: 700;
	color: #4e342e;
	padding: 1px 7px;
	border-radius: 4px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 248, 237, 0.95) 100%);
	box-shadow: 0 0 0 1px rgba(93, 64, 55, 0.12);
}

/* Đổi tiền (MoneyExChange) */
.skin-module-form.money-exchange-devias .money-ex-guide {
	border-left: 4px solid #f0ad4e;
	color: #37474f;
}
.skin-module-form.money-exchange-devias .money-ex-guide > p:first-of-type {
	margin: 10px 0 8px 0;
}
.skin-module-form.money-exchange-devias .money-ex-guide .list-unstyled {
	margin: 0;
	padding-left: 18px;
}
.skin-module-form.money-exchange-devias .money-ex-guide li {
	margin-bottom: 6px;
	line-height: 1.45;
}
/* Nhấn mạnh tên tiền / % trong danh sách & đoạn mở đầu */
.skin-module-form.money-exchange-devias .money-ex-guide li strong,
.skin-module-form.money-exchange-devias .money-ex-guide p strong {
	display: inline;
	font-weight: 700;
	color: #4e342e;
	padding: 1px 7px;
	border-radius: 4px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 248, 237, 0.98) 100%);
	box-shadow: 0 0 0 1px rgba(93, 64, 55, 0.14), 0 1px 2px rgba(0, 0, 0, 0.04);
	letter-spacing: 0.01em;
}
.skin-module-form.money-exchange-devias .money-ex-guide li strong {
	vertical-align: baseline;
}
/* Đồng bộ: đổi giới tính & alert hướng dẫn khác */
.skin-module-form .change-class-alert-guide li strong,
.skin-module-form .napthe-instructions li strong {
	display: inline;
	font-weight: 700;
	color: #4e342e;
	padding: 1px 7px;
	border-radius: 4px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 248, 237, 0.95) 100%);
	box-shadow: 0 0 0 1px rgba(93, 64, 55, 0.12);
}

.skin-module-form.money-exchange-devias .money-ex-captcha-img {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 4px;
	max-width: 100%;
	height: auto;
}
.skin-module-form.money-exchange-devias #TypeDoi {
	max-width: 340px;
}
.skin-module-form.money-exchange-devias #money1 {
	max-width: 280px;
}
.skin-module-form.money-exchange-devias #passcap2 {
	max-width: 320px;
}

/* Panel widget trong AJAX — viền nhẹ */
.main-panel .main-container #Load_Content .panel.widget.light-widget:not(.skin-module-form) {
	border-radius: 6px;
	border: 1px solid #e8e8e8;
	box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* Bảng xếp hạng: không dùng .table-responsive (Bootstrap) — tránh vùng overflow lồng.
   Cuộn dọc toàn khung nằm tại .layout-main > .main-panel (style.css); chỉ cần cuộn ngang trên màn hẹp. */
.skin-module-form .devias-ranking-table-wrap {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: 12px;
}
@media (max-width: 767px) {
	.skin-module-form .devias-ranking-table-wrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* Bảng xếp hạng / Event Top: header đồng bộ tông panel (#2b363f) */
.skin-module-form .devias-ranking-table-wrap > .table > thead > tr > th {
	background: #2b363f;
	color: #ecf0f1;
	border-color: #3d4d5c !important;
	font-weight: 600;
	vertical-align: middle;
}

/* TOP 1–3: huy hiệu cúp gọn, cùng chiều cao hàng với số thưứ tự thường */
.skin-module-form .devias-rank-medal {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.65em;
	height: 1.45em;
	padding: 0 0.35em;
	border-radius: 5px;
	font-size: 0.78em;
	line-height: 1;
	vertical-align: middle;
	box-sizing: border-box;
	border: 1px solid transparent;
	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.06),
		inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.skin-module-form .devias-rank-medal__glyph {
	display: block;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
	line-height: 1;
}
.skin-module-form .devias-rank-medal--1 {
	background: linear-gradient(180deg, #fffdf7 0%, #f5e6c8 55%, #e8d4a8 100%);
	border-color: rgba(180, 140, 60, 0.35);
	color: #5c4818;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.skin-module-form .devias-rank-medal--2 {
	background: linear-gradient(180deg, #ffffff 0%, #eceff1 55%, #dde3e6 100%);
	border-color: rgba(84, 110, 122, 0.28);
	color: #455a64;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
.skin-module-form .devias-rank-medal--3 {
	background: linear-gradient(180deg, #fffaf5 0%, #f2dfd4 52%, #e6cbb8 100%);
	border-color: rgba(141, 96, 72, 0.32);
	color: #5d4037;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
.skin-module-form .devias-ranking-table-wrap .table tbody > tr > td {
	vertical-align: middle;
}
.skin-module-form .devias-rank-num {
	display: inline-block;
	min-width: 1.5em;
	text-align: center;
	font-weight: 600;
	color: #4a5568;
}

/* Chủng tộc — character_code() trả về <font color=...>; bọc .devias-class-pill để có nền badge */
.skin-module-form .devias-ranking-classname {
	font-size: inherit;
	line-height: 1.4;
}
.skin-module-form .devias-ranking-classname font {
	font-size: inherit;
}
.skin-module-form .devias-class-pill {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 6px;
	font-size: 0.85em;
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.35;
	border: 1px solid rgba(0, 0, 0, 0.06);
	vertical-align: middle;
	-webkit-font-smoothing: antialiased;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 250, 250, 0.88) 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 1px 1px rgba(0, 0, 0, 0.035);
}
.skin-module-form .devias-class-pill font {
	font-weight: inherit;
}
/* Nền gần trắng + viền theo sắc tộc — nhẹ, không gradient đậm */
.skin-module-form .devias-class-pill--DW {
	background: linear-gradient(180deg, #fbf9ff 0%, #f3effa 100%);
	border-color: rgba(106, 89, 181, 0.2);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		0 0 0 1px rgba(126, 87, 194, 0.06);
}
.skin-module-form .devias-class-pill--DK {
	background: linear-gradient(180deg, #fffdfb 0%, #faf4ee 100%);
	border-color: rgba(191, 85, 43, 0.22);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.92),
		0 0 0 1px rgba(191, 85, 43, 0.05);
}
.skin-module-form .devias-class-pill--ELF {
	background: linear-gradient(180deg, #fffafc 0%, #faf5f8 100%);
	border-color: rgba(210, 90, 145, 0.2);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 0 0 1px rgba(210, 90, 145, 0.06);
}
.skin-module-form .devias-class-pill--MG {
	background: linear-gradient(180deg, #fffbfb 0%, #faf6f6 100%);
	border-color: rgba(199, 43, 40, 0.2);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.92),
		0 0 0 1px rgba(199, 43, 40, 0.05);
}
.skin-module-form .devias-class-pill--DL {
	background: linear-gradient(180deg, #fafbfc 0%, #f3f5f6 100%);
	border-color: rgba(96, 125, 139, 0.22);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.88),
		0 0 0 1px rgba(96, 125, 139, 0.06);
}
.skin-module-form .devias-class-pill--SM {
	background: linear-gradient(180deg, #fffef8 0%, #faf6e8 100%);
	border-color: rgba(191, 168, 84, 0.24);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		0 0 0 1px rgba(191, 168, 84, 0.06);
}
.skin-module-form .devias-class-pill--RF {
	background: linear-gradient(180deg, #fdfcfa 0%, #f7f3f0 100%);
	border-color: rgba(177, 136, 82, 0.22);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		0 0 0 1px rgba(177, 136, 82, 0.06);
}
.skin-module-form .devias-class-pill--UNK {
	background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
	border-color: rgba(0, 0, 0, 0.08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* Chủ hội — xanh dương đậm, dễ đọc (thay text-warning cam) */
.skin-module-form .devias-ranking-gmaster {
	color: #1e5a8a;
	font-weight: 600;
}

/* Logo bang 8×8 (decode.php) + placeholder */
.skin-module-form .devias-guild-logo-cell {
	vertical-align: middle !important;
}
.skin-module-form .devias-guild-mark-img {
	display: inline-block;
	vertical-align: middle;
	border-radius: 4px;
	border: 1px solid #dce3ea;
	background: #fff;
	image-rendering: pixelated;
	image-rendering: crisp-edges;
	image-rendering: -moz-crisp-edges;
}
.skin-module-form .devias-guild-logo-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 4px;
	background: linear-gradient(145deg, #eceff1, #cfd8dc);
	border: 1px solid #b0bec5;
	color: #546e7a;
	font-size: 16px;
}

/* Event Top / Ranking — link bang Top1 nổi bật; popup thành viên (Bootstrap modal) */
.skin-module-form .devias-ranking-table-wrap tbody tr:first-child .devias-guild-quick,
.skin-module-form .devias-ranking-table-wrap tbody tr:first-child .devias-guild-quick-ranking {
	color: #f0ad4e;
	font-weight: 600;
}
.skin-module-form .devias-ranking-table-wrap tbody tr:first-child .devias-guild-quick:hover,
.skin-module-form .devias-ranking-table-wrap tbody tr:first-child .devias-guild-quick:focus,
.skin-module-form .devias-ranking-table-wrap tbody tr:first-child .devias-guild-quick-ranking:hover,
.skin-module-form .devias-ranking-table-wrap tbody tr:first-child .devias-guild-quick-ranking:focus {
	color: #ec971f;
}
.modal.devias-guild-modal {
	z-index: 10060 !important;
}
.devias-guild-modal .modal-header {
	background: #2b363f;
	color: #fff;
	border-radius: 6px 6px 0 0;
	border-bottom: 1px solid #1f272e;
}
.devias-guild-modal .modal-header .close {
	color: #fff;
	opacity: 0.85;
	text-shadow: none;
}
.devias-guild-modal .modal-header .close:hover {
	opacity: 1;
}
.devias-guild-modal .modal-title {
	font-size: 16px;
	font-weight: 600;
}
.devias-guild-modal .modal-content {
	border-radius: 6px;
	border: 1px solid #dce3ea;
	box-shadow: 0 8px 32px rgba(15, 23, 42, 0.18);
}
.devias-guild-modal .modal-body {
	padding: 0;
	background: #f5f7fa;
}
.devias-guild-modal__dialog {
	width: 92%;
	max-width: 520px;
	margin-top: 8vh;
}
.devias-guild-modal__dialog--wide {
	max-width: 640px;
}
.devias-guild-modal__scroll {
	max-height: min(60vh, 420px);
	overflow: auto;
	padding: 12px;
	-webkit-overflow-scrolling: touch;
}
.devias-guild-modal__table thead > tr > th {
	background: #2b363f;
	color: #ecf0f1;
	border-color: #3d4d5c !important;
	font-weight: 600;
}
.devias-guild-modal__table tbody > tr:nth-child(odd) {
	background-color: #fff;
}
.devias-guild-modal__table tbody > tr:nth-child(even) {
	background-color: #f0f4f8;
}
.devias-guild-modal__pts {
	color: #e67e22;
	font-weight: 700;
}
.devias-guild-modal .modal-footer {
	background: #fff;
	border-top: 1px solid #e8e8e8;
	padding: 8px 12px;
}

/* —— Trang chủ: khối tin tức — mẫu card + badge (API giống #Page/News) —— */
.main-panel .main-container .h_content .home-news-block {
	position: relative;
	background: #fff;
	border: 1px solid #dce3ea;
	border-radius: 12px;
	padding: 14px 12px 12px;
	margin-top: 0;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.9) inset,
		0 2px 6px rgba(15, 23, 42, 0.04),
		0 8px 22px rgba(15, 23, 42, 0.06);
}
.main-panel .main-container .h_content .home-news-block::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #1565c0 0%, #00897b 45%, #42a5f5 100%);
	border-radius: 14px 14px 0 0;
}
.main-panel .main-container .h_content .home-news-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 12px;
	margin: 0 0 10px 0;
	padding: 0 2px 10px 2px;
	border-bottom: 1px solid #e8ecf1;
}
.main-panel .main-container .h_content .home-news-title {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	color: #1a2332;
	letter-spacing: 0.02em;
}
.main-panel .main-container .h_content .home-news-title .fa {
	margin-right: 10px;
	color: #1565c0;
	opacity: 0.95;
	font-size: 0.95em;
}
.main-panel .main-container .h_content .home-news-cats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	font-size: 12px;
}
.main-panel .main-container .h_content .home-news-cats a {
	color: #37474f;
	font-weight: 600;
	white-space: nowrap;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f4f6f9;
	border: 1px solid #e4e8ed;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.main-panel .main-container .h_content .home-news-cats a:hover {
	color: #0d47a1;
	background: #e8f4fc;
	border-color: #90caf9;
	box-shadow: 0 2px 8px rgba(21, 101, 192, 0.12);
	text-decoration: none;
}
/* Char_Info (không nằm trong .h_content): giữ nút danh mục tin tách rõ ràng */
.main-panel .main-container #Load_Content .home-news-cats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	margin-bottom: 8px;
}
.main-panel .main-container #Load_Content .home-news-cats a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f4f6f9;
	border: 1px solid #e4e8ed;
	color: #37474f;
	font-weight: 600;
	text-decoration: none;
}
.main-panel .main-container #Load_Content .home-news-cats a:hover {
	color: #0d47a1;
	background: #e8f4fc;
	border-color: #90caf9;
}
/* Trang chủ: trạng thái chưa có tin — cân đối, không dùng alert-warning gắt */
.main-panel .main-container .h_content .home-news-empty-state,
.main-panel .main-container #Load_Content .home-news-empty-state {
	text-align: center;
	padding: 22px 16px 18px;
	margin: 4px 0 0;
	border-radius: 12px;
	border: 1px dashed #c5d0dc;
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	box-sizing: border-box;
}
.main-panel .main-container .h_content .home-news-empty-visual,
.main-panel .main-container #Load_Content .home-news-empty-visual {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: linear-gradient(145deg, #e3f2fd 0%, #bbdefb 100%);
	color: #1565c0;
	font-size: 26px;
	box-shadow: 0 2px 8px rgba(21, 101, 192, 0.12);
}
.main-panel .main-container .h_content .home-news-empty-title,
.main-panel .main-container #Load_Content .home-news-empty-title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	color: #1e293b;
}
.main-panel .main-container .h_content .home-news-empty-desc,
.main-panel .main-container #Load_Content .home-news-empty-desc {
	margin: 0 auto 14px;
	max-width: 420px;
	font-size: 13px;
	line-height: 1.5;
	color: #64748b;
}
.main-panel .main-container .h_content .home-news-empty-actions,
.main-panel .main-container #Load_Content .home-news-empty-actions {
	margin: 0 0 16px;
}
.main-panel .main-container .h_content .home-news-empty-btn,
.main-panel .main-container #Load_Content .home-news-empty-btn {
	border-radius: 8px;
}
.main-panel .main-container .h_content .home-news-empty-footer,
.main-panel .main-container #Load_Content .home-news-empty-footer {
	text-align: center;
	padding-top: 12px;
	margin-top: 4px;
	border-top: 1px solid #e2e8f0;
}
.main-panel .main-container .h_content .home-news-empty-tagline,
.main-panel .main-container #Load_Content .home-news-empty-tagline {
	margin: 0 0 6px;
	font-size: 13px;
	color: #334155;
}
.main-panel .main-container .h_content .home-news-empty-muted,
.main-panel .main-container #Load_Content .home-news-empty-muted {
	margin: 0 0 6px;
	font-size: 12px;
	color: #64748b;
}
.main-panel .main-container .h_content .home-news-empty-hint,
.main-panel .main-container #Load_Content .home-news-empty-hint {
	margin: 10px 0 0;
	font-size: 11px;
	color: #94a3b8;
}
.main-panel .main-container .h_content .home-news-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.main-panel .main-container .h_content .home-news-list li {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 10px;
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	border: 1px solid #e8ecf0;
	border-radius: 9px;
	background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.main-panel .main-container .h_content .home-news-list li:hover {
	border-color: #cfd8dc;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
	transform: translateY(-1px);
}
/* Danh sách tin (#Page/News) — cùng mẫu hàng với trang chủ */
.main-panel .main-container #Load_Content .list_post {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.main-panel .main-container #Load_Content .list_post li {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 10px;
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	border: 1px solid #e8ecf0;
	border-radius: 9px;
	background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.main-panel .main-container #Load_Content .list_post li:hover {
	border-color: #cfd8dc;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
	transform: translateY(-1px);
}
.main-panel .main-container .h_content .home-news-list .title_news,
.main-panel .main-container #Load_Content .list_post .title_news {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
}
.main-panel .main-container .h_content .home-news-list .title_news .ico_post,
.main-panel .main-container #Load_Content .list_post .title_news .ico_post {
	flex-shrink: 0;
	margin-top: 6px;
	margin-right: 0;
}
/* Một dòng: [tiền tố cố định] [sao] [tiêu đề] — tiêu đề cùng cột dọc */
.main-panel .main-container .h_content .home-news-list a.home-news-line,
.main-panel .main-container #Load_Content .list_post a.home-news-line {
	display: flex;
	align-items: flex-start;
	flex: 1;
	min-width: 0;
	gap: 0 5px;
	color: #2d353c;
	text-decoration: none;
	word-break: break-word;
}
.main-panel .main-container .h_content .home-news-list a.home-news-line:hover,
.main-panel .main-container #Load_Content .list_post a.home-news-line:hover {
	color: #0d47a1;
}
/* Cột tiền tố: cố định độ rộng — mọi badge cùng dài, tiêu đề thẳng cột */
.main-panel .main-container .h_content .home-news-prefix-wrap,
.main-panel .main-container #Load_Content .list_post .home-news-prefix-wrap {
	flex: 0 0 7.85rem;
	width: 7.85rem;
	min-width: 7.85rem;
	max-width: 7.85rem;
	text-align: center;
	align-self: flex-start;
}
/* Chỉ style chung badge — KHÔNG gán màu ở đây (tránh che .prefix-5…8) */
.main-panel .main-container .h_content .home-news-prefix-wrap [class^="prefix-"],
.main-panel .main-container #Load_Content .list_post .home-news-prefix-wrap [class^="prefix-"] {
	display: block;
	width: 95%;
	box-sizing: border-box;
	padding: 0.28rem 0.4rem;
	white-space: normal;
	word-break: break-word;
	overflow: visible;
	text-overflow: clip;
	font-weight: 700;
	font-size: 10px;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: none;
	text-align: center;
	color: #fff !important;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
	vertical-align: middle;
}
/* Thông báo — đỏ */
.main-panel .main-container .h_content .home-news-prefix-wrap .prefix-5,
.main-panel .main-container #Load_Content .list_post .home-news-prefix-wrap .prefix-5,
.main-panel .main-container .h_content .home-news-list .prefix-5,
.main-panel .main-container #Load_Content .list_post .prefix-5 {
	background: linear-gradient(180deg, #ef5350 0%, #c62828 100%) !important;
}
/* Sự kiện — xanh blue */
.main-panel .main-container .h_content .home-news-prefix-wrap .prefix-6,
.main-panel .main-container #Load_Content .list_post .home-news-prefix-wrap .prefix-6,
.main-panel .main-container .h_content .home-news-list .prefix-6,
.main-panel .main-container #Load_Content .list_post .prefix-6 {
	background: linear-gradient(180deg, #42a5f5 0%, #1565c0 100%) !important;
}
/* Trao thưởng — tím / hồng */
.main-panel .main-container .h_content .home-news-prefix-wrap .prefix-7,
.main-panel .main-container #Load_Content .list_post .home-news-prefix-wrap .prefix-7,
.main-panel .main-container .h_content .home-news-list .prefix-7,
.main-panel .main-container #Load_Content .list_post .prefix-7 {
	background: linear-gradient(180deg, #f48fb1 0%, #ab47bc 55%, #7b1fa2 100%) !important;
}
/* Hướng dẫn — xanh lá */
.main-panel .main-container .h_content .home-news-prefix-wrap .prefix-8,
.main-panel .main-container #Load_Content .list_post .home-news-prefix-wrap .prefix-8,
.main-panel .main-container .h_content .home-news-list .prefix-8,
.main-panel .main-container #Load_Content .list_post .prefix-8 {
	background: linear-gradient(180deg, #81c784 0%, #2e7d32 100%) !important;
}
/* Danh mục khác (cat_id lạ) */
.main-panel .main-container .h_content .home-news-prefix-wrap [class^="prefix-"]:not(.prefix-5):not(.prefix-6):not(.prefix-7):not(.prefix-8),
.main-panel .main-container #Load_Content .list_post .home-news-prefix-wrap [class^="prefix-"]:not(.prefix-5):not(.prefix-6):not(.prefix-7):not(.prefix-8) {
	background: linear-gradient(180deg, #78909c 0%, #455a64 100%) !important;
}
.main-panel .main-container .h_content .home-news-star-slot,
.main-panel .main-container #Load_Content .list_post .home-news-star-slot {
	flex: 0 0 1.35em;
	width: 1.35em;
	min-width: 1.35em;
	text-align: center;
	line-height: 1.35;
}
.main-panel .main-container .h_content .home-news-title-text,
.main-panel .main-container #Load_Content .list_post .home-news-title-text {
	flex: 1 1 auto;
	min-width: 0;
}
.main-panel .main-container .h_content .home-news-list .time,
.main-panel .main-container #Load_Content .list_post .time {
	flex: 0 0 auto;
	align-self: flex-start;
	color: #546e7a;
	font-size: 10px;
	font-weight: 700;
	white-space: nowrap;
	padding: 3px 7px;
	border-radius: 6px;
	background: linear-gradient(180deg, #f1f4f8 0%, #e8ecf0 100%);
	border: 1px solid #dde3ea;
	letter-spacing: 0.02em;
}
/* Ẩn chấm tròn — badge đã đủ nhận diện */
.main-panel .main-container .h_content .home-news-list .ico_post,
.main-panel .main-container #Load_Content .list_post .ico_post {
	display: none;
}
.main-panel .main-container .h_content .home-news-sticky,
.main-panel .main-container #Load_Content .list_post .home-news-sticky {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.35em;
	height: 1.35em;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	background: linear-gradient(145deg, #ffb74d, #f57c00);
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(245, 124, 0, 0.45);
	line-height: 1;
}
.main-panel .main-container .h_content .home-news-sticky--empty,
.main-panel .main-container #Load_Content .list_post .home-news-sticky--empty {
	display: inline-flex;
	visibility: hidden;
	width: 1.35em;
	height: 1.35em;
	overflow: hidden;
	vertical-align: middle;
	pointer-events: none;
	border-radius: 50%;
}
.main-panel .main-container .h_content .home-news-more {
	margin: 10px 0 0 0;
	padding-top: 10px;
	border-top: 1px dashed #e0e4e8;
	text-align: right;
}
.main-panel .main-container .h_content .home-news-more .read_more {
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 8px;
	color: #1565c0;
	transition: background 0.18s ease, color 0.18s ease;
}
.main-panel .main-container .h_content .home-news-more .read_more:hover {
	background: #e3f2fd;
	color: #0d47a1;
	text-decoration: none;
}
@media (prefers-reduced-motion: reduce) {
	.main-panel .main-container .h_content .home-news-list li:hover,
	.main-panel .main-container #Load_Content .list_post li:hover {
		transform: none;
	}
}
@media (max-width: 767px) {
	.main-panel .main-container .h_content .home-news-cats {
		width: 100%;
		justify-content: flex-start;
	}
	.main-panel .main-container .h_content .home-news-prefix-wrap,
	.main-panel .main-container #Load_Content .list_post .home-news-prefix-wrap {
		flex-basis: 6.85rem;
		width: 6.85rem;
		min-width: 6.85rem;
		max-width: 6.85rem;
	}
	.main-panel .main-container .h_content .home-news-prefix-wrap [class^="prefix-"],
	.main-panel .main-container #Load_Content .list_post .home-news-prefix-wrap [class^="prefix-"] {
		font-size: 9px;
	}
}

/* —— #Page/News — danh sách tin (đồng bộ mẫu card trang chủ) —— */
.main-panel .main-container #Load_Content .BlockLeft.news-page--list {
	position: relative;
	background: #fff;
	border: 1px solid #dce3ea;
	border-radius: 14px;
	overflow: hidden;
	max-width: 100%;
	box-sizing: border-box;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.9) inset,
		0 2px 8px rgba(15, 23, 42, 0.05),
		0 12px 32px rgba(15, 23, 42, 0.08);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--list::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #1565c0 0%, #00897b 45%, #42a5f5 100%);
	border-radius: 14px 14px 0 0;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--list > .ModuleManage:first-of-type {
	margin: 0;
	padding: 18px 18px 12px;
	border-bottom: 1px solid #e8ecf1;
	background: linear-gradient(180deg, #f7fafc 0%, #fff 60%);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--list > .ModuleManage:first-of-type .TitleModule {
	margin: 0;
	padding: 0;
	border: none;
	font-size: 18px;
	font-weight: 800;
	color: #1a2332;
	letter-spacing: 0.04em;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--list .news-page-cats {
	margin: 0;
	padding: 12px 14px 14px;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid #eceff1;
	background: #fff;
	font-size: 12px;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--list .news-page-cats a {
	color: #37474f;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 999px;
	background: #f4f6f9;
	border: 1px solid #e4e8ed;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--list .news-page-cats a:hover {
	color: #0d47a1;
	background: #e8f4fc;
	border-color: #90caf9;
	box-shadow: 0 2px 8px rgba(21, 101, 192, 0.12);
	text-decoration: none;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--list .news-page-cats .prefix-4t { color: #37474f; }
.main-panel .main-container #Load_Content .BlockLeft.news-page--list .news-page-cats .prefix-5t { color: #b71c1c; }
.main-panel .main-container #Load_Content .BlockLeft.news-page--list .news-page-cats .prefix-6t { color: #0d47a1; }
.main-panel .main-container #Load_Content .BlockLeft.news-page--list .news-page-cats .prefix-7t { color: #4a148c; }
.main-panel .main-container #Load_Content .BlockLeft.news-page--list .news-page-cats .prefix-8t { color: #1b5e20; }
.main-panel .main-container #Load_Content .BlockLeft.news-page--list .list_post {
	margin: 0;
	padding: 10px 12px 14px;
	background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--list .news-page-pager {
	float: none;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	padding: 12px 16px 16px;
	margin: 0;
	border-top: 1px dashed #e0e4e8;
	background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 100%);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--list .news-page-pager-select {
	max-width: 100%;
	padding: 8px 32px 8px 12px;
	font-size: 13px;
	font-weight: 600;
	border: 1px solid #cfd8dc;
	border-radius: 10px;
	background: #fff;
	color: #37474f;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}
@media (max-width: 767px) {
	.main-panel .main-container #Load_Content .BlockLeft.news-page--list > .ModuleManage:first-of-type {
		padding: 14px 12px 10px;
	}
	.main-panel .main-container #Load_Content .BlockLeft.news-page--list .news-page-cats {
		gap: 8px;
		padding: 10px 10px 12px;
	}
	.main-panel .main-container #Load_Content .BlockLeft.news-page--list .list_post {
		padding: 8px 8px 12px;
	}
}

/* —— Xem chi tiết bài tin (#Page/News&id=) —— */
.main-panel .main-container #Load_Content .BlockLeft.news-page--single {
	background: #fff;
	border: 1px solid #e0e4e8;
	border-radius: 10px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	padding: 0;
	/* Cho phép wrapper table scroll hiển thị đầy đủ trên mobile (tránh bị cắt bởi overflow hidden) */
	overflow: visible;
	max-width: 100%;
	box-sizing: border-box;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-header {
	margin: 0;
	padding: 16px 18px 14px;
	border-bottom: 1px solid #eceff1;
	background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-header .TitleModule,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-title {
	margin: 0;
	padding: 0;
	border: none;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
	color: #263238;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-title-label {
	display: inline-block;
	margin-right: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #78909c;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	vertical-align: middle;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-title-text {
	color: #37474f;
	font-weight: 700;
	vertical-align: middle;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body {
	display: block;
	margin: 0;
	padding: 18px 18px 22px;
	font-size: 14px;
	line-height: 1.65;
	color: #37474f;
	word-wrap: break-word;
	overflow-wrap: break-word;
	-webkit-user-select: text;
	user-select: text;
	min-width: 0;
}
/* Nội dung HTML từ API */
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body p {
	margin: 0 0 0 0;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body p:last-child {
	margin-bottom: 0;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body img,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body video,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body iframe {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	box-sizing: border-box;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	margin: 14px 0;
	font-size: 13px;
	background: #fff;
	/* border: 1px solid #cfd8dc; */
	/* border-radius: 6px; */
	/* Desktop giữ nguyên table layout để không lệch cột */
	overflow: visible;
	display: table;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table td {
	border: 1px solid #e0e0e0;
	padding: 8px 10px;
	vertical-align: middle;
	text-align: left;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table th {
	background: linear-gradient(180deg, #eceff1 0%, #e3e8ec 100%);
	font-weight: 700;
	color: #37474f;
	white-space: nowrap;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table tbody tr:nth-child(even) td {
	background: #fafafa;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table tbody tr:hover td {
	background: #f1f8e9;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body .table-responsive-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 12px 0;
	max-width: 100%;
}
/* Khi bọc table trong .table-responsive-wrap thì table giữ layout, wrapper chịu scroll */
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body .table-responsive-wrap > table {
	width: max-content;
	min-width: 100%;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-footer {
	margin: 0;
	padding: 12px 18px 16px;
	border-top: 1px solid #eceff1;
	background: #fafbfc;
	text-align: left;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: #358adb;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-back:hover {
	color: #f85d2c;
	text-decoration: none;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-back .fa {
	font-size: 14px;
}
@media (max-width: 767px) {
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body {
		padding: 14px 12px 18px;
		font-size: 13px;
	}
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-header {
		padding: 12px 12px 10px;
	}
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-title {
		font-size: 15px;
	}
	/* Mobile: bảng rộng → cho phép vuốt ngang (không cắt nội dung) */
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table th {
		white-space: nowrap;
	}
	/* Các bảng CMS dùng class mon* đang bị overflow:hidden → phải override để không cắt cột */
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3,
	#Load_Content .BlockLeft.news-page--single .news-article-body table.mon,
	#Load_Content .BlockLeft.news-page--single .news-article-body table.mon1,
	#Load_Content .BlockLeft.news-page--single .news-article-body table.mon2,
	#Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 {
		overflow-x: auto !important;
		overflow-y: visible !important;
		-webkit-overflow-scrolling: touch;
	}
}

/* —— Khung hướng dẫn .ProtectWrap (override Defaul/common.css nền tối) —— */
.main-panel .main-container #Load_Content .ProtectWrap {
	background: #fff;
	border: 1px solid #e0e4e8;
	border-radius: 10px;
	box-shadow: 0 2px 14px rgba(15, 23, 42, 0.07);
	padding: 0;
	margin-top: 14px;
	overflow: hidden;
}
.main-panel .main-container #Load_Content .ProtectWrap .TitleProt {
	border: none;
	border-bottom: 1px solid #e8ecf1;
	margin: 0;
	padding: 14px 18px 12px;
	background: linear-gradient(180deg, #f1f8e9 0%, #fafcfa 55%, #fff 100%);
}
.main-panel .main-container #Load_Content .ProtectWrap .TitleProt strong {
	background: none !important;
	padding-left: 0 !important;
	color: #2e7d32 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em;
	line-height: 1.4;
}
.main-panel .main-container #Load_Content .ProtectWrap .TitleProt strong font {
	color: #1b5e20 !important;
}
.main-panel .main-container #Load_Content .ProtectWrap .guides {
	margin: 0;
	padding: 4px 0 0 0;
	list-style: none;
}
.main-panel .main-container #Load_Content .ProtectWrap .guides > li {
	margin: 0;
	padding: 11px 18px 11px 22px;
	border-bottom: 1px solid #eef1f4;
	font-size: 13px;
	line-height: 1.55;
	color: #37474f;
	transition: background 0.12s ease;
	position: relative;
}
.main-panel .main-container #Load_Content .ProtectWrap .guides > li:last-child {
	border-bottom: none;
}
.main-panel .main-container #Load_Content .ProtectWrap .guides > li:hover {
	background: linear-gradient(90deg, #fafafa 0%, #fff 100%);
}
.main-panel .main-container #Load_Content .ProtectWrap .guides > li::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 50%;
	margin-top: -3px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: linear-gradient(135deg, #81c784, #43a047);
	opacity: 0.85;
}
.main-panel .main-container #Load_Content .ProtectWrap .guides strong {
	color: #1565c0;
	font-weight: 700;
}
.main-panel .main-container #Load_Content .ProtectWrap .guides br + strong {
	display: inline-block;
	margin-top: 10px;
}

/* Bảng 2 cột hướng dẫn trong bài tin — thêm class="devias-guide-2col" vào <table> trong CMS */
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.devias-guide-2col {
	border: 1px solid #c5cdd4;
	border-radius: 12px;
	overflow: hidden;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.85) inset,
		0 1px 2px rgba(15, 23, 42, 0.05),
		0 4px 14px rgba(15, 23, 42, 0.07),
		0 14px 32px rgba(15, 23, 42, 0.09);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.devias-guide-2col td {
	vertical-align: top;
	border-color: #e8ecf0;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.devias-guide-2col tr:first-child td {
	background: linear-gradient(180deg, #e8f5e9 0%, #f1f8e9 100%);
	font-weight: 700;
	color: #1b5e20;
	font-size: 14px;
	padding: 12px 14px;
	border-bottom: 2px solid #c8e6c9;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.devias-guide-2col tr:not(:first-child) td {
	padding: 10px 14px;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.devias-guide-2col tr:not(:first-child) td:first-child {
	border-right: 1px solid #eceff1;
}

/* —— Bảng trong bài tin: class mon / mon1 / mon2 / mon3 (nội dung từ CMS) —— */
/* News.html dùng #Load_Content (không phải lúc nào cũng nằm trong .main-panel .main-container) */
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon1,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon2,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 {
	width: 100% !important;
	max-width: 100%;
	/* border-collapse: collapse làm "mất" cảm giác viền ngoài khi cell có border */
	border-collapse: separate;
	border-spacing: 0;
	box-sizing: border-box;
	border-radius: 5px;
	overflow: hidden;
	margin: 14px 0;
	table-layout: auto;
	background: #ffffff;
	/* Viền khung ngoài hiển thị rõ (không bo tròn quá mức) */
	border: 1px solid rgba(55, 71, 79, 0.35);
	background-clip: padding-box;
	/* Viền ngoài rõ, ăn theo border-radius */
	box-shadow:
		0 0 0 1px rgba(55, 71, 79, 0.35),
		0 1px 3px rgba(15, 23, 42, 0.07);
	transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon:hover,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1:hover,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2:hover,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3:hover,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon:hover,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon1:hover,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon2:hover,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon3:hover {
	transform: translateY(-1px);
	box-shadow:
		0 2px 8px rgba(15, 23, 42, 0.12);
}
/* Viền + bóng theo theme */
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon {
	border: 1px solid #90a4ae;
	box-shadow:
		0 0 0 1px #90a4ae,
		0 1px 3px rgba(38, 50, 56, 0.1);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon:hover,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon:hover {
	box-shadow: 0 2px 8px rgba(38, 50, 56, 0.14);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 {
	border: 1px solid #c9a227;
	box-shadow:
		0 0 0 1px #c9a227,
		0 1px 3px rgba(201, 160, 22, 0.18);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1:hover,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon1:hover {
	box-shadow: 0 2px 8px rgba(201, 160, 22, 0.22);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 {
	border: 1px solid #43a047;
	box-shadow:
		0 0 0 1px #43a047,
		0 1px 3px rgba(56, 142, 60, 0.18);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2:hover,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon2:hover {
	box-shadow: 0 2px 8px rgba(56, 142, 60, 0.22);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 {
	border: 1px solid #e53935;
	box-shadow:
		0 0 0 1px #e53935,
		0 1px 3px rgba(211, 47, 47, 0.18);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3:hover,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon3:hover {
	box-shadow: 0 2px 8px rgba(211, 47, 47, 0.22);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 td,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon th,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon td,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 th,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 td,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 th,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 td,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 th,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 td {
	border: 1px solid rgba(38, 50, 56, 0.16);
	padding: 8px 10px;
	vertical-align: middle;
	font-size: 12px;
	line-height: 1.45;
}

/* Hover dòng: chỉ áp cho các dòng dữ liệu (dòng 2 trở đi nếu không có thead) */
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon tbody tr:hover td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon tbody tr:hover th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 tbody tr:hover td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 tbody tr:hover th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 tbody tr:hover td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 tbody tr:hover th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 tbody tr:hover td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 tbody tr:hover th,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon tbody tr:hover td,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon tbody tr:hover th,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 tbody tr:hover td,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 tbody tr:hover th,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 tbody tr:hover td,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 tbody tr:hover th,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 tbody tr:hover td,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 tbody tr:hover th {
	background: rgba(38, 50, 56, 0.04);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon:not(:has(thead)) tbody tr:first-child:hover td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon:not(:has(thead)) tbody tr:first-child:hover th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1:not(:has(thead)) tbody tr:first-child:hover td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1:not(:has(thead)) tbody tr:first-child:hover th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2:not(:has(thead)) tbody tr:first-child:hover td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2:not(:has(thead)) tbody tr:first-child:hover th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3:not(:has(thead)) tbody tr:first-child:hover td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3:not(:has(thead)) tbody tr:first-child:hover th,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon:not(:has(thead)) tbody tr:first-child:hover td,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon:not(:has(thead)) tbody tr:first-child:hover th,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon1:not(:has(thead)) tbody tr:first-child:hover td,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon1:not(:has(thead)) tbody tr:first-child:hover th,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon2:not(:has(thead)) tbody tr:first-child:hover td,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon2:not(:has(thead)) tbody tr:first-child:hover th,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon3:not(:has(thead)) tbody tr:first-child:hover td,
#Load_Content .BlockLeft.news-page--single .news-article-body table.mon3:not(:has(thead)) tbody tr:first-child:hover th {
	background: inherit;
}
/* Dòng tiêu đề: ưu tiên <thead>; nếu không có thead thì coi hàng đầu của tbody / table là tiêu đề */
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon thead th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon thead td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon:not(:has(thead)) tbody tr:first-child td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon:not(:has(thead)) tbody tr:first-child th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon > tr:first-child > td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon > tr:first-child > th {
	background: linear-gradient(180deg, #eef2f6 0%, #e6ecf2 100%);
	color: #263238;
	font-weight: 700;
	border-bottom: 2px solid #b7c2cb;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon thead ~ tbody tr:nth-child(even) td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon thead ~ tbody tr:nth-child(even) th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon:not(:has(thead)) tbody tr:nth-child(even):not(:first-child) td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon:not(:has(thead)) tbody tr:nth-child(even):not(:first-child) th {
	background: #f8fafc;
}
/* mon1 — tiêu đề vàng */
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 thead th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 thead td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1:not(:has(thead)) tbody tr:first-child td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1:not(:has(thead)) tbody tr:first-child th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 > tr:first-child > td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 > tr:first-child > th {
	background: linear-gradient(180deg, #fff8dc 0%, #ffefb3 100%);
	color: #5d4037;
	font-weight: 700;
	border-bottom: 2px solid #efc148;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 thead ~ tbody tr:nth-child(even) td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 thead ~ tbody tr:nth-child(even) th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1:not(:has(thead)) tbody tr:nth-child(even):not(:first-child) td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1:not(:has(thead)) tbody tr:nth-child(even):not(:first-child) th {
	background: #fffdf4;
}
/* mon2 — tiêu đề xanh lá */
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 thead th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 thead td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2:not(:has(thead)) tbody tr:first-child td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2:not(:has(thead)) tbody tr:first-child th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 > tr:first-child > td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 > tr:first-child > th {
	background: linear-gradient(180deg, #e4f4e5 0%, #bfe6c2 100%);
	color: #1b5e20;
	font-weight: 700;
	border-bottom: 2px solid #5fbf64;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 thead ~ tbody tr:nth-child(even) td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 thead ~ tbody tr:nth-child(even) th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2:not(:has(thead)) tbody tr:nth-child(even):not(:first-child) td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2:not(:has(thead)) tbody tr:nth-child(even):not(:first-child) th {
	background: #f6fdf7;
}
/* mon3 — tiêu đề đỏ */
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 thead th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 thead td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3:not(:has(thead)) tbody tr:first-child td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3:not(:has(thead)) tbody tr:first-child th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 > tr:first-child > td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 > tr:first-child > th {
	background: linear-gradient(180deg, #ffe9ec 0%, #ffc4cb 100%);
	color: #b71c1c;
	font-weight: 700;
	border-bottom: 2px solid #e95c5a;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 thead ~ tbody tr:nth-child(even) td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 thead ~ tbody tr:nth-child(even) th,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3:not(:has(thead)) tbody tr:nth-child(even):not(:first-child) td,
.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3:not(:has(thead)) tbody tr:nth-child(even):not(:first-child) th {
	background: #fff7f8;
}
@media (prefers-reduced-motion: reduce) {
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 {
		transition: none;
	}
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon:hover,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1:hover,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2:hover,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3:hover {
		transform: none;
	}
}
@media (max-width: 767px) {
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon th,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon td,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 th,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon1 td,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 th,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon2 td,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 th,
	.main-panel .main-container #Load_Content .BlockLeft.news-page--single .news-article-body table.mon3 td {
		padding: 8px 8px;
		font-size: 12px;
	}
}

/* Fallback rộng: áp dụng cho nội dung bài tin legacy không có news-page--single */
.main-panel .main-container table.mon,
.main-panel .main-container table.mon1,
.main-panel .main-container table.mon2,
.main-panel .main-container table.mon3 {
	width: 100% !important;
	max-width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border-radius: 5px !important;
	overflow: hidden;
	margin: 20px 0 !important;
	background: #fff !important;
	border: 0px solid rgba(55, 71, 79, 0.35) !important;
	box-shadow:
		0 0 0 1px rgba(55, 71, 79, 0.35),
		0 1px 3px rgba(15, 23, 42, 0.07) !important;
}
.main-panel .main-container table.mon {
	border: 0px solid #90a4ae82 !important;
	box-shadow:
		0 0 0 1px #90a4ae,
		0 1px 3px rgba(38, 50, 56, 0.1) !important;
}
.main-panel .main-container table.mon1 {
	border: 0px solid #c9a3277d !important;
	box-shadow:
		0 0 0 1px #c9a227,
		0 1px 3px rgba(201, 160, 22, 0.18) !important;
}
.main-panel .main-container table.mon2 {
	border: 0px solid #43a04882 !important;
	box-shadow:
		0 0 0 1px #43a047,
		0 1px 3px rgba(56, 142, 60, 0.18) !important;
}
.main-panel .main-container table.mon3 {
	border: 0px solid #e5383583 !important;
	box-shadow:
		0 0 0 1px #e53935,
		0 1px 3px rgba(211, 47, 47, 0.18) !important;
}
.main-panel .main-container table.mon th,
.main-panel .main-container table.mon td,
.main-panel .main-container table.mon1 th,
.main-panel .main-container table.mon1 td,
.main-panel .main-container table.mon2 th,
.main-panel .main-container table.mon2 td,
.main-panel .main-container table.mon3 th,
.main-panel .main-container table.mon3 td {
	padding: 5px 5px !important;
	border: 1px solid rgba(38, 50, 56, 0.16) !important;
}
.main-panel .main-container table.mon tr:first-child td,
.main-panel .main-container table.mon tr:first-child th {
	background: linear-gradient(180deg, #eef2f6 0%, #e6ecf2 100%) !important;
	border-bottom: 1px solid #b7c2cb !important;
	color: #263238 !important;
	font-weight: 700;
}
.main-panel .main-container table.mon1 tr:first-child td,
.main-panel .main-container table.mon1 tr:first-child th {
	background: linear-gradient(180deg, #fff8dc 0%, #ffefb3 100%) !important;
	border-bottom: 1px solid #efc148 !important;
	color: #5d4037 !important;
	font-weight: 700;
}
.main-panel .main-container table.mon2 tr:first-child td,
.main-panel .main-container table.mon2 tr:first-child th {
	background: linear-gradient(180deg, #e4f4e5 0%, #bfe6c2 100%) !important;
	border-bottom: 1px solid #5fbf64 !important;
	color: #1b5e20 !important;
	font-weight: 700;
}
.main-panel .main-container table.mon3 tr:first-child td,
.main-panel .main-container table.mon3 tr:first-child th {
	background: linear-gradient(180deg, #ffe9ec 0%, #ffc4cb 100%) !important;
	border-bottom: 1px solid #e95c5a !important;
	color: #b71c1c !important;
	font-weight: 700;
}
.main-panel .main-container table.mon tr:nth-child(even):not(:first-child) td,
.main-panel .main-container table.mon tr:nth-child(even):not(:first-child) th {
	background: #f8fafc !important;
}
.main-panel .main-container table.mon1 tr:nth-child(even):not(:first-child) td,
.main-panel .main-container table.mon1 tr:nth-child(even):not(:first-child) th {
	background: #fffdf4 !important;
}
.main-panel .main-container table.mon2 tr:nth-child(even):not(:first-child) td,
.main-panel .main-container table.mon2 tr:nth-child(even):not(:first-child) th {
	background: #f6fdf7 !important;
}
.main-panel .main-container table.mon3 tr:nth-child(even):not(:first-child) td,
.main-panel .main-container table.mon3 tr:nth-child(even):not(:first-child) th {
	background: #fff7f8 !important;
}

/* =============================================================================
   Đồng bộ module: Account_Manager / Bank_Manager / Character_Manager / Event / GiaiTri
   (ghi đè màu inline legacy + utility — load sau style.css)
   ============================================================================= */

/* Màu ô bảng cũ #846852 → palette Devias (gỗ) */
.main-panel .main-container #Load_Content [style*="846852"] {
	color: #5d4037 !important;
}

/* Accent xanh link cũ #327CD3 */
.main-panel .main-container #Load_Content [style*="327CD3"] {
	color: #1565c0 !important;
}

/* Cam nổi bật rgb(255, 102, 0) */
.main-panel .main-container #Load_Content [style*="255, 102, 0"] {
	color: #e65100 !important;
}

/* Hàng tiêu đề bảng xếp hạng (chữ trắng) — nền đồng đồng bộ */
.main-panel .main-container #Load_Content td[style*="color: #FFFFFF"],
.main-panel .main-container #Load_Content td[style*="color:#FFFFFF"],
.main-panel .main-container #Load_Content th[style*="color: #FFFFFF"],
.main-panel .main-container #Load_Content th[style*="color:#FFFFFF"] {
	background: linear-gradient(180deg, #5d4037 0%, #4e342e 100%) !important;
	color: #fff !important;
	border-color: #4e342e !important;
	font-weight: 700 !important;
}

/* Form skin-module-form — giảm phụ thuộc inline */
.main-panel .main-container .skin-module-form .form-block.text-center.devias-form-block--mb {
	margin-bottom: 16px;
}
.main-panel .main-container .skin-module-form .form-block.text-center.devias-form-block--mb-sm {
	margin-bottom: 12px;
}
.main-panel .main-container .skin-module-form .break-line.center.devias-break-line--submit {
	padding: 15px 0;
}
.main-panel .main-container .skin-module-form .break-line.center.devias-break-line--submit-lg {
	padding: 16px 0;
}
.main-panel .main-container .skin-module-form input.form-control.txtCapcha {
	max-width: 220px;
}
.main-panel .main-container .skin-module-form img#simg.img-thumbnail {
	max-width: 100%;
	height: auto;
}
.main-panel .main-container .skin-module-form .table-form select.form-control {
	max-width: 100%;
}

/* Account — Thông tin tài khoản (List_Act) */
.skin-module-form .account-info-devias .devias-account-username {
	font-size: 16px;
}
.skin-module-form .account-info-devias .devias-input-pass-readonly {
	max-width: 200px;
	display: inline-block;
	vertical-align: middle;
}
.skin-module-form .account-info-devias .devias-btn-after-input {
	margin-left: 8px;
}
.skin-module-form .account-info-devias .devias-btn-after-input-wide {
	margin-left: 10px;
}
.skin-module-form .account-info-devias .devias-muted-after-input {
	margin-left: 8px;
}
.skin-module-form .account-info-devias .devias-label-status {
	font-size: 13px;
	padding: 6px 10px;
	display: inline-block;
	vertical-align: middle;
}

/* Bảng legacy GiaiTri / Event (TablePay, viền đồng bộ) */
.main-panel .main-container #Load_Content table.TablePay {
	width: 100%;
	max-width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	box-sizing: border-box;
}
.main-panel .main-container #Load_Content table.TablePay td,
.main-panel .main-container #Load_Content table.TablePay th {
	border: 1px solid #e4e7ec !important;
	padding: 8px 10px;
	vertical-align: middle;
}
.main-panel .main-container #Load_Content table.TablePay tr.odd td {
	background: #fafafa;
}

/* Ghi chú xanh (LoDe) */
.main-panel .main-container #Load_Content .devias-lode-note {
	color: #2e7d32;
	float: right;
}

/* BankInfo — toolbar (Bank_Manager/BankInfo.html) */
.main-panel .main-container .bankinfo-actions {
	margin-bottom: 0 !important;
	padding: 0 15px !important;
}
.main-panel .main-container .bankinfo-actions > [class*="col-"] {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.main-panel .main-container .bankinfo-actions .vd_btn {
	border-radius: 6px !important;
}

/* BankInfo — 4 ô số dư: cùng chiều cao, icon + số căn đều (thay float cũ) */
.main-panel .main-container .devias-bank-balance-row .vd_status-widget {
	margin-bottom: 0;
}
.main-panel .main-container .devias-bank-balance-row .vd_status-widget > a.panel-body {
	display: flex !important;
	align-items: center;
	justify-content: flex-end;
	min-height: 84px;
	padding: 16px 18px;
	box-sizing: border-box;
}
.main-panel .main-container .devias-bank-balance-row .vd_status-widget .clearfix {
	float: none !important;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	width: 100%;
}
.main-panel .main-container .devias-bank-balance-row .vd_status-widget .menu-icon,
.main-panel .main-container .devias-bank-balance-row .vd_status-widget .menu-value {
	float: none !important;
	display: block;
	line-height: 1.15;
}
.main-panel .main-container .devias-bank-balance-row .vd_status-widget .menu-icon {
	font-size: 28px;
	font-weight: 600;
}
.main-panel .main-container .devias-bank-balance-row .vd_status-widget .menu-value {
	font-size: 22px;
	margin-left: 0;
}

/* Account — còn lại (Phone / Email dịch vụ) */
.skin-module-form .devias-phone-service-note {
	margin: 12px 0;
}
.skin-module-form .devias-alert-info-tight {
	margin-bottom: 16px;
}
.skin-module-form .devias-alert-info-tight ul.devias-list-indent {
	margin: 8px 0 0 18px;
	padding: 0;
}

/* —— Character_Manager / TinhNang — module cũ (.BlockLeft, tab TypeUseService) —— */
.main-panel .main-container #Load_Content .BlockLeft .ModuleManage .TypeUseService {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 16px;
}
.main-panel .main-container #Load_Content .BlockLeft .ModuleManage .TypeUseServiceBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 13px;
	border: 1px solid #cfd8dc;
	background: #fff;
	color: #455a64;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.main-panel .main-container #Load_Content .BlockLeft .ModuleManage .TypeUseServiceBtn:hover {
	border-color: #90a4ae;
	background: #f5f7fa;
	color: #37474f;
	text-decoration: none;
}
.main-panel .main-container #Load_Content .BlockLeft .ModuleManage .TypeUseServiceBtn.active {
	background: linear-gradient(180deg, #5d4037 0%, #4e342e 100%);
	border-color: #4e342e;
	color: #fff;
	box-shadow: 0 2px 6px rgba(62, 39, 35, 0.25);
}
.main-panel .main-container #Load_Content .BlockLeft .BlockTwoColumn {
	margin-top: 8px;
}
.main-panel .main-container #Load_Content .BlockLeft .ProtectWrap {
	background: #fafafa;
	border: 1px solid #e4e7ec;
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 12px;
}
.main-panel .main-container #Load_Content .BlockLeft .ProtectWrap .guides {
	margin: 0;
	padding-left: 18px;
	color: #455a64;
	line-height: 1.5;
}
.main-panel .main-container #Load_Content .BlockLeft .TitleProt {
	margin-bottom: 8px;
	color: #37474f;
}

/* —— Quà tích lũy (Character_Manager/CardReward) —— */
/* Nội dung hash/AJAX: #Load_Content là con trực tiếp của section.main-container */
.main-container > #Load_Content {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}
/* Khung trang: tiêu đề, tab, hướng dẫn, bảng mốc — gói trong một thẻ */
.main-container #Load_Content .card-reward-page-frame,
.main-panel .main-container #Load_Content .card-reward-page-frame {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0 0 4px;
	padding: 20px 22px 24px;
	background: #fff;
	border: 1px solid #eceff1;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.main-container #Load_Content .card-reward-page-frame > .TitleModule,
.main-panel .main-container #Load_Content .card-reward-page-frame > .TitleModule {
	margin-top: 0 !important;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #eceff1;
}
/* Khối lưu ý — Bootstrap .alert.alert-info.small (CardReward, không còn .ProtectWrap) */
.main-container #Load_Content .card-reward-page-frame .alert.alert-info.small,
.main-panel .main-container #Load_Content .card-reward-page-frame .alert.alert-info.small {
	margin-bottom: 16px;
	border-radius: 8px;
}
.main-container #Load_Content .card-reward-page-frame .alert.alert-info.small .TitleProt,
.main-panel .main-container #Load_Content .card-reward-page-frame .alert.alert-info.small .TitleProt {
	margin: 0 0 10px;
	font-size: 13px;
}
.main-container #Load_Content .card-reward-page-frame .alert.alert-info.small .TitleProt strong,
.main-panel .main-container #Load_Content .card-reward-page-frame .alert.alert-info.small .TitleProt strong {
	font-weight: 700;
}
.main-container #Load_Content .card-reward-page-frame .alert.alert-info.small .guides,
.main-panel .main-container #Load_Content .card-reward-page-frame .alert.alert-info.small .guides {
	margin: 0;
	padding: 0;
	list-style: none;
}
.main-container #Load_Content .card-reward-page-frame .alert.alert-info.small .guides > li,
.main-panel .main-container #Load_Content .card-reward-page-frame .alert.alert-info.small .guides > li {
	margin: 0;
	padding: 8px 0 8px 22px;
	position: relative;
	font-size: 13px;
	line-height: 1.55;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	color: inherit;
}
.main-container #Load_Content .card-reward-page-frame .alert.alert-info.small .guides > li:last-child,
.main-panel .main-container #Load_Content .card-reward-page-frame .alert.alert-info.small .guides > li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.main-container #Load_Content .card-reward-page-frame .alert.alert-info.small .guides > li::before,
.main-panel .main-container #Load_Content .card-reward-page-frame .alert.alert-info.small .guides > li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 50%;
	margin-top: -3px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #31708f;
	opacity: 0.9;
}
.main-container #Load_Content .card-reward-page-frame .alert.alert-info.small .guides strong,
.main-panel .main-container #Load_Content .card-reward-page-frame .alert.alert-info.small .guides strong {
	color: #245269;
	font-weight: 700;
}
.main-container #Load_Content .card-reward-page-frame .card-reward-notice-em,
.main-panel .main-container #Load_Content .card-reward-page-frame .card-reward-notice-em {
	color: #b45309;
	font-weight: 600;
}
.main-container #Load_Content .card-reward-page-frame .errornew,
.main-panel .main-container #Load_Content .card-reward-page-frame .errornew {
	margin-bottom: 12px;
}
.main-container #Load_Content .card-reward-page-frame .ActiveService,
.main-panel .main-container #Load_Content .card-reward-page-frame .ActiveService {
	display: block;
	margin: 4px 0 0;
	padding: 10px 0 10px;
	font-weight: 700;
	font-size: 14px;
	color: #455a64;
	letter-spacing: 0.02em;
	border-bottom: 1px solid #eceff1;
}
.main-container #Load_Content .card-reward-page-frame .card-reward-panel,
.main-panel .main-container #Load_Content .card-reward-page-frame .card-reward-panel {
	margin: 0;
	margin-top: 0;
	border: none;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: none;
}
.main-container #Load_Content .card-reward-panel, .main-panel .main-container #Load_Content .card-reward-panel {
	margin: 12px 0 20px;
	border-radius: 10px;
	overflow: visible;
	border: 1px solid #e4e7ec;
	background: #fff;
	box-shadow: 0 2px 8px rgba(62, 39, 35, 0.06);
}
.main-container #Load_Content .card-reward-table, .main-panel .main-container #Load_Content .card-reward-table {
	margin: 0 !important;
	width: 100% !important;
	table-layout: fixed !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	background: #fff !important;
}
.main-container #Load_Content .card-reward-table thead tr, .main-panel .main-container #Load_Content .card-reward-table thead tr {
	background: linear-gradient(180deg, #5c6f7c 0%, #4a5d6a 100%) !important;
}
.main-container #Load_Content .card-reward-table thead th, .main-panel .main-container #Load_Content .card-reward-table thead th {
	color: #fff !important;
	font-weight: 600 !important;
	font-size: 12px !important;
	text-transform: none !important;
	letter-spacing: 0.02em !important;
	padding: 12px 10px !important;
	border-color: #78909c !important;
	vertical-align: middle !important;
	text-align: center !important;
}
.main-container #Load_Content .card-reward-table thead th.card-reward-th-items,
.main-panel .main-container #Load_Content .card-reward-table thead th.card-reward-th-items {
	text-align: center !important;
}
.main-container #Load_Content .card-reward-table tbody tr, .main-panel .main-container #Load_Content .card-reward-table tbody tr {
	background: #fafafa !important;
}
.main-container #Load_Content .card-reward-table tbody tr:nth-child(even), .main-panel .main-container #Load_Content .card-reward-table tbody tr:nth-child(even) {
	background: #f3f4f6 !important;
}
.main-container #Load_Content .card-reward-table tbody tr:hover, .main-panel .main-container #Load_Content .card-reward-table tbody tr:hover {
	background: #f0f7fc !important;
}
.main-container #Load_Content .card-reward-table tbody td, .main-panel .main-container #Load_Content .card-reward-table tbody td {
	padding: 12px 10px !important;
	border-color: #eceff1 !important;
	vertical-align: middle !important;
	color: #37474f !important;
	font-size: 13px !important;
}
.main-container #Load_Content .card-reward-badge, .main-panel .main-container #Load_Content .card-reward-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 32px;
	padding: 0 10px;
	border-radius: 8px;
	background: #efebe9;
	border: 1px solid #d7ccc8;
	font-weight: 700;
	color: #4e342e;
	font-size: 14px;
}
.main-container #Load_Content .card-reward-amount, .main-panel .main-container #Load_Content .card-reward-amount {
	display: block;
	font-weight: 700;
	font-size: 15px;
	color: #c62828;
	margin-bottom: 8px;
	letter-spacing: 0.02em;
}
.main-container #Load_Content .card-reward-progress-wrap, .main-panel .main-container #Load_Content .card-reward-progress-wrap {
	max-width: 100%;
	margin: 0 auto;
}
.main-container #Load_Content .card-reward-progress-bar, .main-panel .main-container #Load_Content .card-reward-progress-bar {
	height: 8px;
	border-radius: 999px;
	background: #eceff1;
	overflow: hidden;
	border: 1px solid #cfd8dc;
}
.main-container #Load_Content .card-reward-progress-fill, .main-panel .main-container #Load_Content .card-reward-progress-fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #66bb6a 0%, #2e7d32 100%);
	transition: width 0.35s ease;
}
.main-container #Load_Content .card-reward-cell-items, .main-panel .main-container #Load_Content .card-reward-cell-items {
	vertical-align: top !important;
}
.main-container #Load_Content .card-reward-items-inline, .main-panel .main-container #Load_Content .card-reward-items-inline {
	min-width: 0;
	max-width: 100%;
}
.main-container #Load_Content .card-reward-cell-status, .main-panel .main-container #Load_Content .card-reward-cell-status {
	vertical-align: middle !important;
	text-align: center !important;
}
.main-container #Load_Content .card-reward-cell-status .card-reward-action-inner, .main-panel .main-container #Load_Content .card-reward-cell-status .card-reward-action-inner {
	width: 100%;
	max-width: 100%;
}
/* Gallery: ảnh hiển thị sẵn; hover/focus từng ô mới hiện tên + tác dụng */
.main-container #Load_Content .card-reward-tip-grid, .main-panel .main-container #Load_Content .card-reward-tip-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
	gap: 10px 8px;
	margin: 0;
	padding: 4px 2px 8px;
	align-items: start;
}
.main-container #Load_Content .card-reward-tip-cell, .main-panel .main-container #Load_Content .card-reward-tip-cell {
	position: relative;
	min-width: 0;
}
.main-container #Load_Content .card-reward-tip-imgwrap, .main-panel .main-container #Load_Content .card-reward-tip-imgwrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 6px;
	background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.main-container #Load_Content .card-reward-tip-imgwrap:hover,
.main-panel .main-container #Load_Content .card-reward-tip-imgwrap:hover,
.main-container #Load_Content .card-reward-tip-cell:focus-within .card-reward-tip-imgwrap,
.main-panel .main-container #Load_Content .card-reward-tip-cell:focus-within .card-reward-tip-imgwrap {
	border-color: #bcaaa4;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 2px 8px rgba(62, 39, 35, 0.12);
}
.main-container #Load_Content .card-reward-tip-img, .main-panel .main-container #Load_Content .card-reward-tip-img {
	display: block;
	max-width: 48px;
	max-height: 48px;
	width: auto;
	height: auto;
	image-rendering: pixelated;
	image-rendering: crisp-edges;
}
.main-container #Load_Content .card-reward-tip-flyout, .main-panel .main-container #Load_Content .card-reward-tip-flyout {
	position: absolute;
	left: 50%;
	top: 100%;
	margin-top: 0;
	transform: translateX(-50%);
	z-index: 5100;
	min-width: 220px;
	max-width: min(300px, 85vw);
	max-height: 220px;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 10px 12px;
	text-align: left;
	font-size: 11px;
	line-height: 1.45;
	color: #37474f;
	background: #fffef7;
	border: 1px solid #d7ccc8;
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.12s ease, visibility 0.12s ease;
}
.main-container #Load_Content .card-reward-tip-imgwrap:hover .card-reward-tip-flyout,
.main-panel .main-container #Load_Content .card-reward-tip-imgwrap:hover .card-reward-tip-flyout,
.main-container #Load_Content .card-reward-tip-cell:focus-within .card-reward-tip-flyout,
.main-panel .main-container #Load_Content .card-reward-tip-cell:focus-within .card-reward-tip-flyout {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.main-container #Load_Content .card-reward-tip-flyout-name, .main-panel .main-container #Load_Content .card-reward-tip-flyout-name {
	font-weight: 700;
	font-size: 12px;
	color: #4e342e;
	margin-bottom: 6px;
	padding-bottom: 6px;
	border-bottom: 1px dashed #eceff1;
}
.main-container #Load_Content .card-reward-tip-flyout-info, .main-panel .main-container #Load_Content .card-reward-tip-flyout-info {
	font-size: 11px;
	color: #455a64;
	word-break: break-word;
}
.main-container #Load_Content .card-reward-tip-flyout-info font,
.main-panel .main-container #Load_Content .card-reward-tip-flyout-info font,
.main-container #Load_Content .card-reward-tip-flyout-name font,
.main-panel .main-container #Load_Content .card-reward-tip-flyout-name font {
	font-size: inherit;
}
.main-container #Load_Content .card-reward-tip-flyout-days, .main-panel .main-container #Load_Content .card-reward-tip-flyout-days {
	margin-top: 8px;
	padding-top: 6px;
	border-top: 1px dashed #eceff1;
	font-size: 10px;
	font-weight: 600;
	color: #1565c0;
}
.main-container #Load_Content .card-reward-tip-empty, .main-panel .main-container #Load_Content .card-reward-tip-empty {
	margin: 0;
	font-size: 12px;
	color: #90a4ae;
}
.main-container #Load_Content .card-reward-action-inner, .main-panel .main-container #Load_Content .card-reward-action-inner {
	line-height: 1.45;
}
.main-container #Load_Content .card-reward-action-inner .buttonnvx2, .main-panel .main-container #Load_Content .card-reward-action-inner .buttonnvx2 {
	margin-top: 4px;
	border-radius: 6px !important;
	padding: 6px 12px !important;
	font-weight: 600 !important;
}
.main-container #Load_Content .card-reward-action-inner .card-reward-claim-btn,
.main-panel .main-container #Load_Content .card-reward-action-inner .card-reward-claim-btn {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	margin-top: 0;
	width: 100%;
	max-width: 148px;
	padding: 10px 14px !important;
	border: 1px solid #1b5e20 !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	letter-spacing: 0.02em;
	color: #fff !important;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
	background: linear-gradient(180deg, #5cb860 0%, #2e7d32 55%, #1b5e20 100%) !important;
	box-shadow: 0 2px 6px rgba(27, 94, 32, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	cursor: pointer;
	transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.main-container #Load_Content .card-reward-action-inner .card-reward-claim-btn:hover,
.main-panel .main-container #Load_Content .card-reward-action-inner .card-reward-claim-btn:hover {
	filter: brightness(1.06);
	box-shadow: 0 4px 14px rgba(27, 94, 32, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.main-container #Load_Content .card-reward-action-inner .card-reward-claim-btn:active,
.main-panel .main-container #Load_Content .card-reward-action-inner .card-reward-claim-btn:active {
	transform: translateY(1px);
	filter: brightness(0.98);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.main-container #Load_Content .card-reward-action-inner font[color="green"], .main-panel .main-container #Load_Content .card-reward-action-inner font[color="green"] {
	color: #2e7d32 !important;
	font-weight: 600 !important;
}
.main-container #Load_Content .card-reward-action-inner font[color="red"], .main-panel .main-container #Load_Content .card-reward-action-inner font[color="red"] {
	color: #c62828 !important;
	font-weight: 600 !important;
}
@media (max-width: 767px) {
	.main-container #Load_Content .card-reward-page-frame,
	.main-panel .main-container #Load_Content .card-reward-page-frame {
		padding: 14px 12px 18px;
		border-radius: 10px;
	}
	.main-container #Load_Content .card-reward-panel, .main-panel .main-container #Load_Content .card-reward-panel {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		border-radius: 8px;
	}
	.main-container #Load_Content .card-reward-page-frame .card-reward-panel,
	.main-panel .main-container #Load_Content .card-reward-page-frame .card-reward-panel {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.main-container #Load_Content .card-reward-table, .main-panel .main-container #Load_Content .card-reward-table {
		min-width: 640px;
	}
}

/* —— Khung module chung — đồng bộ theme gỗ / xám Devias (Character_Manager + TinhNang AJAX) —— */
.main-container #Load_Content .devias-module-page-frame,
.main-panel .main-container #Load_Content .devias-module-page-frame {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0 0 4px;
	padding: 20px 22px 24px;
	background: #fff;
	border: 1px solid #e8e4e0;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(62, 39, 35, 0.06);
	color: #37474f;
}
.main-container #Load_Content .devias-module-page-frame > .TitleModule,
.main-panel .main-container #Load_Content .devias-module-page-frame > .TitleModule {
	margin-top: 0 !important;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e0e0e0;
	font-size: 16px;
	font-weight: 700;
	color: #37474f;
	letter-spacing: 0.02em;
}
.main-container #Load_Content .devias-module-page-frame #menu_his,
.main-panel .main-container #Load_Content .devias-module-page-frame #menu_his {
	margin: 0 0 14px;
}
.main-container #Load_Content .devias-module-page-frame .TypeUseService,
.main-panel .main-container #Load_Content .devias-module-page-frame .TypeUseService {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
/* Khối hướng dẫn: trùng tinh thần ProtectWrap toàn site (xanh nhạt + gỗ) */
.main-container #Load_Content .devias-module-page-frame .ProtectWrap,
.main-panel .main-container #Load_Content .devias-module-page-frame .ProtectWrap {
	margin-bottom: 16px;
	background: #fff;
	border: 1px solid #e8e4e0;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(62, 39, 35, 0.06);
	padding: 0;
	overflow: hidden;
}
.main-container #Load_Content .devias-module-page-frame .ProtectWrap .TitleProt,
.main-panel .main-container #Load_Content .devias-module-page-frame .ProtectWrap .TitleProt {
	border: none;
	border-bottom: 1px solid #e8ecf1;
	margin: 0;
	padding: 14px 18px 12px;
	background: linear-gradient(180deg, #f1f8e9 0%, #fafcfa 55%, #fff 100%);
}
.main-container #Load_Content .devias-module-page-frame .ProtectWrap .TitleProt strong,
.main-panel .main-container #Load_Content .devias-module-page-frame .ProtectWrap .TitleProt strong {
	color: #2e7d32 !important;
	font-size: 15px !important;
	font-weight: 700 !important;
}
.main-container #Load_Content .devias-module-page-frame .ProtectWrap .guides,
.main-panel .main-container #Load_Content .devias-module-page-frame .ProtectWrap .guides {
	margin: 0;
	padding: 4px 0 0 0;
	list-style: none;
}
.main-container #Load_Content .devias-module-page-frame .ProtectWrap .guides > li,
.main-panel .main-container #Load_Content .devias-module-page-frame .ProtectWrap .guides > li {
	margin: 0;
	padding: 11px 18px 11px 22px;
	border-bottom: 1px solid #efebe9;
	font-size: 13px;
	line-height: 1.55;
	color: #4e342e;
	position: relative;
}
.main-container #Load_Content .devias-module-page-frame .ProtectWrap .guides > li:last-child,
.main-panel .main-container #Load_Content .devias-module-page-frame .ProtectWrap .guides > li:last-child {
	border-bottom: none;
}
.main-container #Load_Content .devias-module-page-frame .ProtectWrap .guides > li::before,
.main-panel .main-container #Load_Content .devias-module-page-frame .ProtectWrap .guides > li::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 50%;
	margin-top: -3px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: linear-gradient(135deg, #a1887f, #6d4c41);
	opacity: 0.9;
}
.main-container #Load_Content .devias-module-page-frame .ProtectWrap .guides strong,
.main-panel .main-container #Load_Content .devias-module-page-frame .ProtectWrap .guides strong {
	color: #5d4037;
	font-weight: 700;
}
.main-container #Load_Content .devias-module-page-frame .errornew,
.main-panel .main-container #Load_Content .devias-module-page-frame .errornew {
	margin-bottom: 12px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	color: #b71c1c;
	background: #ffebee;
	border: 1px solid #ffcdd2;
}
.main-container #Load_Content .devias-module-page-frame .ActiveService,
.main-panel .main-container #Load_Content .devias-module-page-frame .ActiveService {
	display: block;
	margin: 4px 0 0;
	padding: 10px 0 10px;
	font-weight: 700;
	font-size: 14px;
	color: #5d4037;
	letter-spacing: 0.02em;
	border-bottom: 1px solid #efebe9;
}
.main-container #Load_Content .devias-module-page-frame .content,
.main-panel .main-container #Load_Content .devias-module-page-frame .content {
	margin-top: 4px;
	color: #37474f;
}
/* Giá trị số / tên NV trong bảng */
.main-container #Load_Content .devias-module-page-frame .classXu,
.main-panel .main-container #Load_Content .devias-module-page-frame .classXu,
.main-container #Load_Content .devias-module-page-frame .TenNhanVat,
.main-panel .main-container #Load_Content .devias-module-page-frame .TenNhanVat,
.main-container #Load_Content .devias-module-page-frame .TenNhanvat,
.main-panel .main-container #Load_Content .devias-module-page-frame .TenNhanvat {
	color: #5d4037 !important;
	font-weight: 600;
}
.main-container #Load_Content .devias-module-page-frame .space_solid_bottom,
.main-panel .main-container #Load_Content .devias-module-page-frame .space_solid_bottom {
	color: #607d8b;
	font-size: 13px;
	font-weight: 600;
}
/* Progress trong khung */
.main-container #Load_Content .devias-module-page-frame .progress-bar,
.main-panel .main-container #Load_Content .devias-module-page-frame .progress-bar {
	background: #efebe9;
	border-radius: 999px;
	border: 1px solid #d7ccc8;
}
.main-container #Load_Content .devias-module-page-frame .progress-bar .progress,
.main-panel .main-container #Load_Content .devias-module-page-frame .progress-bar .progress {
	background: linear-gradient(90deg, #8d6e63 0%, #5d4037 100%) !important;
}
/* Nút — đồng bộ nút gỗ Devias */
.main-container #Load_Content .devias-module-page-frame input.Accept,
.main-panel .main-container #Load_Content .devias-module-page-frame input.Accept,
.main-container #Load_Content .devias-module-page-frame input.NotAccept,
.main-panel .main-container #Load_Content .devias-module-page-frame input.NotAccept {
	border-radius: 8px !important;
	font-weight: 600 !important;
	font-size: 13px !important;
}
.main-container #Load_Content .devias-module-page-frame input.Accept,
.main-panel .main-container #Load_Content .devias-module-page-frame input.Accept {
	background: linear-gradient(180deg, #efebe9 0%, #d7ccc8 100%) !important;
	border: 1px solid #a1887f !important;
	color: #3e2723 !important;
	box-shadow: 0 2px 6px rgba(62, 39, 35, 0.12);
}
.main-container #Load_Content .devias-module-page-frame input.Accept:hover,
.main-panel .main-container #Load_Content .devias-module-page-frame input.Accept:hover {
	filter: brightness(1.03);
}
.main-container #Load_Content .devias-module-page-frame input.NotAccept,
.main-panel .main-container #Load_Content .devias-module-page-frame input.NotAccept {
	background: #fff !important;
	border: 1px solid #cfd8dc !important;
	color: #546e7a !important;
}
/* Bảng — theme gỗ (devias-table-wood) */
.main-container #Load_Content .devias-module-page-frame table.TablePay,
.main-panel .main-container #Load_Content .devias-module-page-frame table.TablePay,
.main-container #Load_Content .devias-module-page-frame table.TableCondition,
.main-panel .main-container #Load_Content .devias-module-page-frame table.TableCondition {
	margin: 12px 0 20px !important;
	width: 100% !important;
	table-layout: fixed !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	background: #fff !important;
	border: 1px solid #d7ccc8 !important;
	border-radius: 10px !important;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(62, 39, 35, 0.08);
}
.main-container #Load_Content .devias-module-page-frame table.TablePay thead tr,
.main-panel .main-container #Load_Content .devias-module-page-frame table.TablePay thead tr,
.main-container #Load_Content .devias-module-page-frame table.TableCondition thead tr,
.main-panel .main-container #Load_Content .devias-module-page-frame table.TableCondition thead tr {
	background: linear-gradient(180deg, #6d4c41 0%, #5d4037 100%) !important;
}
.main-container #Load_Content .devias-module-page-frame table.TablePay thead th,
.main-panel .main-container #Load_Content .devias-module-page-frame table.TablePay thead th,
.main-container #Load_Content .devias-module-page-frame table.TableCondition thead th,
.main-panel .main-container #Load_Content .devias-module-page-frame table.TableCondition thead th {
	color: #fff !important;
	font-weight: 600 !important;
	font-size: 12px !important;
	padding: 12px 10px !important;
	border-color: #4e342e !important;
	vertical-align: middle !important;
	text-align: center !important;
}
.main-container #Load_Content .devias-module-page-frame table.TablePay tbody tr,
.main-panel .main-container #Load_Content .devias-module-page-frame table.TablePay tbody tr,
.main-container #Load_Content .devias-module-page-frame table.TableCondition tbody tr,
.main-panel .main-container #Load_Content .devias-module-page-frame table.TableCondition tbody tr {
	background: #fffefb !important;
}
.main-container #Load_Content .devias-module-page-frame table.TablePay tbody tr:nth-child(even),
.main-panel .main-container #Load_Content .devias-module-page-frame table.TablePay tbody tr:nth-child(even),
.main-container #Load_Content .devias-module-page-frame table.TableCondition tbody tr:nth-child(even),
.main-panel .main-container #Load_Content .devias-module-page-frame table.TableCondition tbody tr:nth-child(even) {
	background: #f5f0eb !important;
}
.main-container #Load_Content .devias-module-page-frame table.TablePay tbody tr:hover,
.main-panel .main-container #Load_Content .devias-module-page-frame table.TablePay tbody tr:hover,
.main-container #Load_Content .devias-module-page-frame table.TableCondition tbody tr:hover,
.main-panel .main-container #Load_Content .devias-module-page-frame table.TableCondition tbody tr:hover {
	background: #efebe9 !important;
}
.main-container #Load_Content .devias-module-page-frame table.TablePay tbody td,
.main-panel .main-container #Load_Content .devias-module-page-frame table.TablePay tbody td,
.main-container #Load_Content .devias-module-page-frame table.TableCondition tbody td,
.main-panel .main-container #Load_Content .devias-module-page-frame table.TableCondition tbody td {
	padding: 12px 10px !important;
	border-color: #efebe9 !important;
	vertical-align: middle !important;
	color: #4e342e !important;
	font-size: 13px !important;
}
.main-container #Load_Content .devias-module-page-frame table.TablePay tbody td font[color],
.main-panel .main-container #Load_Content .devias-module-page-frame table.TablePay tbody td font[color],
.main-container #Load_Content .devias-module-page-frame table.TableCondition tbody td font[color],
.main-panel .main-container #Load_Content .devias-module-page-frame table.TableCondition tbody td font[color] {
	color: inherit;
}
.main-container #Load_Content .devias-module-page-frame table.TablePay tbody td font[color="#0066FF"],
.main-panel .main-container #Load_Content .devias-module-page-frame table.TablePay tbody td font[color="#0066FF"],
.main-container #Load_Content .devias-module-page-frame table.TableCondition tbody td font[color="#0066FF"],
.main-panel .main-container #Load_Content .devias-module-page-frame table.TableCondition tbody td font[color="#0066FF"],
.main-container #Load_Content .devias-module-page-frame table.TablePay tbody td font[color="#0066ff"],
.main-panel .main-container #Load_Content .devias-module-page-frame table.TablePay tbody td font[color="#0066ff"] {
	color: #1565c0 !important;
}
.main-container #Load_Content .devias-module-page-frame table.TablePay tbody td font[color="red"],
.main-panel .main-container #Load_Content .devias-module-page-frame table.TablePay tbody td font[color="red"],
.main-container #Load_Content .devias-module-page-frame table.TableCondition tbody td font[color="red"],
.main-panel .main-container #Load_Content .devias-module-page-frame table.TableCondition tbody td font[color="red"] {
	color: #c62828 !important;
}
.main-container #Load_Content .devias-module-page-frame table.TablePay tbody td font[color="#DF7401"],
.main-panel .main-container #Load_Content .devias-module-page-frame table.TablePay tbody td font[color="#DF7401"],
.main-container #Load_Content .devias-module-page-frame table.TableCondition tbody td font[color="#DF7401"],
.main-panel .main-container #Load_Content .devias-module-page-frame table.TableCondition tbody td font[color="#DF7401"] {
	color: #bf6c02 !important;
}
.main-container #Load_Content .devias-module-page-frame .BlockTwoColumn,
.main-panel .main-container #Load_Content .devias-module-page-frame .BlockTwoColumn {
	margin-top: 8px;
	color: #37474f;
}
@media (max-width: 767px) {
	.main-container #Load_Content .devias-module-page-frame,
	.main-panel .main-container #Load_Content .devias-module-page-frame {
		padding: 14px 12px 18px;
		border-radius: 10px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.main-container #Load_Content .devias-module-page-frame table.TablePay,
	.main-panel .main-container #Load_Content .devias-module-page-frame table.TablePay,
	.main-container #Load_Content .devias-module-page-frame table.TableCondition,
	.main-panel .main-container #Load_Content .devias-module-page-frame table.TableCondition {
		min-width: 520px;
	}
}

/* Đồng bộ ChangeClass — TrainTitle, QuestDaily, CheckCharacter, UpLevelDay, ItemEx*, DanhHieu, Reset/Train Master */
.skin-module-form.train-title-devias .train-title-alert-guide,
.skin-module-form.quest-daily-devias .quest-daily-alert-guide,
.skin-module-form.check-character-devias .check-character-alert-guide,
.skin-module-form.uplevel-day-devias .uplevel-day-alert-guide,
.skin-module-form.item-ex-master-devias .item-ex-master-alert-guide,
.skin-module-form.item-ex-pc-point-devias .item-ex-pc-point-alert-guide,
.skin-module-form.danh-hieu-devias .danh-hieu-alert-guide,
.skin-module-form.reset-master-point-devias .reset-master-point-alert-guide,
.skin-module-form.train-level-master-devias .train-level-master-alert-guide {
	border-left: 4px solid #f0ad4e;
	color: #5d4037;
}
.skin-module-form.train-title-devias .train-title-alert-guide li,
.skin-module-form.quest-daily-devias .quest-daily-alert-guide li,
.skin-module-form.check-character-devias .check-character-alert-guide li,
.skin-module-form.uplevel-day-devias .uplevel-day-alert-guide li,
.skin-module-form.item-ex-master-devias .item-ex-master-alert-guide li,
.skin-module-form.item-ex-pc-point-devias .item-ex-pc-point-alert-guide li,
.skin-module-form.danh-hieu-devias .danh-hieu-alert-guide li,
.skin-module-form.reset-master-point-devias .reset-master-point-alert-guide li,
.skin-module-form.train-level-master-devias .train-level-master-alert-guide li {
	margin-bottom: 6px;
	line-height: 1.45;
}
.skin-module-form.uplevel-day-devias .uplevel-day-alert-locked {
	border-left: 4px solid #d9534f;
	color: #5d4037;
}
.skin-module-form.uplevel-day-devias .uplevel-day-alert-locked li {
	margin-bottom: 6px;
	line-height: 1.45;
}
.skin-module-form.train-title-devias .train-title-captcha-img,
.skin-module-form.uplevel-day-devias .uplevel-day-captcha-img,
.skin-module-form.item-ex-master-devias .item-ex-master-captcha-img,
.skin-module-form.reset-master-point-devias .reset-master-point-captcha-img,
.skin-module-form.train-level-master-devias .train-level-master-captcha-img {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 4px;
	max-width: 100%;
	height: auto;
}

/* —— Check Character: Char_info-style + lưới trang bị + tooltip —— */
.skin-module-form.check-character-devias .check-character-result-block {
	margin-top: 8px;
	margin-bottom: 8px;
}
.skin-module-form.check-character-devias .check-char-checkresult-panel {
	margin-bottom: 16px;
}
.skin-module-form.check-character-devias .check-char-bank-hint {
	display: block;
	font-weight: 400;
	font-size: 10px;
	text-transform: none;
	letter-spacing: 0;
	opacity: 0.88;
}
.main-panel .main-container .skin-module-form.check-character-devias .char-info-stats-table td.char-info-val--wcoin {
	color: #ffb74d;
	font-weight: 700;
}
.skin-module-form.check-character-devias .check-character-inventory-panel {
	background: linear-gradient(180deg, #cfd8dc 0%, #b0bec5 45%, #90a4ae 100%);
	border-radius: 8px;
	padding: 16px 12px;
	border: 1px solid #78909c;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.skin-module-form.check-character-devias .check-character-inventory-center {
	display: block;
	background: transparent;
	margin: 0;
	padding: 0;
}
.skin-module-form.check-character-devias .check-character-inv-window {
	width: 100%;
	max-width: 420px;
	margin: 0 auto 0 auto;
	box-sizing: border-box;
}
.skin-module-form.check-character-devias .check-character-inv-window-title {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	margin: 0 0 8px 0;
	padding: 6px 40px;
	border-radius: 6px 6px 0 0;
	background: linear-gradient(180deg, #5d4037 0%, #3e2723 55%, #2d1f1b 100%);
	border: 1px solid #4e342e;
	border-bottom: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
	font-weight: 700;
	font-size: 14px;
	color: #ffcc80;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
	position: relative;
}
.skin-module-form.check-character-devias .check-character-inv-window-title::after {
	content: "";
	position: absolute;
	right: 10px;
	top: 50%;
	margin-top: -8px;
	width: 18px;
	height: 18px;
	border-radius: 2px;
	background: linear-gradient(180deg, #c62828, #8e0000);
	border: 1px solid #5c0000;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
/* Khung trang bị: không dùng ảnh nền — ô cố định, clip icon trong ô */
.skin-module-form.check-character-devias .check-character-inventory-frame--native {
	width: 100%;
	max-width: 420px;
	min-height: 0;
	margin: 0 auto;
	box-sizing: border-box;
	border: 1px solid #4e342e;
	border-top: none;
	border-radius: 0 0 8px 8px;
	overflow: hidden;
	background: linear-gradient(165deg, #3e2723 0%, #2a1f1c 40%, #1a1412 100%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 12px 24px rgba(0, 0, 0, 0.35);
	padding: 10px 12px 16px;
}
.skin-module-form.check-character-devias .check-char-equip-native-hint {
	margin: 0 0 10px 0;
	padding: 0 4px;
	font-size: 11px;
	color: #a1887f;
	text-align: center;
	line-height: 1.35;
}
.skin-module-form.check-character-devias .check-char-equip-grid {
	display: grid;
	width: 100%;
	max-width: 396px;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
	grid-template-columns: 64px 56px 80px 56px 64px;
	grid-template-rows: 68px 104px 88px;
	gap: 10px 12px;
	align-items: center;
	justify-items: center;
	justify-content: center;
	grid-template-areas:
		"pet pend helm wing ."
		"wpn . armor . shd"
		"glv r1 pants r2 boot";
}
.skin-module-form.check-character-devias .cc-ge-pet { grid-area: pet; }
.skin-module-form.check-character-devias .cc-ge-pend { grid-area: pend; }
.skin-module-form.check-character-devias .cc-ge-helm { grid-area: helm; }
.skin-module-form.check-character-devias .cc-ge-wing { grid-area: wing; }
.skin-module-form.check-character-devias .cc-ge-wpn { grid-area: wpn; }
.skin-module-form.check-character-devias .cc-ge-armor { grid-area: armor; }
.skin-module-form.check-character-devias .cc-ge-shield { grid-area: shd; }
.skin-module-form.check-character-devias .cc-ge-glove { grid-area: glv; }
.skin-module-form.check-character-devias .cc-ge-ring1 { grid-area: r1; }
.skin-module-form.check-character-devias .cc-ge-pants { grid-area: pants; }
.skin-module-form.check-character-devias .cc-ge-ring2 { grid-area: r2; }
.skin-module-form.check-character-devias .cc-ge-boots { grid-area: boot; }
.skin-module-form.check-character-devias .check-char-slot-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	overflow: hidden;
	border: 2px solid #5d4037;
	border-radius: 4px;
	background: linear-gradient(180deg, rgba(40, 30, 28, 0.95) 0%, rgba(20, 16, 14, 0.98) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 -6px 12px rgba(0, 0, 0, 0.4);
	flex-shrink: 0;
}
.skin-module-form.check-character-devias .cc-ge-pet .check-char-slot-cell,
.skin-module-form.check-character-devias .cc-ge-pend .check-char-slot-cell {
	width: 56px;
	height: 56px;
	min-width: 56px;
	min-height: 56px;
}
.skin-module-form.check-character-devias .cc-ge-helm .check-char-slot-cell {
	width: 64px;
	height: 64px;
	min-width: 64px;
	min-height: 64px;
}
.skin-module-form.check-character-devias .cc-ge-wing .check-char-slot-cell {
	width: 88px;
	height: 56px;
	min-width: 88px;
	min-height: 56px;
}
.skin-module-form.check-character-devias .cc-ge-wpn .check-char-slot-cell,
.skin-module-form.check-character-devias .cc-ge-shield .check-char-slot-cell {
	width: 72px;
	height: 100px;
	min-width: 72px;
	min-height: 100px;
}
.skin-module-form.check-character-devias .cc-ge-armor .check-char-slot-cell {
	width: 80px;
	height: 104px;
	min-width: 80px;
	min-height: 104px;
}
.skin-module-form.check-character-devias .cc-ge-glove .check-char-slot-cell,
.skin-module-form.check-character-devias .cc-ge-boots .check-char-slot-cell {
	width: 64px;
	height: 72px;
	min-width: 64px;
	min-height: 72px;
}
.skin-module-form.check-character-devias .cc-ge-ring1 .check-char-slot-cell,
.skin-module-form.check-character-devias .cc-ge-ring2 .check-char-slot-cell {
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
}
.skin-module-form.check-character-devias .cc-ge-pants .check-char-slot-cell {
	width: 80px;
	height: 88px;
	min-width: 80px;
	min-height: 88px;
}
.skin-module-form.check-character-devias .check-char-slot-cell--empty {
	border-style: dashed;
	border-color: rgba(141, 110, 99, 0.55);
	background: rgba(0, 0, 0, 0.22);
}
.skin-module-form.check-character-devias .check-char-item-slot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
	text-align: center;
	line-height: 0;
}
.skin-module-form.check-character-devias .check-char-item-slot dl {
	margin: 0;
	padding: 0;
	line-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
.skin-module-form.check-character-devias .check-char-item-slot img {
	display: block;
	max-width: 92%;
	max-height: 92%;
	width: auto;
	height: auto;
	object-fit: contain;
	vertical-align: middle;
}
@media (max-width: 480px) {
	.skin-module-form.check-character-devias .check-char-equip-grid {
		grid-template-columns: 52px 48px 64px 48px 52px;
		grid-template-rows: 58px 88px 76px;
		gap: 8px 8px;
	}
	.skin-module-form.check-character-devias .cc-ge-wing .check-char-slot-cell {
		width: 72px;
		min-width: 72px;
	}
	.skin-module-form.check-character-devias .cc-ge-wpn .check-char-slot-cell,
	.skin-module-form.check-character-devias .cc-ge-shield .check-char-slot-cell {
		width: 60px;
		height: 88px;
		min-width: 60px;
		min-height: 88px;
	}
	.skin-module-form.check-character-devias .cc-ge-armor .check-char-slot-cell {
		width: 68px;
		height: 90px;
		min-width: 68px;
		min-height: 90px;
	}
	.skin-module-form.check-character-devias .cc-ge-pants .check-char-slot-cell {
		width: 68px;
		height: 76px;
		min-width: 68px;
		min-height: 76px;
	}
}

.ui-tooltip.check-char-item-tooltip-ui {
	max-width: min(320px, 92vw);
	background: #1b1b1b !important;
	color: #eceff1 !important;
	border: 1px solid #424242 !important;
	border-radius: 6px !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5) !important;
	padding: 10px 12px !important;
	font-size: 12px !important;
	line-height: 1.5 !important;
	z-index: 9999 !important;
}
.ui-tooltip.check-char-item-tooltip-ui .ui-tooltip-content {
	text-align: center;
}
.ui-tooltip.check-char-item-tooltip-ui .ui-tooltip-content font,
.ui-tooltip.check-char-item-tooltip-ui .ui-tooltip-content span {
	max-width: 100%;
}

/* Tooltip item Check Character (floating, không phụ thuộc jQuery UI) */
.check-char-item-floattip {
	position: fixed;
	z-index: 10060;
	max-width: min(340px, 94vw);
	padding: 10px 14px;
	background: #1b1b1b;
	color: #eceff1;
	border: 1px solid #424242;
	border-radius: 6px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.12s ease;
}
.check-char-item-floattip.is-visible {
	visibility: visible;
	opacity: 1;
}
.check-char-item-floattip font,
.check-char-item-floattip span {
	max-width: 100%;
}
.skin-module-form.quest-daily-devias .quest-daily-quest-panel .quest-daily-panel-body {
	padding: 0;
}
.skin-module-form.quest-daily-devias .quest-daily-quest-panel .panel-heading,
.skin-module-form.train-title-devias .train-title-train-panel .panel-heading,
.skin-module-form.train-title-devias .train-title-settitle-panel .panel-heading,
.skin-module-form.item-ex-master-devias .item-ex-master-ranking-panel .panel-heading,
.skin-module-form.item-ex-master-devias .item-ex-master-conditions .panel-heading,
.skin-module-form.danh-hieu-devias .danh-hieu-vip-panel .panel-heading,
.skin-module-form.danh-hieu-devias .danh-hieu-manage-panel .panel-heading,
.skin-module-form.uplevel-day-devias .uplevel-day-conditions .panel-heading,
.skin-module-form.uplevel-day-devias .uplevel-day-price-panel .panel-heading {
	background: #fafafa;
	border-color: #e0e0e0;
	font-weight: 600;
	color: #37474f;
}
.skin-module-form.reset-master-point-devias .reset-master-point-conditions .panel-heading,
.skin-module-form.train-level-master-devias .train-level-master-conditions .panel-heading {
	background: #fafafa;
	border-color: #e0e0e0;
	font-weight: 600;
	color: #37474f;
}
.skin-module-form.reset-master-point-devias .reset-master-point-conditions .table > tbody > tr > th,
.skin-module-form.train-level-master-devias .train-level-master-conditions .table > tbody > tr > th,
.skin-module-form.item-ex-master-devias .item-ex-master-conditions .table > tbody > tr > th,
.skin-module-form.uplevel-day-devias .uplevel-day-conditions .table > tbody > tr > th {
	background: #f5f7fa;
	font-weight: 600;
	color: #455a64;
	vertical-align: middle;
}

/* Cộng điểm / Di chuyển map / Tẩy điểm — ChangeClass-style */
.skin-module-form.add-point-devias .add-point-alert-guide,
.skin-module-form.map-move-devias .map-move-alert-guide,
.skin-module-form.clear-point-devias .clear-point-alert-guide {
	border-left: 4px solid #f0ad4e;
	color: #5d4037;
}
.skin-module-form.add-point-devias .add-point-captcha-img,
.skin-module-form.map-move-devias .map-move-captcha-img,
.skin-module-form.clear-point-devias .clear-point-captcha-img {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 4px;
	max-width: 100%;
	height: auto;
}

/* QuestDaily ReCharge + NewbieReward — cùng khung CardReward */
.main-container #Load_Content .quest-daily-recharge-frame,
.main-panel .main-container #Load_Content .quest-daily-recharge-frame {
	margin-top: 4px;
}
.main-container #Load_Content .card-reward-table--quest-recharge thead th,
.main-panel .main-container #Load_Content .card-reward-table--quest-recharge thead th {
	vertical-align: middle;
}
.main-container #Load_Content .newbie-reward-page-frame .newbie-reward-claim-panel,
.main-panel .main-container #Load_Content .newbie-reward-page-frame .newbie-reward-claim-panel {
	position: relative;
	overflow: hidden;
}
.main-container #Load_Content .newbie-reward-banner-wrap,
.main-panel .main-container #Load_Content .newbie-reward-banner-wrap {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	width: 188px;
	height: 177px;
	line-height: 0;
}
.main-container #Load_Content .newbie-reward-claim-form,
.main-panel .main-container #Load_Content .newbie-reward-claim-form {
	padding: 12px 12px 12px 210px;
	min-height: 200px;
}
.main-container #Load_Content .newbie-reward-captcha-img,
.main-panel .main-container #Load_Content .newbie-reward-captcha-img {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 4px;
	max-width: 100%;
	height: auto;
}
@media (max-width: 767px) {
	.main-container #Load_Content .newbie-reward-claim-form,
	.main-panel .main-container #Load_Content .newbie-reward-claim-form {
		padding: 190px 12px 12px 12px;
	}
}

/* Menu trái: icon | chữ | mũi tên thẳng cột (flex, cột chữ cùng một mép trái). Không áp khi thu gọn sidebar. */
body:not(.collapse-menu) .layout-main > .left-panel .panel-menu .list-panel-menu > li > a {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	min-height: 40px;
	height: auto;
	line-height: 1.25;
	padding-left: 8px;
	padding-right: 8px;
	box-sizing: border-box;
}
body:not(.collapse-menu) .layout-main > .left-panel .panel-menu .list-panel-menu > li > a .menu-icon {
	flex: 0 0 28px;
	width: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	text-align: center;
}
body:not(.collapse-menu) .layout-main > .left-panel .panel-menu .list-panel-menu > li > a .menu-icon .fa {
	margin-left: 0 !important;
	margin-right: 0 !important;
	line-height: 1 !important;
	float: none;
}
body:not(.collapse-menu) .layout-main > .left-panel .panel-menu .list-panel-menu > li > a .menu-text {
	flex: 1 1 auto;
	min-width: 0;
	padding-left: 6px;
	text-align: left;
	line-height: 1.25;
}
body:not(.collapse-menu) .layout-main > .left-panel .panel-menu .list-panel-menu > li > a .menu-badge {
	flex: 0 0 auto;
	margin-left: auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
body:not(.collapse-menu) .layout-main > .left-panel .panel-menu .list-panel-menu > li > a .menu-badge .fa {
	float: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	line-height: 1 !important;
}

/* Sidebar trái: chỉ cuộn danh sách menu khi dài; avatar + khối nhân vật giữ nguyên phía trên.
   Thanh cuộn 4px, xám trung tính trên nền tối (đồng bộ palette slate, không gradient). */
.layout-main > .left-panel > .panel-menu {
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding-bottom: 0;
	/* không đặt overflow:hidden — tránh cắt dropdown chọn nhân vật; cuộn chỉ ở .list-panel-menu */
}
.layout-main > .left-panel > .panel-menu > .character {
	flex: 0 0 auto;
}
.layout-main > .left-panel > .panel-menu > .list-panel-menu {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(148, 163, 184, 0.55) rgba(0, 0, 0, 0.22);
}
.layout-main > .left-panel > .panel-menu > .list-panel-menu::-webkit-scrollbar {
	width: 4px;
}
.layout-main > .left-panel > .panel-menu > .list-panel-menu::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 100px;
}
.layout-main > .left-panel > .panel-menu > .list-panel-menu::-webkit-scrollbar-thumb {
	background: rgba(148, 163, 184, 0.42);
	border-radius: 100px;
}
.layout-main > .left-panel > .panel-menu > .list-panel-menu:hover::-webkit-scrollbar-thumb {
	background: rgba(203, 213, 225, 0.55);
}
.layout-main > .left-panel > .panel-menu > .list-panel-menu::-webkit-scrollbar-thumb:active {
	background: rgba(226, 232, 240, 0.65);
}

/* --- Popup Notify: luôn giữa màn hình + hiệu ứng (ghi đè, load sau style.css) --- */
#notify_block.notify.notify--modal {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	min-height: 100vh !important;
	height: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 20px 16px !important;
	box-sizing: border-box !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 99999 !important;
	transform: none !important;
	will-change: opacity;
}
#notify_block.notify.notify--modal .notify-backdrop {
	opacity: 0;
	transition: opacity 0.3s ease;
}
#notify_block.notify.notify--modal.show .notify-backdrop {
	opacity: 1;
}
#notify_block.notify.notify--modal .notify-dialog {
	position: relative;
	z-index: 1;
	flex: 0 1 auto;
	width: 100%;
	max-width: 440px;
	margin: 0 !important;
	transform: translate3d(0, 18px, 0) scale(0.94);
	opacity: 0;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
	will-change: transform, opacity;
}
#notify_block.notify.notify--modal.show .notify-dialog {
	transform: translate3d(0, 0, 0) scale(1);
	opacity: 1;
}

/* UnSuccessfully (Vé số may mắn, v.v.) — khung thông báo, không tràn full width phẳng */
.main-container #Load_Content .ModuleManage #left_colm .errornew.devias-unsuccess-alert,
.main-panel .main-container #Load_Content .ModuleManage #left_colm .errornew.devias-unsuccess-alert {
	box-sizing: border-box;
	width: 100%;
	max-width: 520px;
	margin: 10px auto 0;
	padding: 20px 22px 22px;
	background-image: none !important;
	background-color: #fff8f8;
	border: 1px solid rgba(229, 57, 53, 0.38);
	border-radius: 14px;
	box-shadow:
		0 2px 12px rgba(183, 28, 28, 0.07),
		inset 0 1px 0 rgba(255, 255, 255, 0.85);
	color: #b71c1c;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.55;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
}
.main-container #Load_Content .ModuleManage #left_colm .errornew.devias-unsuccess-alert::before,
.main-panel .main-container #Load_Content .ModuleManage #left_colm .errornew.devias-unsuccess-alert::before {
	content: "";
	display: block;
	width: 44px;
	height: 44px;
	margin: 0 0 12px 0;
	border-radius: 12px;
	flex-shrink: 0;
	box-shadow: 0 3px 10px rgba(198, 40, 40, 0.28);
	background-color: #e53935;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E"),
		linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, transparent 50%);
	background-repeat: no-repeat, no-repeat;
	background-position: center, center;
	background-size: 26px 26px, auto;
}
@media (max-width: 575px) {
	.main-container #Load_Content .ModuleManage #left_colm .errornew.devias-unsuccess-alert,
	.main-panel .main-container #Load_Content .ModuleManage #left_colm .errornew.devias-unsuccess-alert {
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		padding: 18px 16px 20px;
	}
}
