/* ==========================================================================
   MENU TRÁI - SIDEBAR & DANH MỤC THÔNG TIN (GÓC TRÁI MÀN HÌNH)
   Bao gồm: Tuyển sinh, News (Tin tức), Đăng ký, Thông tin liên hệ
   ========================================================================== */

/* ẨN TOÀN BỘ THANH CUỘN / THANH TRƯỢT TRONG MODAL & POPUP */
.menu-trai-wrapper *,
.menu-trai-drawer,
.menu-trai-modal,
.menu-trai-modal-box,
.menu-trai-modal-body,
.news-reader-body,
.news-detail-modal-box {
	scrollbar-width: none !important;
	-ms-overflow-style: none !important;
}

.menu-trai-wrapper *::-webkit-scrollbar,
.menu-trai-drawer::-webkit-scrollbar,
.menu-trai-modal-box::-webkit-scrollbar,
.menu-trai-modal-body::-webkit-scrollbar,
.news-reader-body::-webkit-scrollbar,
.news-detail-modal-box::-webkit-scrollbar {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}

/* 1. NÚT KÍCH HOẠT MENU TRÁI (FLOATING TRIGGER BUTTON) */
.menu-trai-trigger-btn {
	position: fixed;
	top: 24px;
	left: 24px;
	z-index: 2147483640;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 13px 26px 13px 16px;
	background: rgba(15, 23, 42, 0.88);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1.5px solid rgba(56, 189, 248, 0.45);
	border-radius: 40px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(56, 189, 248, 0.3);
	color: #ffffff;
	cursor: pointer;
	outline: none;
	user-select: none;
	-webkit-user-select: none;
	transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	pointer-events: auto;
}

/* Đảm bảo luôn hiển thị trong chế độ Fullscreen */
:fullscreen .menu-trai-trigger-btn,
:-webkit-full-screen .menu-trai-trigger-btn,
:-moz-full-screen .menu-trai-trigger-btn,
:-ms-fullscreen .menu-trai-trigger-btn,
:fullscreen .menu-trai-wrapper,
:-webkit-full-screen .menu-trai-wrapper,
:-moz-full-screen .menu-trai-wrapper,
:-ms-fullscreen .menu-trai-wrapper {
	position: fixed !important;
	z-index: 2147483647 !important;
}

.menu-trai-trigger-btn:hover {
	transform: scale(1.06) translateY(-2px);
	background: rgba(30, 41, 59, 0.96);
	border-color: #38bdf8;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 28px rgba(56, 189, 248, 0.5);
}

.menu-trai-trigger-btn:active {
	transform: scale(0.96);
}

.menu-trai-trigger-logo-box {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #ffffff;
	padding: 3px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.menu-trai-trigger-logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.menu-trai-hamburger {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 20px;
	height: 14px;
}

.menu-trai-hamburger span {
	display: block;
	height: 2px;
	width: 100%;
	background: #38bdf8;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.menu-trai-trigger-text {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #f8fafc;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Đảm bảo cân đối gọn gàng trên điện thoại di động */
@media (max-width: 768px) {
	.menu-trai-trigger-btn {
		top: 16px;
		left: 16px;
		padding: 8px 16px 8px 10px;
		gap: 8px;
		border-radius: 30px;
		border-width: 1px;
	}
	.menu-trai-trigger-logo-box {
		width: 26px;
		height: 26px;
		border-radius: 6px;
	}
	.menu-trai-trigger-text {
		font-size: 13.5px;
		font-weight: 600;
	}
}

/* 2. LỚP PHỦ NỀN MỜ (BACKDROP OVERLAY) */
.menu-trai-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	z-index: 2147483641;
	opacity: 0;
	visibility: hidden;
	transition: all 0.35s ease;
	pointer-events: none;
}

.menu-trai-backdrop.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* 3. KHUNG SIDEBAR MENU TRÁI (DRAWER PANEL) */
.menu-trai-drawer {
	position: fixed;
	top: 0;
	left: 0;
	width: 350px;
	max-width: 86vw;
	height: 100vh;
	height: 100dvh;
	background: linear-gradient(165deg, rgba(15, 23, 42, 0.96) 0%, rgba(10, 15, 29, 0.98) 100%);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border-right: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 10px 0 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.15);
	z-index: 2147483642;
	transform: translateX(-100%);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: #ffffff;
	user-select: none;
	-webkit-user-select: none;
}

.menu-trai-drawer.active {
	transform: translateX(0);
}

/* Phông nền Watermark chìm (Canadian Aviation College) - Luôn nằm chính giữa tâm */
.menu-trai-watermark {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 290px;
	height: 290px;
	max-width: 85%;
	max-height: 55%;
	background-image: url("../asset/webp/logocanna.webp");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	opacity: 0.1;
	pointer-events: none;
	z-index: 0;
	filter: drop-shadow(0 0 25px rgba(239, 68, 68, 0.45));
	transition: opacity 0.3s ease;
}

/* Header Drawer */
.menu-trai-header {
	position: relative;
	z-index: 1;
	padding: 22px 20px 18px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.02);
}

.menu-trai-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.menu-trai-logo-box {
	width: 50px;
	height: 50px;
	border-radius: 12px;
	background: #ffffff;
	padding: 4px;
	box-sizing: border-box;
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(56, 189, 248, 0.25);
	flex-shrink: 0;
}

.menu-trai-logo-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.menu-trai-brand-text h2 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.5px;
	background: linear-gradient(135deg, #ffffff, #93c5fd);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.menu-trai-brand-text p {
	margin: 2px 0 0 0;
	font-size: 11px;
	color: #94a3b8;
}

.menu-trai-close-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #94a3b8;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	outline: none;
	transition: all 0.25s ease;
}

.menu-trai-close-btn:hover {
	background: rgba(239, 68, 68, 0.2);
	color: #ef4444;
	border-color: rgba(239, 68, 68, 0.4);
	transform: rotate(90deg);
}

/* Danh mục nội dung cuộn (Navigation List) */
.menu-trai-content {
	position: relative;
	z-index: 1;
	flex: 1;
	overflow-y: auto;
	padding: 18px 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.menu-trai-content::-webkit-scrollbar {
	width: 4px;
}

.menu-trai-content::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 4px;
}

/* Thẻ danh mục (Nav Item Card) */
.menu-trai-nav-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.07);
	color: #f1f5f9;
	cursor: pointer;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	text-decoration: none;
	position: relative;
	overflow: hidden;
}

.menu-trai-nav-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 4px;
	height: 100%;
	background: #38bdf8;
	opacity: 0;
	transform: scaleY(0.4);
	transition: all 0.3s ease;
}

.menu-trai-nav-icon {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   HIỆU ỨNG FOCUS KHI LIA CHUỘT: CHỈ ÁP DỤNG TRÊN DESKTOP (MÀN HÌNH >= 1024px)
   TRÊN ĐIỆN THOẠI & TABLET (< 1024px) SẼ TẮT HOÀN TOÀN ĐỂ TRÁNH MỜ CHỮ
   ========================================================================== */
@media screen and (min-width: 1024px) {
	.menu-trai-content:hover .menu-trai-nav-item {
		opacity: 0.42;
		transform: scale(0.96);
		filter: blur(0.4px);
	}

	.menu-trai-content:hover .menu-trai-nav-item:hover {
		opacity: 1;
		transform: scale(1.04) translateX(5px);
		filter: blur(0);
		background: rgba(56, 189, 248, 0.16);
		border-color: rgba(56, 189, 248, 0.5);
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55), 0 0 22px rgba(56, 189, 248, 0.35);
		z-index: 2;
	}

	.menu-trai-content:hover .menu-trai-nav-item:hover::before {
		opacity: 1;
		transform: scaleY(1);
	}

	.menu-trai-content:hover .menu-trai-nav-item:hover .menu-trai-nav-icon {
		transform: scale(1.12);
	}
}

/* Màu sắc riêng cho từng danh mục */
.icon-trangchu {
	background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(2, 132, 199, 0.35));
	border: 1px solid rgba(56, 189, 248, 0.4);
	color: #38bdf8;
}

.icon-tuyensinh {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.3));
	border: 1px solid rgba(16, 185, 129, 0.4);
	color: #34d399;
}

.icon-news {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.3));
	border: 1px solid rgba(59, 130, 246, 0.4);
	color: #60a5fa;
}

.icon-dangky {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.3));
	border: 1px solid rgba(245, 158, 11, 0.4);
	color: #fbbf24;
}

.icon-websites {
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(79, 70, 229, 0.35));
	border: 1px solid rgba(129, 140, 248, 0.4);
	color: #a5b4fc;
}

.icon-lienhe {
	background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(219, 39, 119, 0.3));
	border: 1px solid rgba(236, 72, 153, 0.4);
	color: #f472b6;
}

.menu-trai-nav-info {
	flex: 1;
	min-width: 0;
}

.menu-trai-nav-title {
	font-size: 14.5px;
	font-weight: 600;
	color: #f8fafc;
	margin-bottom: 3px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.menu-trai-nav-badge {
	font-size: 10px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 10px;
	background: #0284c7;
	color: #ffffff;
	letter-spacing: 0.3px;
}

.menu-trai-nav-badge.hot {
	background: #ef4444;
	box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
	animation: pulseHot 2s infinite;
}

.menu-trai-nav-badge.home {
	background: linear-gradient(135deg, #0284c7, #2563eb);
	box-shadow: 0 0 8px rgba(14, 165, 233, 0.4);
}

.menu-trai-nav-badge.web {
	background: linear-gradient(135deg, #6366f1, #4f46e5);
	box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

@keyframes pulseHot {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.75; }
}

.menu-trai-nav-desc {
	font-size: 12px;
	color: #94a3b8;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.menu-trai-nav-arrow {
	color: #64748b;
	font-size: 14px;
	transition: all 0.3s ease;
}

.menu-trai-nav-item:hover .menu-trai-nav-arrow {
	color: #38bdf8;
	transform: translateX(3px);
}

/* Footer Drawer (Hotline & Băng chuyền đối tác) */
.menu-trai-footer {
	position: relative;
	z-index: 1;
	padding: 14px 18px;
	background: rgba(0, 0, 0, 0.35);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* ==========================================================================
   BĂNG CHUYỀN LOGO HỖ TRỢ / ĐỐI TÁC (INFINITE LOGO MARQUEE)
   ========================================================================== */
.menu-trai-partners-box {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}

.menu-trai-partners-label {
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.8px;
	color: #64748b;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 6px;
}

.menu-trai-partners-label::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
}

.menu-trai-carousel-wrapper {
	width: 100%;
	overflow: hidden;
	position: relative;
	padding: 4px 0;
	mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
	-webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.menu-trai-carousel-track {
	display: flex;
	align-items: center;
	gap: 10px;
	width: max-content;
	animation: marqueeSlide 14s linear infinite;
}

.menu-trai-carousel-track:hover {
	animation-play-state: paused;
}

@keyframes marqueeSlide {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-33.333%);
	}
}

.menu-trai-partner-item {
	height: 36px;
	min-width: 90px;
	background: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	padding: 3px 8px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	transition: all 0.25s ease;
	flex-shrink: 0;
	cursor: pointer;
}

.menu-trai-partner-item:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 4px 15px rgba(56, 189, 248, 0.45);
	border-color: #38bdf8;
}

.menu-trai-partner-img {
	max-height: 26px;
	max-width: 84px;
	object-fit: contain;
	display: block;
}

.menu-trai-hotline-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(56, 189, 248, 0.08);
	border: 1px solid rgba(56, 189, 248, 0.2);
}

.menu-trai-hotline-info span {
	display: block;
	font-size: 11px;
	color: #94a3b8;
}

.menu-trai-hotline-info strong {
	font-size: 14px;
	color: #38bdf8;
	font-weight: 700;
}

.menu-trai-call-btn {
	padding: 6px 14px;
	border-radius: 8px;
	background: #0284c7;
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.menu-trai-call-btn:hover {
	background: #0369a1;
	transform: scale(1.05);
}

/* ==========================================================================
   4. MODALS NỘI DUNG CHI TIẾT (TUYỂN SINH, NEWS, ĐĂNG KÝ, LIÊN HỆ)
   ========================================================================== */

.menu-trai-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 2147483645;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.35s ease;
	pointer-events: none;
	padding: 20px;
	box-sizing: border-box;
}

.menu-trai-modal.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.menu-trai-modal-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(5, 10, 20, 0.82);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.menu-trai-modal-box {
	position: relative;
	width: 90vw;
	max-width: 90vw;
	height: 90vh;
	height: 90dvh;
	max-height: 90vh;
	max-height: 90dvh;
	background: linear-gradient(165deg, #111827 0%, #0b1120 100%);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 20px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(56, 189, 248, 0.2);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transform: scale(0.9) translateY(20px);
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	color: #f8fafc;
	z-index: 2;
}

.menu-trai-modal.active .menu-trai-modal-box {
	transform: scale(1) translateY(0);
}

/* Header Modal */
.menu-trai-modal-header {
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.03);
}

.menu-trai-modal-title {
	display: flex;
	align-items: center;
	gap: 12px;
}

.menu-trai-modal-title h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #ffffff;
}

.menu-trai-modal-close {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #cbd5e1;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	outline: none;
	transition: all 0.25s ease;
}

.menu-trai-modal-close:hover {
	background: #ef4444;
	border-color: #ef4444;
	color: #ffffff;
	transform: rotate(90deg);
}

/* Body Modal */
.menu-trai-modal-body {
	padding: 24px;
	overflow-y: auto;
	overflow-x: hidden;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 18px;
	font-size: 14px;
	line-height: 1.6;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.menu-trai-modal-body::-webkit-scrollbar,
.menu-trai-modal-box::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

/* ==========================================================================
   STYLE NỘI DUNG TỪNG MODAL CHI TIẾT
   ========================================================================== */

/* 1. Modal Tuyển Sinh */
.tuyensinh-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	padding: 16px 18px;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tuyensinh-card:hover {
	border-color: rgba(16, 185, 129, 0.4);
	background: rgba(16, 185, 129, 0.06);
	transform: translateY(-2px);
}

.tuyensinh-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.tuyensinh-title {
	font-size: 15px;
	font-weight: 700;
	color: #34d399;
}

.tuyensinh-tag {
	font-size: 11px;
	background: rgba(16, 185, 129, 0.2);
	color: #34d399;
	padding: 3px 8px;
	border-radius: 6px;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.tuyensinh-details {
	font-size: 13px;
	color: #cbd5e1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tuyensinh-btn-apply {
	align-self: flex-start;
	margin-top: 6px;
	padding: 6px 14px;
	border-radius: 8px;
	background: linear-gradient(135deg, #10b981, #059669);
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
}

.tuyensinh-btn-apply:hover {
	transform: scale(1.04);
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   MỐC THỜI GIAN & GẠCH CHÂN CHIA MỤC TIN TỨC / TUYỂN SINH
   ========================================================================== */
.news-timeline-divider {
	position: relative;
	margin: 18px 0 12px 0;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.news-timeline-divider:first-child {
	margin-top: 4px;
}

.news-timeline-milestone {
	flex-shrink: 0;
}

.news-timeline-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(56, 189, 248, 0.15));
	color: #38bdf8;
	border: 1px solid rgba(56, 189, 248, 0.45);
	padding: 5px 14px;
	border-radius: 20px;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 14px rgba(56, 189, 248, 0.2);
}

.news-timeline-badge.tuyensinh-timeline-badge {
	background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(190, 24, 93, 0.15));
	color: #f472b6;
	border-color: rgba(236, 72, 153, 0.45);
	box-shadow: 0 4px 14px rgba(236, 72, 153, 0.2);
}

.news-timeline-line {
	flex: 1;
	height: 2px;
	background: linear-gradient(90deg, rgba(56, 189, 248, 0.6) 0%, rgba(139, 92, 246, 0.35) 50%, rgba(255, 255, 255, 0.05) 100%);
	border-radius: 2px;
}

.news-timeline-line.tuyensinh-timeline-line {
	background: linear-gradient(90deg, rgba(236, 72, 153, 0.6) 0%, rgba(190, 24, 93, 0.35) 50%, rgba(255, 255, 255, 0.05) 100%);
}

/* 2. Modal Tin Tức (News) */
.news-item-card {
	display: flex;
	gap: 16px;
	padding: 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	transition: all 0.3s ease;
	align-items: flex-start;
}

.news-item-card:hover {
	border-color: rgba(59, 130, 246, 0.4);
	background: rgba(59, 130, 246, 0.06);
	transform: translateY(-2px);
}

.news-img-thumb {
	width: 120px;
	height: 85px;
	border-radius: 10px;
	object-fit: cover;
	flex-shrink: 0;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.news-icon-thumb {
	width: 60px;
	height: 60px;
	border-radius: 10px;
	background: linear-gradient(135deg, #1e3a8a, #1e40af);
	color: #60a5fa;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 24px;
}

.news-info {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.news-meta-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}

.news-date {
	font-size: 11px;
	color: #94a3b8;
	font-weight: 500;
}

.news-tag-badge {
	font-size: 10.5px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 6px;
	background: rgba(2, 132, 199, 0.2);
	color: #38bdf8;
	border: 1px solid rgba(56, 189, 248, 0.3);
}

.news-tag-badge.gov {
	background: rgba(220, 38, 38, 0.15);
	color: #f87171;
	border-color: rgba(248, 113, 113, 0.35);
}

.news-title {
	font-size: 14.5px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 6px;
	line-height: 1.4;
}

.news-summary {
	font-size: 12.5px;
	color: #cbd5e1;
	line-height: 1.5;
	margin-bottom: 10px;
}

.news-actions-row {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 4px;
}

.news-btn-readmore {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	background: rgba(56, 189, 248, 0.15);
	border: 1px solid rgba(56, 189, 248, 0.35);
	color: #38bdf8;
	border-radius: 8px;
	font-size: 11.5px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
}

.news-btn-readmore:hover {
	background: #0284c7;
	color: #ffffff;
	transform: scale(1.03);
}

.news-btn-gov {
	background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(185, 28, 28, 0.35));
	border: 1px solid rgba(248, 113, 113, 0.5);
	color: #fca5a5;
}

.news-btn-gov:hover {
	background: linear-gradient(135deg, #dc2626, #b91c1c);
	color: #ffffff;
}

/* 3. Modal Form Đăng Ký */
.dangky-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-group label {
	font-size: 13px;
	font-weight: 600;
	color: #e2e8f0;
}

.form-group label span {
	color: #ef4444;
}

.form-input, .form-select, .form-textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	background: rgba(15, 23, 42, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 10px;
	color: #ffffff;
	font-size: 13.5px;
	outline: none;
	transition: all 0.25s ease;
	font-family: inherit;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
	border-color: #38bdf8;
	box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
	background: rgba(15, 23, 42, 0.95);
}

.form-textarea {
	resize: vertical;
	min-height: 80px;
}

.form-submit-btn {
	padding: 14px;
	border-radius: 12px;
	background: linear-gradient(135deg, #0284c7, #2563eb);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
	margin-top: 6px;
}

.form-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
	background: linear-gradient(135deg, #0369a1, #1d4ed8);
}

.form-submit-btn:active {
	transform: scale(0.98);
}

/* 4. Modal Liên Hệ */
.lienhe-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
}

.lienhe-card {
	padding: 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.lienhe-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(236, 72, 153, 0.15);
	border: 1px solid rgba(236, 72, 153, 0.3);
	color: #f472b6;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.lienhe-info h4 {
	margin: 0 0 4px 0;
	font-size: 14px;
	color: #ffffff;
}

.lienhe-info p {
	margin: 0;
	font-size: 13px;
	color: #94a3b8;
}

.lienhe-info a {
	color: #38bdf8;
	text-decoration: none;
	font-weight: 600;
}

.lienhe-info a:hover {
	text-decoration: underline;
}

/* KHUNG BẢN ĐỒ GOOGLE MAPS TRONG MODAL LIÊN HỆ & TRỤ SỞ (DESKTOP & MOBILE RESPONSIVE) */
.lienhe-map-container {
	position: relative;
	width: 100%;
	height: 250px;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(56, 189, 248, 0.35);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
	background: #090d16;
}

.lienhe-map-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 14px;
}

@media (max-width: 640px) {
	.lienhe-map-container {
		height: 200px;
		border-radius: 12px;
	}
}

/* 5. Modal Danh Sách Website Liên Kết Ngoài */
.websites-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.website-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	transition: all 0.25s ease;
}

.website-card:hover {
	background: rgba(56, 189, 248, 0.08);
	border-color: rgba(56, 189, 248, 0.3);
	transform: translateY(-2px);
}

.website-card-left {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1;
}

.website-icon-badge {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.website-info {
	min-width: 0;
	flex: 1;
}

.website-title-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 2px;
}

.website-title {
	font-size: 14px;
	font-weight: 700;
	color: #f8fafc;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.website-badge {
	font-size: 9.5px;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 6px;
	background: rgba(56, 189, 248, 0.2);
	color: #38bdf8;
	border: 1px solid rgba(56, 189, 248, 0.35);
	flex-shrink: 0;
}

.website-desc {
	font-size: 12px;
	color: #94a3b8;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.website-btn-visit {
	padding: 8px 14px;
	border-radius: 10px;
	background: linear-gradient(135deg, #0284c7, #2563eb);
	color: #ffffff;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.website-btn-visit:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5);
	color: #ffffff;
}

.website-btn-visit.disabled {
	background: rgba(255, 255, 255, 0.08);
	color: #94a3b8;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: none;
	cursor: pointer;
}

/* Toast Thông Báo */
.menu-trai-toast {
	position: fixed;
	top: 30px;
	left: 50%;
	transform: translateX(-50%) translateY(-30px);
	background: rgba(16, 185, 129, 0.95);
	backdrop-filter: blur(12px);
	color: #ffffff;
	padding: 12px 24px;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.5);
	z-index: 2147483647;
	opacity: 0;
	visibility: hidden;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: none;
	display: flex;
	align-items: center;
	gap: 8px;
}

.menu-trai-toast.show {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   5. RESPONSIVE ĐIỆN THOẠI VÀ MÀN HÌNH NHỎ
   ========================================================================== */
@media screen and (max-width: 768px) {
	.menu-trai-trigger-btn {
		top: calc(18px + env(safe-area-inset-top, 0px));
		left: calc(16px + env(safe-area-inset-left, 0px));
		padding: 8px 14px 8px 12px;
	}

	.menu-trai-trigger-text {
		font-size: 12.5px;
	}

	.menu-trai-drawer {
		width: 300px;
	}

	.menu-trai-header {
		padding: 18px 16px 14px 16px;
	}

	.menu-trai-content {
		padding: 14px 12px;
		gap: 10px;
	}

	.menu-trai-modal-box {
		width: 80vw;
		max-width: 80vw;
		max-height: 80vh;
		max-height: 80dvh;
		border-radius: 16px;
	}

	.menu-trai-modal-header {
		padding: 14px 16px;
	}

	.menu-trai-modal-body {
		padding: 16px 14px;
	}

	.news-item-card {
		flex-direction: column;
		gap: 10px;
	}

	.news-icon-thumb {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}

	.lienhe-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   MODAL PHÓNG TO LOGO ĐỐI TÁC (PARTNER LIGHTBOX MODAL)
   ========================================================================== */
.menu-trai-lightbox-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	z-index: 2147483647;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	box-sizing: border-box;
	user-select: none;
	-webkit-user-select: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:fullscreen .menu-trai-lightbox-modal,
:-webkit-full-screen .menu-trai-lightbox-modal,
:-moz-full-screen .menu-trai-lightbox-modal,
:-ms-fullscreen .menu-trai-lightbox-modal {
	position: fixed !important;
	z-index: 2147483647 !important;
	display: flex !important;
}

.menu-trai-lightbox-modal.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.menu-trai-lightbox-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(5, 10, 20, 0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.menu-trai-lightbox-box {
	position: relative;
	width: 440px;
	max-width: 90vw;
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 250, 0.99));
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(56, 189, 248, 0.35);
	padding: 28px 24px 20px 24px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transform: scale(0.85) translateY(18px);
	transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	z-index: 2;
}

.menu-trai-lightbox-modal.active .menu-trai-lightbox-box {
	transform: scale(1) translateY(0);
}

.menu-trai-lightbox-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.08);
	border: 1px solid rgba(15, 23, 42, 0.12);
	color: #475569;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	outline: none;
	transition: all 0.2s ease;
}

.menu-trai-lightbox-close:hover {
	background: #ef4444;
	color: #ffffff;
	border-color: #ef4444;
	transform: rotate(90deg);
}

.menu-trai-lightbox-badge {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.8px;
	color: #0284c7;
	background: rgba(2, 132, 199, 0.1);
	border: 1px solid rgba(2, 132, 199, 0.25);
	padding: 3px 10px;
	border-radius: 20px;
	margin-bottom: 16px;
}

.menu-trai-lightbox-img-wrap {
	width: 100%;
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	box-sizing: border-box;
}

#partner-lightbox-img {
	max-height: 160px;
	max-width: 100%;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.15));
	transition: transform 0.3s ease;
}

#partner-lightbox-img:hover {
	transform: scale(1.05);
}

.menu-trai-lightbox-title {
	margin-top: 14px;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: 0.3px;
}

@media screen and (max-width: 768px) {
	.menu-trai-lightbox-box {
		width: 80vw;
		max-width: 80vw;
		max-height: 80vh;
		max-height: 80dvh;
		padding: 20px 16px;
		border-radius: 16px;
	}
}

/* ==========================================================================
   MODAL ĐỌC BÀI BÁO CHI TIẾT (NEWS READER MODAL POPUP)
   ========================================================================== */
.news-detail-modal-box {
	max-width: 820px !important;
	width: 90vw !important;
	max-height: 88vh !important;
	background: rgba(15, 23, 42, 0.96) !important;
	backdrop-filter: blur(24px) !important;
	border: 1px solid rgba(56, 189, 248, 0.25) !important;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(56, 189, 248, 0.15) !important;
	border-radius: 20px !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
}

.news-reader-body {
	padding: 24px 28px !important;
	overflow-y: auto !important;
	max-height: calc(88vh - 75px) !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #e2e8f0;
	line-height: 1.7;
}

.news-reader-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.news-reader-h1 {
	font-size: 22px;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.4;
	margin: 0 0 14px 0;
	letter-spacing: -0.2px;
}

.news-reader-sapo {
	font-size: 14.5px;
	font-weight: 600;
	color: #93c5fd;
	line-height: 1.6;
	background: rgba(30, 58, 138, 0.25);
	border-left: 4px solid #38bdf8;
	padding: 12px 16px;
	border-radius: 0 10px 10px 0;
	margin-bottom: 20px;
}

.news-reader-figure {
	margin: 20px 0;
	border-radius: 14px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.news-reader-figure img {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
	display: block;
}

.news-reader-figure figcaption {
	padding: 10px 14px;
	font-size: 12.5px;
	color: #cbd5e1;
	font-style: italic;
	text-align: center;
	background: rgba(15, 23, 42, 0.85);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.news-reader-p {
	font-size: 14.5px;
	color: #cbd5e1;
	margin: 0 0 14px 0;
	line-height: 1.75;
	text-align: justify;
}

.news-reader-footer-actions {
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.btn-back-to-news {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #ffffff;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-back-to-news:hover {
	background: rgba(255, 255, 255, 0.18);
	transform: translateX(-2px);
}

