/*
Theme Name: KetQua Lottery Theme
Description: Giao diện xổ số kiến thiết 3 miền và Vietlott, hỗ trợ tùy biến 2 màu Gradient và Theme Colors trong WordPress Customize.
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ketqua-vn
*/

/* WordPress Core Alignment & Layout Compliances */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter, div.aligncenter {
	display: block;
	margin: 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

/* Base font 16px standards */
html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

body {
	font-size: 15px;
	overflow-x: hidden;
}

:root {
	--vlxx-gradient-start: #0f2b5c;
	--vlxx-gradient-end: #c52324;
	--vlxx-gradient-angle: 109deg;
	--brand-color: #c52324;
	--sub-brand-color: #0f2b5c;
	--brand-navy: #0f2b5c;
	--brand-red: #c52324;
	--highlight-color: #ff3110;
}

/* Touch targets standard for list items */
.list-group-item {
	min-height: 40px;
	display: flex;
	align-items: center;
}

/* Form Controls & Action Buttons (Aligned at 38px height) */
.form-control, .form-select {
	height: 38px;
	min-height: 38px;
	font-size: 15px;
	border: 1px solid #ced4da;
	border-radius: 4px;
	padding: 6px 12px;
	line-height: 1.5;
}

.btn.bg-btn {
	height: 38px;
	min-height: 38px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 6px 16px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 4px;
	background-color: #73a81f !important;
	color: #ffffff !important;
	border: none;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.btn.bg-btn:hover {
	background-color: #618f1a !important;
}

/* ==========================================================================
   Desktop Main Navigation Bar
   ========================================================================== */
@media (min-width: 992px) {
	.nav-bar {
		position: static !important;
		width: 100% !important;
		height: 48px !important;
		min-height: 48px !important;
		background-color: #ffffff !important;
		border-top: 1px solid #dee2e6 !important;
		box-shadow: 0 1px 4px rgba(15, 43, 92, 0.08) !important;
		overflow: visible !important;
		z-index: 990 !important;
		transform: none !important;
	}

	.nav-bar .container {
		height: 100% !important;
		max-width: 1140px !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
	}

	.nav-bar .nav-list {
		display: flex !important;
		height: 100% !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
		align-items: stretch !important;
		justify-content: space-between !important;
	}

	.nav-bar .nav-items {
		height: 100% !important;
		position: relative !important;
		display: flex !important;
		align-items: center !important;
		border-bottom: none !important;
	}

	.nav-bar .nav-links {
		display: flex !important;
		height: 100% !important;
		min-height: 48px !important;
		padding: 0 10px !important;
		align-items: center !important;
		justify-content: center !important;
		text-decoration: none !important;
		font-weight: 600 !important;
		font-size: 15px !important;
		color: var(--sub-brand-color, #0f2b5c) !important;
		text-align: center !important;
		line-height: 1 !important;
		white-space: nowrap !important;
		transition: background-color 0.15s ease, color 0.15s ease !important;
	}

	.nav-bar .nav-links:hover,
	.nav-bar .nav-items:hover > .nav-links {
		background-color: #f0f4f9 !important;
		color: var(--brand-color, #c52324) !important;
	}

	.nav-bar .nav-items .nav-items-dropdown {
		font-size: 12px !important;
		margin-left: 4px !important;
		color: #6c757d !important;
		transition: transform 0.15s ease !important;
	}

	.nav-bar .nav-items:hover .nav-items-dropdown {
		color: var(--brand-color, #c52324) !important;
		transform: translateY(1px) !important;
	}

	.nav-bar .dropdown-list {
		display: none;
		position: absolute !important;
		left: 0 !important;
		top: 100% !important;
		margin-top: 0 !important;
		padding: 6px 0 !important;
		list-style: none !important;
		min-width: 195px !important;
		background-color: #ffffff !important;
		box-shadow: 0 6px 20px rgba(15, 43, 92, 0.15) !important;
		border-radius: 0 0 8px 8px !important;
		border: 1px solid #dee2e6 !important;
		border-top: 3px solid var(--vlxx-gradient-start, #0f2b5c) !important;
		z-index: 9999 !important;
	}

	.nav-bar .nav-items:hover > .dropdown-list {
		display: block !important;
	}

	.nav-bar .dropdown-links {
		height: 38px !important;
		min-height: 38px !important;
		display: flex !important;
		align-items: center !important;
		padding: 0 16px !important;
		font-size: 14.5px !important;
		font-weight: 500 !important;
		color: var(--sub-brand-color, #0f2b5c) !important;
		text-decoration: none !important;
		transition: background-color 0.15s ease, color 0.15s ease !important;
	}

	.nav-bar .dropdown-links:hover {
		background-color: #f0f4f9 !important;
		color: var(--brand-color, #c52324) !important;
		font-weight: 600 !important;
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.nav-bar .nav-links {
		padding: 0 6px !important;
		font-size: 13.5px !important;
	}
	.nav-bar .nav-items .nav-items-dropdown {
		margin-left: 2px !important;
		font-size: 11px !important;
	}
}

/* ==========================================================================
   Mobile Sticky Menu Bar
   ========================================================================== */
@media (max-width: 991.98px) {
	.sticky-menu {
		height: 46px !important;
		background-color: #ffffff !important;
		border-bottom: 3px solid var(--vlxx-gradient-start, #0f2b5c) !important;
		box-shadow: 0 2px 4px rgba(15, 43, 92, 0.08) !important;
	}

	.sticky-menu .menu-btn {
		height: 36px !important;
		min-width: 36px !important;
		width: 36px !important;
		margin: 5px 8px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		border-radius: 6px !important;
		background-color: #f8f9fa !important;
		border: 1px solid #dee2e6 !important;
	}

	.sticky-menu .sticky-list-link a {
		height: 46px !important;
		min-height: 46px !important;
		display: inline-flex !important;
		align-items: center !important;
		padding: 0 12px !important;
		font-size: 15px !important;
		font-weight: 600 !important;
		color: var(--sub-brand-color, #0f2b5c) !important;
		text-decoration: none !important;
		white-space: nowrap !important;
	}

	.sticky-menu .sticky-list-link a:hover,
	.sticky-menu .sticky-list-link a:active {
		color: var(--brand-color, #c52324) !important;
	}
}

/* Weekday Switcher Bar */
.weekdays {
	position: relative;
	display: block;
	padding: 8px 0;
	text-decoration: none !important;
	text-align: center;
	white-space: nowrap;
	font-size: 15px;
	color: var(--sub-brand-color, #0f2b5c);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.weekdays:hover {
	background-color: #f0f4f9;
	color: var(--brand-color, #c52324);
}

.weekdays.bg-color-brand {
	background-color: var(--brand-color, #c52324) !important;
	color: #ffffff !important;
	font-weight: 600;
}

/* Sidebar Calendar Widget: Always static, visible, and perfectly aligned */
.col-md-4 .table-calendar,
.col-lg-3 .table-calendar,
.sidebar .table-calendar,
div.table-calendar {
	position: static !important;
	display: block !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-shadow: 0 2px 8px rgba(15, 43, 92, 0.08) !important;
	border-radius: 10px !important;
	background-color: #ffffff !important;
	z-index: 1 !important;
}

.table-calendar table {
	table-layout: fixed;
	width: 100%;
}

.table-calendar th {
	padding: 6px 2px;
	font-size: 14px;
	font-weight: 600;
	color: #6c757d;
}

.table-calendar td {
	height: 34px;
	vertical-align: middle;
	padding: 2px;
	border-radius: 6px;
}

.table-calendar td a,
.table-calendar td span {
	display: block;
	padding: 4px 2px;
	border-radius: 6px;
	font-weight: 500;
	font-size: 14px;
}

.table-calendar td a {
	text-decoration: none !important;
	color: var(--sub-brand-color, #0f2b5c) !important;
	transition: background-color 0.15s ease;
}

.table-calendar td span.silver,
.table-calendar td span.text-muted {
	color: #adb5bd !important;
	cursor: default;
}

.table-calendar td a:hover {
	background-color: #f0f4f9 !important;
	color: var(--brand-color, #c52324) !important;
}

/* Active / Selected Day in Calendar */
.table-calendar td.bg-btn,
.table-calendar td.active {
	background-color: #73a81f !important;
	border-radius: 6px !important;
}

.table-calendar td.bg-btn a,
.table-calendar td.active a {
	background-color: #73a81f !important;
	color: #ffffff !important;
	font-weight: 700 !important;
}

.table-calendar td.bg-btn a:hover,
.table-calendar td.active a:hover {
	background-color: #618f1a !important;
	color: #ffffff !important;
}

/* Today in Calendar */
.table-calendar td.today:not(.bg-btn):not(.active) a,
.table-calendar td.today:not(.bg-btn):not(.active) span {
	border: 2px solid var(--brand-color, #c52324) !important;
	color: var(--brand-color, #c52324) !important;
	font-weight: 700 !important;
}

/* Weekend in Calendar */
.table-calendar td.weekend:not(.bg-btn):not(.active) a {
	color: #dc3545 !important;
}

/* Calendar month header navigation */
.table-calendar .calendar-header {
	padding: 10px 14px;
	background-color: #fbfcfd;
	border-bottom: 1px solid #edf2f7;
	min-height: 48px;
}

.table-calendar .cal-nav-btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
	color: #495057;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	cursor: pointer;
	flex-shrink: 0;
}

.table-calendar .cal-nav-btn:hover:not(.disabled) {
	background-color: var(--brand-color, #c52324);
	color: #ffffff !important;
	border-color: var(--brand-color, #c52324);
	box-shadow: 0 3px 8px rgba(197, 35, 36, 0.25);
	transform: translateY(-1px);
}

.table-calendar .cal-nav-btn.disabled {
	opacity: 0.35;
	cursor: not-allowed;
	background-color: #f1f5f9;
	border-color: #e2e8f0;
	color: #94a3b8;
	box-shadow: none;
}

.table-calendar .cal-nav-btn i,
.table-calendar .cal-nav-btn .fa-arrow-circle-left,
.table-calendar .cal-nav-btn .fa-arrow-circle-right {
	font-size: 16px;
	width: 16px;
	height: 16px;
	padding: 0 !important;
	margin: 0 !important;
}

.table-calendar .calendar-header h3 {
	font-size: 15px;
	font-weight: 700;
	color: var(--sub-brand-color, #0f2b5c);
	letter-spacing: 0.2px;
	margin: 0 10px;
}

/* Authentic Rolling Number Animation During Lottery Draw */
.spinning-digits {
	color: var(--highlight-color, #ff3110) !important;
	font-weight: 700 !important;
	letter-spacing: 1.5px;
	display: inline-block;
	text-shadow: 0 0 1px rgba(255, 49, 16, 0.4);
	animation: vlxx-digit-flicker 0.12s ease-in-out infinite alternate;
}
@keyframes vlxx-digit-flicker {
	0% { transform: scale(0.97); opacity: 0.88; }
	100% { transform: scale(1.03); opacity: 1; }
}
.loading {
	min-height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.bg-highlight-row {
	background-color: #fff2ca !important;
	transition: background-color 0.2s ease;
}
.form-date::after {
	content: "";
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background-color: var(--sub-brand-color, #0f2b5c);
	-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20448%20512%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M0%20464c0%2026.5%2021.5%2048%2048%2048h352c26.5%200%2048-21.5%2048-48V192H0v272zm320-196c0-6.6%205.4-12%2012-12h40c6.6%200%2012%205.4%2012%2012v40c0%206.6-5.4%2012-12%2012h-40c-6.6%200-12-5.4-12-12v-40zm0%20128c0-6.6%205.4-12%2012-12h40c6.6%200%2012%205.4%2012%2012v40c0%206.6-5.4%2012-12%2012h-40c-6.6%200-12-5.4-12-12v-40zM192%20268c0-6.6%205.4-12%2012-12h40c6.6%200%2012%205.4%2012%2012v40c0%206.6-5.4%2012-12%2012h-40c-6.6%200-12-5.4-12-12v-40zm0%20128c0-6.6%205.4-12%2012-12h40c6.6%200%2012%205.4%2012%2012v40c0%206.6-5.4%2012-12%2012h-40c-6.6%200-12-5.4-12-12v-40zM64%20268c0-6.6%205.4-12%2012-12h40c6.6%200%2012%205.4%2012%2012v40c0%206.6-5.4%2012-12%2012H76c-6.6%200-12-5.4-12-12v-40zm0%20128c0-6.6%205.4-12%2012-12h40c6.6%200%2012%205.4%2012%2012v40c0%206.6-5.4%2012-12%2012H76c-6.6%200-12-5.4-12-12v-40zM400%2064h-48V16c0-8.8-7.2-16-16-16h-32c-8.8%200-16%207.2-16%2016v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8%200-16%207.2-16%2016v48H48C21.5%2064%200%2085.5%200%20112v48h448v-48c0-26.5-21.5-48-48-48z%27/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20448%20512%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M0%20464c0%2026.5%2021.5%2048%2048%2048h352c26.5%200%2048-21.5%2048-48V192H0v272zm320-196c0-6.6%205.4-12%2012-12h40c6.6%200%2012%205.4%2012%2012v40c0%206.6-5.4%2012-12%2012h-40c-6.6%200-12-5.4-12-12v-40zm0%20128c0-6.6%205.4-12%2012-12h40c6.6%200%2012%205.4%2012%2012v40c0%206.6-5.4%2012-12%2012h-40c-6.6%200-12-5.4-12-12v-40zM192%20268c0-6.6%205.4-12%2012-12h40c6.6%200%2012%205.4%2012%2012v40c0%206.6-5.4%2012-12%2012h-40c-6.6%200-12-5.4-12-12v-40zm0%20128c0-6.6%205.4-12%2012-12h40c6.6%200%2012%205.4%2012%2012v40c0%206.6-5.4%2012-12%2012h-40c-6.6%200-12-5.4-12-12v-40zM64%20268c0-6.6%205.4-12%2012-12h40c6.6%200%2012%205.4%2012%2012v40c0%206.6-5.4%2012-12%2012H76c-6.6%200-12-5.4-12-12v-40zm0%20128c0-6.6%205.4-12%2012-12h40c6.6%200%2012%205.4%2012%2012v40c0%206.6-5.4%2012-12%2012H76c-6.6%200-12-5.4-12-12v-40zM400%2064h-48V16c0-8.8-7.2-16-16-16h-32c-8.8%200-16%207.2-16%2016v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8%200-16%207.2-16%2016v48H48C21.5%2064%200%2085.5%200%20112v48h448v-48c0-26.5-21.5-48-48-48z%27/%3E%3C/svg%3E") no-repeat center / contain;
	pointer-events: none;
}

/* Table Lotto Styling */
.table-lotto td, .table-lotto th {
	vertical-align: middle;
}

/* Smooth mobile lotto numbers */
.txt-special-prize .number,
.txt-special-prize {
	color: var(--highlight-color, #ff3110) !important;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 1px;
}

@media (max-width: 576px) {
	.txt-special-prize .number,
	.txt-special-prize {
		font-size: 20px;
	}
}

/* Card with Header theo chủ đề (SEO Intro & FAQ Blocks) */
#seo-intro-block,
#seo-faq-block {
	border: none !important;
	border-radius: 10px !important;
	box-shadow: 0 1px 4px rgba(15, 43, 92, 0.1) !important;
	background-color: #ffffff !important;
	overflow: hidden !important;
	margin-bottom: 15px !important;
}

#seo-intro-block .list-group-title,
#seo-faq-block .list-group-title {
	background-image: linear-gradient(var(--vlxx-gradient-angle, 109deg), var(--vlxx-gradient-start, #0f2b5c) 0%, var(--vlxx-gradient-end, #c52324) 100%) !important;
	color: #ffffff !important;
	font-weight: 600;
	font-size: 1rem;
	padding: 9px 14px;
	margin-bottom: 0;
	line-height: 1.4;
}

#seo-intro-block .card-body-theme,
#seo-faq-block .card-body-theme {
	padding: 14px 16px;
	font-size: 15px;
	line-height: 1.65;
	color: #212529;
}

#seo-intro-block p {
	font-size: 15px;
	line-height: 1.65;
	color: #212529;
	margin-bottom: 8px;
}

#seo-intro-block p:last-child {
	margin-bottom: 0;
}

#seo-faq-block .accordion-item {
	border: none;
	border-bottom: 1px solid #e9ecef;
}

#seo-faq-block .accordion-item:last-child {
	border-bottom: none;
}

#seo-faq-block .accordion-button {
	font-size: 15px;
	font-weight: 600;
	padding: 10px 0;
	color: var(--sub-brand-color, #0f2b5c);
	background-color: transparent !important;
	box-shadow: none !important;
	border: none;
}

#seo-faq-block .accordion-button:not(.collapsed) {
	color: var(--brand-color, #c52324) !important;
}

#seo-faq-block .accordion-body {
	font-size: 14px;
	line-height: 1.65;
	color: #495057;
	padding: 2px 0 12px 0;
}

/* ==========================================================================
   Global Theme Authority Overrides via CSS Custom Properties
   ========================================================================== */
.bg-linear-gradient {
	background-image: linear-gradient(var(--vlxx-gradient-angle, 109deg), var(--vlxx-gradient-start, #0f2b5c) 0%, var(--vlxx-gradient-end, #c52324) 100%) !important;
}

.live-prize-box {
	background-image: linear-gradient(var(--vlxx-gradient-angle, 109deg), var(--vlxx-gradient-start, #0f2b5c) 0%, var(--vlxx-gradient-end, #c52324) 100%) !important;
}

.bg-color-brand {
	background-color: var(--brand-color, #c52324) !important;
}

.bg-color-sub-brand {
	background-color: var(--sub-brand-color, #0f2b5c) !important;
}

.color-brand {
	color: var(--brand-color, #c52324) !important;
}

.color-sub-brand {
	color: var(--sub-brand-color, #0f2b5c) !important;
}

.result-board,
.live-result-board {
	padding: 3px !important;
	background: linear-gradient(135deg, var(--vlxx-gradient-start, #0f2b5c) 0%, var(--vlxx-gradient-end, #c52324) 100%) !important;
	border-radius: 10px !important;
	box-shadow: 0 4px 15px rgba(15, 43, 92, 0.15) !important;
}

/* ==========================================================================
   Live Lottery Prize Box, Sound Controls & Raffle Cage Animations
   ========================================================================== */
.live-prize-box {
	background-image: linear-gradient(var(--vlxx-gradient-angle, 109deg), var(--vlxx-gradient-start, #0f2b5c) 0%, var(--vlxx-gradient-end, #c52324) 100%) !important;
	padding: 14px 0 6px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	position: relative;
	overflow: hidden;
}

.live-prize-box::before {
	content: url('/assets/images/live-logo.svg') !important;
	position: absolute;
	top: -7px;
	right: -2px;
	z-index: 0;
	pointer-events: none;
}

.live-prize-title {
	position: relative;
	background-color: rgba(255, 255, 255, 0.95);
	padding: 3px 22px;
	margin: 4px;
	min-height: 26px;
	border-radius: 20px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
	font-size: 15px;
	color: #212529;
	z-index: 2;
}

.raffle-cage {
	width: 44px;
	min-width: 44px;
	height: 44px;
	overflow: hidden;
	margin: 6px;
	position: relative;
}

.raffle-cage-sheet {
	height: 44px;
	width: 1760px;
	background-image: url('/assets/images/raffle-cage.webp') !important;
	background-size: 1760px 69px;
	animation: trainSpriteSheet 3s steps(40) infinite;
}

@keyframes trainSpriteSheet {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-100%, 0, 0); }
}

.raffle-cage-anim-2 { animation-delay: .4s; }
.raffle-cage-anim-3 { animation-delay: .8s; }
.raffle-cage-anim-4 { animation-delay: 1.2s; }
.raffle-cage-anim-5 { animation-delay: 1.6s; }

/* When live is finished or paused, freeze raffle cages */
.live-finished .raffle-cage-sheet,
.live-prize-box.is-done .raffle-cage-sheet {
	animation-play-state: paused !important;
	opacity: 0.8;
}

.raffle-ball {
	width: 46px;
	height: 46px;
	margin: 7px;
	border-radius: 50%;
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
}

.raffle-ball div {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-image: radial-gradient(closest-side at 55% 45%, #fff, #ececec);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #000;
	font-weight: 700;
	font-size: 18px;
}

.sound-on {
	position: absolute;
	right: -3px;
	top: 48px;
	border-radius: 8px;
	width: 220px;
	color: #dee2e6;
	background-color: #343a40;
	border-color: rgba(0, 0, 0, .15);
	white-space: initial !important;
	display: flex;
	flex-direction: column;
	z-index: 99;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sound-on::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid #343a40;
	position: absolute;
	right: 14px;
	top: -10px;
}

.replay-live {
	position: relative;
	color: #fff !important;
	padding: 5px 20px;
	margin: 6px;
	border-radius: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	z-index: 2;
	transition: transform 0.15s ease, filter 0.15s ease;
}

.replay-live:hover {
	transform: scale(1.03);
	filter: brightness(1.15);
	color: #fff !important;
}

#mute {
	cursor: pointer;
	border: 2px solid rgba(255, 255, 255, 0.8) !important;
	transition: transform 0.15s ease;
}

#mute:hover {
	transform: scale(1.1);
}

.live-result-board {
	padding: 3px !important;
	background: linear-gradient(135deg, var(--vlxx-gradient-start, #0f2b5c) 0%, var(--vlxx-gradient-end, #c52324) 100%) !important;
	border-bottom-left-radius: 10px !important;
	border-bottom-right-radius: 10px !important;
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
	box-shadow: 0 4px 15px rgba(15, 43, 92, 0.15) !important;
}

/* Live Pulse Animation */
@keyframes pulseLive {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.6;
		transform: scale(0.96);
	}
}

.animate-pulse {
	animation: pulseLive 1.4s infinite ease-in-out;
}

.live-dot {
	width: 8px;
	height: 8px;
	background-color: #ff3110;
	border-radius: 50%;
	display: inline-block;
	animation: pulseLive 1.2s infinite ease-in-out;
}

/* Sidebar Live Dots Group (3 Dots matching Ketqua.vn) */
.live-dots-group {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.live-dots-group .live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: inline-block;
}
.live-dots-group .live-dot.dot-1 {
	background-color: #ff3110;
	animation: dotPulse 1.4s infinite ease-in-out;
}
.live-dots-group .live-dot.dot-2 {
	background-color: #ff7875;
	animation: dotPulse 1.4s infinite ease-in-out 0.2s;
}
.live-dots-group .live-dot.dot-3 {
	background-color: #ffa39e;
	animation: dotPulse 1.4s infinite ease-in-out 0.4s;
}
@keyframes dotPulse {
	0%, 100% {
		opacity: 0.35;
		transform: scale(0.85);
	}
	50% {
		opacity: 1;
		transform: scale(1.15);
	}
}

.snackbar {
	position: fixed !important;
	bottom: 20px !important;
	left: 20px !important;
	width: auto !important;
	max-width: fit-content !important;
	min-height: 40px !important;
	height: 40px !important;
	padding: 4px 6px 4px 10px !important;
	background: rgba(17, 24, 39, 0.94) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	color: #fff !important;
	border-radius: 9999px !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.45), 0 8px 10px -6px rgba(0, 0, 0, 0.3) !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	z-index: 9999 !important;
	font-size: 13px !important;
	line-height: 1 !important;
	transition: all 0.25s ease !important;
	animation: snackbarSlideIn 0.35s ease-out !important;
}

@keyframes snackbarSlideIn {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.snackbar:hover {
	box-shadow: 0 14px 28px -4px rgba(0, 0, 0, 0.55), 0 10px 10px -5px rgba(220, 53, 69, 0.25) !important;
	border-color: rgba(255, 59, 48, 0.4) !important;
}

/* LIVE pulse badge */
.snackbar .live-indicator {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(220, 53, 69, 0.2);
	border: 1px solid rgba(220, 53, 69, 0.45);
	padding: 3px 7px;
	border-radius: 9999px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #ff4d4f;
	line-height: 1;
}

.snackbar .live-dot {
	width: 6px;
	height: 6px;
	background-color: #ff3110;
	border-radius: 50%;
	display: inline-block;
	box-shadow: 0 0 0 0 rgba(255, 49, 16, 0.7);
	animation: snackbarDotPulse 1.5s infinite;
}

@keyframes snackbarDotPulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 49, 16, 0.7);
	}
	70% {
		transform: scale(1.1);
		box-shadow: 0 0 0 6px rgba(255, 49, 16, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 49, 16, 0);
	}
}

/* Text */
.snackbar .live-desc {
	color: #f3f4f6;
	font-size: 13px;
	white-space: nowrap;
	margin: 0;
	font-weight: 500;
}

.snackbar .live-desc strong {
	color: #ffc107;
	font-weight: 700;
}

/* Action button inside pill */
.snackbar .action {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: linear-gradient(135deg, #bb2e28 0%, #e03131 100%) !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	padding: 5px 12px !important;
	border-radius: 9999px !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 2px 6px rgba(187, 46, 40, 0.35) !important;
}

.snackbar .action:hover {
	background: linear-gradient(135deg, #a7231e 0%, #c92a2a 100%) !important;
	color: #fff !important;
	transform: scale(1.04);
}

.snackbar .action i {
	font-size: 9px;
	transition: transform 0.2s ease;
}

.snackbar .action:hover i {
	transform: translateX(2px);
}

/* Close button */
.snackbar .close {
	background: transparent !important;
	border: none !important;
	color: rgba(255, 255, 255, 0.6) !important;
	font-size: 18px !important;
	line-height: 1 !important;
	width: 24px !important;
	height: 24px !important;
	min-width: 24px !important;
	border-radius: 50% !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	padding: 0 !important;
	margin: 0 2px 0 0 !important;
	opacity: 1 !important;
	transition: all 0.15s ease !important;
}

.snackbar .close:hover {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.15) !important;
}

/* Mobile responsive */
@media (max-width: 576px) {
	.snackbar {
		bottom: 12px !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		width: calc(100% - 24px) !important;
		max-width: 360px !important;
		justify-content: space-between !important;
		padding: 4px 6px 4px 10px !important;
	}
	@keyframes snackbarSlideIn {
		from {
			opacity: 0;
			transform: translate(-50%, 15px);
		}
		to {
			opacity: 1;
			transform: translate(-50%, 0);
		}
	}
}

/* Keyword Group Under Footer - 100% Genuine Ketqua.vn SEO Tags */
.keyword-group {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.keyword-group li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.keyword-group li a {
	display: inline-block;
	padding: 3px 10px;
	font-size: 13px;
	line-height: 1.4;
	color: #495057;
	background-color: #f1f3f5;
	border: 1px solid #e9ecef;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.15s ease-in-out;
}

.keyword-group li a:hover {
	color: #bb2e28;
	background-color: #fff;
	border-color: #bb2e28;
	text-decoration: none;
	box-shadow: 0 2px 4px rgba(187, 46, 40, 0.12);
}

/* ==========================================================================
   News Page & Stream Styles (Gọn gàng, Hình nhỏ, Tiêu đề 100% Đậm)
   ========================================================================== */
.news-category-bar {
	gap: 6px;
	border-bottom: 1px solid #ebebeb;
}
.news-cat-link {
	font-size: 14px;
	padding: 4px 12px;
	border-radius: 6px;
	transition: all 0.2s ease;
	color: #495057;
	text-decoration: none;
}
.news-cat-link:hover,
.news-cat-link.active {
	background-color: #fff2f0;
	color: #bb2e28 !important;
	font-weight: 700;
}
.news-stream-list .news-item {
	padding: 12px 8px;
	border-bottom: 1px solid #f0f0f0;
	border-radius: 6px;
	transition: background-color 0.15s ease;
}
.news-stream-list .news-item:last-child {
	border-bottom: none;
}
.news-stream-list .news-item:hover {
	background-color: #fbfbfb;
}
.news-item-thumb {
	width: 110px;
	height: 74px;
	min-width: 110px;
	border-radius: 6px;
	overflow: hidden;
	background-color: #f8f9fa;
	display: block;
}
.news-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 6px;
	transition: transform 0.25s ease;
}
.news-item:hover .news-item-thumb img {
	transform: scale(1.05);
}
.news-item-thumb .thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8f9fa;
	color: #adb5bd;
	border: 1px solid #e9ecef;
	border-radius: 6px;
}
.news-title {
	font-size: 16px;
	line-height: 1.4;
	margin-bottom: 4px;
	font-weight: 700 !important;
}
.news-title a {
	color: #1a1a1a;
	font-weight: 700 !important;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.15s ease;
}
.news-title a:hover {
	color: #bb2e28 !important;
}
.news-meta {
	font-size: 13px;
	color: #6c757d;
	margin-bottom: 4px;
}
.news-excerpt {
	font-size: 13.5px;
	line-height: 1.4;
	color: #666;
	margin-bottom: 0;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 576px) {
	.news-item-thumb {
		width: 90px;
		height: 64px;
		min-width: 90px;
	}
	.news-title {
		font-size: 15px;
	}
	.news-excerpt {
		display: none;
	}
}

/* ==========================================================================
   Vietnamese Datepicker Popover Styling (Chuẩn Lịch Việt Nam - Không Lệch Ngày)
   ========================================================================== */
.daterangepicker {
	border-radius: 10px !important;
	border: 1px solid #e0e0e0 !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
	font-family: inherit !important;
	padding: 10px !important;
	z-index: 9999 !important;
	background: #ffffff !important;
}
.daterangepicker::before,
.daterangepicker::after {
	display: none !important;
}
.daterangepicker .calendar-date,
.daterangepicker .calendar-table {
	background-color: #fff !important;
	border: none !important;
	padding: 4px !important;
}
.daterangepicker table {
	border-collapse: separate !important;
	border-spacing: 2px !important;
	margin: 0 auto !important;
}
.daterangepicker table thead tr:first-child th {
	padding: 6px 4px 10px !important;
}
.daterangepicker th.prev,
.daterangepicker th.next {
	width: 32px !important;
	height: 32px !important;
	border-radius: 50% !important;
	background: #f1f3f5 !important;
	color: #333 !important;
	cursor: pointer !important;
	text-align: center !important;
	line-height: 32px !important;
	transition: background 0.15s ease !important;
}
.daterangepicker th.prev:hover,
.daterangepicker th.next:hover {
	background: #e9ecef !important;
	color: #bb2e28 !important;
}
.daterangepicker select.monthselect,
.daterangepicker select.yearselect {
	padding: 4px 8px !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	border: 1px solid #ced4da !important;
	border-radius: 6px !important;
	background-color: #fff !important;
	color: #212529 !important;
	margin: 0 3px !important;
	outline: none !important;
}
.daterangepicker table thead tr:last-child th {
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #495057 !important;
	padding: 6px 2px !important;
	text-align: center !important;
}
/* Highlight Chủ Nhật (Column 7 when firstDay is Monday) in red */
.daterangepicker table thead tr:last-child th:last-child {
	color: #e03131 !important;
}
.daterangepicker td {
	width: 34px !important;
	height: 34px !important;
	line-height: 34px !important;
	text-align: center !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #212529 !important;
	border: none !important;
	cursor: pointer !important;
	transition: all 0.15s ease !important;
}
.daterangepicker td.available:hover {
	background-color: #ffe8e6 !important;
	color: #bb2e28 !important;
	font-weight: 700 !important;
}
.daterangepicker td.active,
.daterangepicker td.active:hover {
	background-color: #bb2e28 !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	box-shadow: 0 2px 6px rgba(187, 46, 40, 0.35) !important;
}
.daterangepicker td.today {
	border: 1.5px solid #bb2e28 !important;
	font-weight: 700 !important;
	color: #bb2e28 !important;
}
.daterangepicker td.off,
.daterangepicker td.off.in-range,
.daterangepicker td.off.start-date,
.daterangepicker td.off.end-date {
	color: #adb5bd !important;
	background-color: transparent !important;
}
.daterangepicker td.disabled,
.daterangepicker option.disabled {
	color: #dee2e6 !important;
	cursor: not-allowed !important;
	text-decoration: line-through !important;
}
