/* Custom Tailwind CSS styles */
body {
  background-image: url('/images/bg-page.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
	font-family:  Roboto,'Open Sans', sans-serif;
}
/* Ensure login modal is properly centered */
.modal-backdrop {
  z-index: 50;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.modal-content {
  z-index: 60;
  background-color: white;
  border-radius: 0.5rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Service button styling */
.service-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.service-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Stats box styling */
.stats-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.stats-title {
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #1e293b;
}

.stats-data {
  display: flex;
  justify-content: space-around;
}

.stats-item {
  text-align: center;
}

.stats-label {
  font-size: 0.875rem;
  color: #64748b;
}

.stats-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1e293b;
}

/* Admin panel styling */
.admin-panel {
  background-color: #f8fafc;
  border-radius: 2.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.admin-panel-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #1e293b;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.admin-table th {
  background-color: #f1f5f9;
  font-weight: bold;
  color: #1e293b;
}

.admin-table tr:hover {
  background-color: #f1f5f9;
}

/* Profile page styling */
.profile-section {
  background-color: #f8fafc;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.profile-header {
  /*display: flex;*/
  align-items: center;
  margin-bottom: 1.5rem;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #64748b;
  margin-right: 1.5rem;
}

.profile-info {
  flex-grow: 1;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.profile-email {
  color: #64748b;
}

.profile-details {
  margin-top: 1.5rem;
}

.profile-field {
  margin-bottom: 1rem;
}

.profile-field-label {
  font-weight: bold;
  margin-bottom: 0.25rem;
  color: #1e293b;
}

.profile-field-value {
  color: #64748b;
}

.ql-editor {
  min-height: 200px;
  max-height: 600px;
  overflow-y: auto;
}
/* style LNLam bắt đầu*/
.bg-body { 
	background-image: url('/images/bg-page.jpg'); 
	background-size:center; 
	background-attachment: fixed ; 
	background-repeat: no-repeat;    
}
.bg-page{  
	background-color: #284069 ; 
	box-shadow: 15px 15px 15px #3e5f75; 
	border: 1px #eee;  
	max-width: 1440px !important;
	border-radius: 1rem ; 
}

@media (max-width: 767px) {
	.bg-page {
			margin-top: 0px;
			margin-bottom: 0px; 
	}
}

.bg-top { 
	background-image: url('/images/bg-top-r.png'); 
	background-repeat: repeat-x;  
	box-shadow: 15px 15px 15px #16233a;  
	border-radius: 1rem ; 
	background-color: #c5c9ca;
	border-bottom: 1px solid #8a8a8a;
 }
.shadow-box{
	box-shadow: 15px 15px 15px #16233a;
}
.shadow-small{
	box-shadow: 5px 5px 5px #d0e1e1;
}
.bo-ra-30{ 
	border-radius: 1rem ;
	 }
.title-box {
	font-family: roboto;
  color: #f4e79f;
  text-shadow: 2px 2px #083986;
  font-size: 1.1em;
}
.title-box:hover { color: #a2f49f ;}
.lead-title{
		font-family: Myriad-Pro;
		font-style: italic;
		color: #144d6b;
}
.bg-box { 
	background-color: #ecebeb;  
}
.bg-box-top { 
	border-radius: 1rem 1rem 0px 0px;
  border-top: 1px solid #38d5f9;
  text-shadow: 1px 2px #0e628c;
  margin: 1px 1px 0px 1px;
  background-color: #005784;
	min-height: 60px;
	padding-left: 1rem;

}
        
.font-roboto {
	font-family: roboto;
}
.font-my-fro {
	font-family: Myriad Pro;
}
.BUTON-STYLE{
    border: 1px #333;
    background-image: url('/images/BG-BUTON.png'); background-repeat: repeat-x;
		background-color: #3ec5de;
    color: #FFF;
    text-shadow: 1PX 1PX 1PX #111;
}
.bg-butoon-style {
	padding:8px 30px;
    font-size: 12px;
    border: 1px #333;
    background-color: #00255b;
    color: #FFF;
    text-shadow: 1PX 1PX 1PX #111;
    border-radius: 2rem;
}
.icon-menu{ 
	margin-right: 20px;
	color: #067cb6;
}
.fonts-20 { 
	font-size: 20px; 
}
.footer { 
	color:#d0cdcd; 
	font-style: italic; 
	border-top: 1px; border-top: 
	dotted 1px #fff;
}
.btn-click {   
	background-image: url('/images/icon-click.png'); 
	background-repeat: no-repeat; 
	width: 32px; 
	height: 32px; 
	font-size: 0px;
}
ul.list-top {
	list-style-type: none;
    padding: 0;
    margin: 0; 
    display: flex; 
}
.mx-05 {
    margin:0px 0.5rem 0px 0.5rem ; 
}
.list-top {
	color: #067cb6;
}
.list-top a {
	text-decoration: none; 
	font-weight: bold; 
}
.list-top a:hover, button:hover{
	color: #34afeb; 
}
.title-color-hot{
	color: #8bfa5f;
}
.bg-marquee {
	background-color: #284069;
}

.title-color-hot:hover { color:#fbfd8a; ;}
.title-color-sky{
	color: #2b92c8;
}
.title-color-navy{
	color: #144d6b;
}
.title-color-coban{
	color: #014a71;
}             
.title-gray {
	color: #6f6f6f;
}
.title-color-coban:hover, .title-gray:hover, .title-color-navy:hover ,.title-color-sky:hover {
	color: #34afeb;
}
.border-bottom-1{
	border-bottom: 1px double #ccc;
}
.vnnSwiper { margin: auto 1px !important;}
.bg-slide{ background-color: #c5d2f2; }
.bg-kibana{ height: 140px; background-image: url('/images/solieu1.png'); background-position: center; background-repeat: no-repeat;  }
.bg-ga4{ height: 140px; background-image: url('/images/solieu2.png'); background-position: center; background-repeat: no-repeat;  }
.paddingtop-01 { padding-top: 0.1px;}   
.border-box-1{border: solid 1px #d4dee5;}  
.btn-chatbot {   
	background-image: url('/images/chatbot-ic.png'); 
	background-repeat: no-repeat; 
	width: 28px; 
	height: 28px; 
	font-size: 0px;
	opacity: 0.8;
}
.btn-service {   
	background-image: url('/images/service-ic.png'); 
	background-repeat: no-repeat; 
	width: 28px; 
	height: 28px; 
	font-size: 0px;
	opacity: 0.8;
}
.btn-data {   
	background-image: url('/images/data-ic.png'); 
	background-repeat: no-repeat; 
	width: 28px; 
	height: 28px; 
	font-size: 0px;
	opacity: 0.8;
}
.btn-security {   
	background-image: url('/images/security-ic.png'); 
	background-repeat: no-repeat; 
	width: 28px; 
	height: 28px; 
	font-size: 0px;
	opacity: 0.8;
}
.btn-news {   
	background-image: url('/images/news-ic.png'); 
	background-repeat: no-repeat; 
	width: 28px; 
	height: 28px; 
	font-size: 0px;
	opacity: 0.8;
}
.btn-calendar{ 
	background-image: url('/images/calendar-ic.png'); 
	background-repeat: no-repeat; 
	width: 28px; 
	height: 28px; 
	font-size: 0px;
	opacity: 0.8;
}
.btn-flower{ 
	background-image: url('/images/flower-ic.png'); 
	background-repeat: no-repeat; 
	width: 28px; 
	height: 28px; 
	font-size: 0px;
	opacity: 0.8;
}
.btn-reward{ 
	background-image: url('/images/reward-ic.png'); 
	background-repeat: no-repeat; 
	width: 28px; 
	height: 28px; 
	font-size: 0px;
	opacity: 0.8;
}
.BUTON-STYLE:hover, .btn-click:hover, .btn-readmore:hover{ cursor: pointer; }
.btn-readmore{
  font-size: 12px;
  width: 100%;
  text-align: center;
  background-color: #f1f1f1;
	padding: auto 5px;
}
.detail-com { 
	font-family: Arial, sans-serif;
  font-size: 10px;
  line-height: 1.6; /* 16px (10px * 1.6) */
  text-align: left; /* Căn đều hai bên */
  letter-spacing: 0.02em; /* Giãn cách chữ tinh tế */
  word-spacing: 0.05em; /* Giãn cách từ */
  color: #333; /* Màu chữ tối ưu đọc lâu */
	max-width: 100%; /* Đặt chiều rộng cho khung chứa */
	overflow: hidden;
  word-wrap: break-word; /* Cho phép xuống dòng khi cần thiết */
  overflow-wrap: break-word; 
}
.des-content { line-height: inherit;}
.detail-com img{ margin: 0px auto;}
.mobile-header .logo{ max-height: 40px;}
.fix-height { height:fit-content ;}
.mt-02 { margin-top: 0.2rem;}
.max-h-slide { max-height: 360px;}
.border-b1 { border-bottom: 1px dotted #999;}
.border-b-0 { border: 0px;}
.max-h-130{ max-height: 130px;}
.max-w-380{ max-width:380px;}
.max-w-300{ max-width:300px;}
.fix-box-service a:nth-child(1) { background-color: #033f6d; color:chartreuse}
.fix-box-service a:nth-child(2) { background-color: #5e1701; color:rgb(126, 124, 255)}
.fix-box-service a:nth-child(3) { background-color: #49025f; color:rgb(225, 243, 65)}
.fix-box-service a:nth-child(4) { background-color: #02531b; color:rgb(243, 108, 142)}
.fix-box-service a:nth-child(5) { background-color: #6d4603; color:rgb(3, 145, 211)}
.fix-box-service a:nth-child(6) { background-color: #023d55; color:rgb(245, 195, 88)}
.fix-box-service a:nth-child(7) { background-color: #742c02; color:rgb(47, 250, 223)}
.fix-box-service a:nth-child(8) { background-color: #554d02; color:rgb(253, 80, 210)}
.fix-box-service a:nth-child(9) { background-color: #b19f00; color:rgb(138, 37, 138)}
.fix-box-service a:nth-child(10) { background-color: #b10058; color:rgb(48, 196, 109)}
.reward-item{ 
	background-image: url('/images/kt-icon.png'); 
	background-repeat: no-repeat; 
	background-position: 1cap 20px;
  background-color: #02a5d7;
  padding: 15px 15px 15px 50px;
  border: 4px solid #95ebff;
	text-align: justify;
	font-weight: 500;
}
.reward-item a.reward-link { color: #d4ff05;}
.group .reward-item:nth-child(2){
  background-position: 1cap 20px;
  background-color: #51f8a5;
  padding: 15px 15px 15px 50px;
  border: 4px solid #40b86e;
}
.group .reward-item:nth-child(2) a.reward-link { color: #2a86ff;}
.group .reward-item:nth-child(3){
  background-position: 1cap 20px;
  background-color: #fce45e;
  padding: 15px 15px 15px 50px;
  border: 4px solid #f8aa02d5;
}
.group .reward-item:nth-child(3) a.reward-link { color: #fd4848;}
.group .reward-item:hover { background-color: #00255b;}
.group .reward-item a.reward-link:hover,.group .reward-item:hover a.reward-link{ color: #fc9037; }
.cate-title { 
	color: #5cc6ff;
  text-shadow: 2px 2px #083986;
}}
.cate-title:hover { color: #fcfa93;}
.document-list h2.text-xl{ color:white; text-shadow: #2769c0 1px 1px;}
.document-content p { color:#292929 ; padding: 5px 0px 5px 0px;;}
.document-content p br { display:none;}
.document-content ol { display:block;}
.document-content ol li {padding: 5px 10px 5px 10px; font-size: small; color: #067cb6; border: 1px solid #067cb6; margin:15px 0px; background-color:palegoldenrod; font-weight: 700; border-radius: 1cap; box-shadow: #067cb6 1cap 1rcap;}
.bg-deepskyblue { background-color:#34afeb; border: 1px solid cornflowerblue;}
.bg-deepskyblue:hover { background-color: deepskyblue;}
.document-content ol li:hover { background-color: #00255b; color: darkorange;}
/* CSS box sinh nhật mới*/
.overlay {
	position: fixed;
	inset: 0;
	background-color: rgba(0,0,0,0.5);
	z-index: 0;
}

.birthday-box {
	width: 100%;
	background:linear-gradient(135deg, rgb(8 49 115 / 90%), rgb(6 39 93 / 90%)), url(/images/cmsn.png);
	background-size: cover;
	background-position: center;
	box-shadow:
		0 10px 30px rgba(212,175,55,0.5),
		0 0 0 5px rgba(212,175,55,0.8);

 /* background-image: url('cmsn.png'); */

	border-radius: 1.5rem;
	box-shadow: 0 10px 30px rgba(0,0,0,0.7);
	text-align: center;
	z-index: 10;
	color: #fcd34d; /* yellow-400 */
	border: 5px solid rgb(59 130 246 / 0.5);
}

.birthday-box p.led-text{
	font-size: 1.75rem;
	font-weight: 900;
	margin-bottom: 1.5rem;
	text-shadow: 0 0 8px #fcd34d, 0 0 20px #fbbf24;
	user-select: none;

}
.bday-title-bg .led-text  span:nth-child(1) {
	color: #bd48ec;
}
.birthday-box p {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 2rem;
	user-select: none;
	color: #e9bc07;
	text-shadow: 0 0 6px #fcd34d80;
}
.birthday-box p.cmsn-text {
	 color: #f5db73;
}

.tags-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	color: #f5db73;
	font-size: 0.8rem;
}
.sup-span { 
	font-size: 0.7rem;
	color: #fff;
}
.neon-tag {
	cursor: pointer;
	user-select: none;
	font-weight: 600;
	padding: 0.375rem 1rem;
	border-radius: 9999px;
	border-width: 1.5px;
	transition: transform 0.2s ease;
}
.neon-tag:hover {
	transform: scale(1.1);
	box-shadow:
		0 0 8px rgba(252, 211, 77, 0.9),
		0 0 20px rgba(252, 211, 77, 0.7);
	color: #00255b;
	background-color:#e9bc07 ;
}
.neon-tag:hover .sup-span {
	color: #04b13e;
}
.today-birthday {
	box-shadow: 0 0 8px rgba(252, 211, 77, 0.9), 0 0 20px rgba(252, 211, 77, 0.7);
	color: #00255b;
	background-color: #e9bc07;
}
.today-birthday .sup-span {
	color: #04b13e;
}
.led-text {
	font-weight: 900;
	text-align: center;
	letter-spacing: 0.1em;
	user-select: none;
	text-transform: uppercase;
	color: white;
	filter: drop-shadow(0 0 6px #fff);
	position: relative;
	font-size: 1.6rem;
}
.led-text span {
	display: inline-block;
	animation: ledGlow 2.5s infinite ease-in-out;
	color: white;
	text-shadow:
		0 0 5px #fff,
		0 0 10px #fff;
}
/* Màu sắc theo từng ký tự với delay animation khác nhau */
.led-text span:nth-child(1) {
	color: #ef4444; /* đỏ */
	text-shadow:
		0 0 8px #ef4444,
		0 0 16px #ef4444;
	animation-delay: 0s;
}
.led-text span:nth-child(2) {
	color: #fbbf24; /* vàng */
	text-shadow:
		0 0 8px #fbbf24,
		0 0 16px #fbbf24;
	animation-delay: 0.2s;
}
.led-text span:nth-child(3) {
	color: #10b981; /* xanh lá */
	text-shadow:
		0 0 8px #10b981,
		0 0 16px #10b981;
	animation-delay: 0.4s;
}
.led-text span:nth-child(4) {
	color: #3b82f6; /* xanh dương */
	text-shadow:
		0 0 8px #3b82f6,
		0 0 16px #3b82f6;
	animation-delay: 0.6s;
}
.led-text span:nth-child(5) {
	color: #8b5cf6; /* tím */
	text-shadow:
		0 0 8px #8b5cf6,
		0 0 16px #8b5cf6;
	animation-delay: 0.8s;
}
.led-text span:nth-child(6) {
	color: #ec4899; /* hồng */
	text-shadow:
		0 0 8px #ec4899,
		0 0 16px #ec4899;
	animation-delay: 1s;
}
.led-text span:nth-child(7) {
	color: #f97316; /* cam */
	text-shadow:
		0 0 8px #f97316,
		0 0 16px #f97316;
	animation-delay: 1.2s;
}
.led-text span:nth-child(8) {
	color: #22d3ee; /* cyan */
	text-shadow:
		0 0 8px #22d3ee,
		0 0 16px #22d3ee;
	animation-delay: 1.4s;
}
.led-text span:nth-child(9) {
	color: #84cc16; /* xanh lá sáng */
	text-shadow:
		0 0 8px #84cc16,
		0 0 16px #84cc16;
	animation-delay: 1.6s;
}
.led-text span:nth-child(10) {
	color: #ef4444; /* đỏ */
	text-shadow:
		0 0 8px #ef4444,
		0 0 16px #ef4444;
	animation-delay: 1.8s;
}
.led-text span:nth-child(11) {
	color: #fbbf24; /* vàng */
	text-shadow:
		0 0 8px #fbbf24,
		0 0 16px #fbbf24;
	animation-delay: 2s;
}
.led-text span:nth-child(12) {
	color: #3b82f6; /* xanh dương */
	text-shadow:
		0 0 8px #3b82f6,
		0 0 16px #3b82f6;
	animation-delay: 2.2s;
}
.led-text span:nth-child(13) {
	color: #ec4899; /* hồng */
	text-shadow:
		0 0 8px #ec4899,
		0 0 16px #ec4899;
	animation-delay: 2.4s;
}
.led-text span:nth-child(14) {
	color: #f97316; /* cam */
	text-shadow:
		0 0 8px #f97316,
		0 0 16px #f97316;
	animation-delay: 2.6s;
}
.led-text span:nth-child(15) {
	color: #10b981; /* xanh lá */
	text-shadow:
		0 0 8px #10b981,
		0 0 16px #10b981;
	animation-delay: 2.8s;
}
.led-text span:nth-child(16) {
	color: #f97316; /* cam */
	text-shadow:
		0 0 8px #f97316,
		0 0 16px #f97316;
	animation-delay: 3.0s;
}
.led-text span:nth-child(17) {
	color: #22d3ee; /* cyan */
	text-shadow:
		0 0 8px #22d3ee,
		0 0 16px #22d3ee;
	animation-delay: 3.2s;
}
.led-text span:nth-child(18) {
	color: #84cc16; /* xanh lá sáng */
	text-shadow:
		0 0 8px #84cc16,
		0 0 16px #84cc16;
	animation-delay: 3.4s;
}
.led-text span:nth-child(19) {
	color: #ef4444; /* đỏ */
	text-shadow:
		0 0 8px #ef4444,
		0 0 16px #ef4444;
	animation-delay: 3.6s;
}
.led-text span:nth-child(20) {
	color: #fbbf24; /* vàng */
	text-shadow:
		0 0 8px #fbbf24,
		0 0 16px #fbbf24;
	animation-delay: 3.8s;
}
 .led-text span:nth-child(21) {
	 color: #ec4899; /* hồng */
	text-shadow:
		0 0 8px #fbbf24,
		0 0 16px #fbbf24;
	animation-delay: 3.8s;
}

@keyframes ledGlow {
	0%, 100% {
		filter: brightness(1);
		opacity: 1;
		text-shadow:
			0 0 8px currentColor,
			0 0 16px currentColor,
			0 0 24px currentColor,
			0 0 32px currentColor;
	}
	50% {
		filter: brightness(0.6);
		opacity: 0.7;
		text-shadow: none;
	}
}
.bday-bg {
	background:linear-gradient(155deg, rgba(250, 250, 250, 0.9), rgba(249, 251, 255, 0.7)), url(/images/bd-bg.png);
	background-size:contain;
	background-position: top;
	background-repeat: no-repeat;
	background-color: #fff;
}
.bd-name { color: #fa7a01;}
.bd-day span { color: #04b13e;}
.led-text2 span {
	display: inline-block;
	animation: ledGlow 2s infinite ease-in-out;
	text-shadow:
		0 0 5px #32ec70,
		0 0 10px #6bf0e9;
}
.mobile-header .list-top li .title-color-navy,.mobile-header .list-top li .BUTON-STYLE{ color: #ac0606;} 

/* Back to Top Button Styling */
  #backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
  }
  #backToTop.show {
    opacity: 0.6;
    pointer-events: auto;
  }
  #backToTop:hover {
    background-color: #222;
    opacity: 0.8;
  }
  /* Mobile adjustments */
  @media (max-width: 600px) {
    #backToTop {
      width: 40px;
      height: 40px;
      font-size: 20px;
      bottom: 16px;
      right: 16px;
    }
  }
/* ẩn hiện box tin*/
.collapse-box {
    overflow: hidden;
  }
  .collapse-header {
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .title-span {
    flex-grow: 1;
    text-overflow: ellipsis;
  }
  .title-icon.expanded {
    max-width: 1000px;
    white-space: normal;
  }
  .collapse-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
		color: #6dd5f5;
  }
  .collapse-icon.rotate {
    transform: rotate(180deg);
  }
  .collapse-content {
    
		max-height: 100%; /* enough space for content */
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
  }
  .collapse-content.close {
    max-height: 0;
		padding-bottom: 3px ;
		margin: 0px;
		display: none;
  }
	
/* Xem thêm rut gọn box*/
.content-ex-container {
   
    width: 100%;
    max-width: 600px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    padding: 20px 24px;

    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    transition: max-height 0.5s ease;
    max-height: 280px; /* Collapsed height */
  }

  .content-ex-container.expanded {
    max-height: 2000px; /* large enough to show all content */
  }

  .content-ex-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
  }

  /* Fade overlay for bottom fade-out effect */
  .fade-overlay {
    pointer-events: none;
    position: absolute;
    bottom: 0px; /* space to above the button */
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,3));
    border-radius: 0 0 12px 12px;
    transition: opacity 0.1s ease;
  }

  .content-ex-container.expanded .fade-overlay {
    opacity: 0;
    visibility: hidden;
  }
.toggle-bottom {
 		position:   absolute; 
    bottom:-15px;
    text-align: center;
		width: 100%;
}
  .toggle-button {
    display: inline-block;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #6bd2ff, #0668cd);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 5px 40px;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(107, 115, 255, 0.4);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
		opacity: 0.9;
  }
	.ph-form {
    display: inline-block;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #23a502, #1a5c00);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 5px 8px;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(1, 78, 14, 0.4);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
		opacity: 0.9;
  }
  .toggle-button:hover {
    background: linear-gradient(135deg, #0668cd, #02478f);
    box-shadow: 0 10px 20px rgba(0,13,255,0.6);
  }
	.ph-form:hover {
		background: linear-gradient(135deg, #1f8f02, #134400);
		box-shadow: 0 10px 20px rgba(0, 90, 10, 0.6);
	}
.bc-link{  color: #036323; margin-left:5px;   }
.bc-link:hover{ color: #f7911c;}
.bg-binhchon { border: solid 5px #f7911c; background-color: #062b19;}
.bg-box-binhchon{ background-color: #f1de9c;}
.bc-minwidth { min-width: 170px;}
.mh-375 { max-height: 325px;}
.mh-1010 { max-height: 880px;}
.mh-1010 .bc-link { font-size: 12px;}
.bc-image { border-radius: 20px;}
.bc-name {color: #f76a35;}
.bc-title { color: #e7ad2f;}
.bg-binhchon { border: solid 5px #f7911c; background-color: #08341d;}
.content-ex-container.bc-container{ background-color: #08341d; padding: 0 1rem 0 1rem ; }
.fade-overlay.bc-fade { height: 80px; background: linear-gradient(to bottom, rgba(234, 229, 161, 0.5), rgb(6, 117, 55)); }
.toggle-button.bc-button{background: linear-gradient(135deg, #49a31f, #048d21); }
.toggle-button.bc-button:hover {background: linear-gradient(135deg, #e7aa27, #8d7804); color: #b10058;}
.bc-laddingpage { background-color: #08341d; } 
.vote-choice { background-color: #f1de9c;}
.vote-choice:hover { background-color:#285712 ;}
.vote-des { font-size: 13px ; color: #828ea5;}
.vote-url { font-size: 13px; color: #036323; font-style: italic;}
.vote-choice:hover .vote-url,.vote-url:hover { color: #fa5c5c;}
.vote-choice:hover .bc-name { color: #f74c8e;}
.min-h-500 { min-height: 500px;}
.bg-box-top-hot {
  border-radius: 1rem 1rem 0px 0px;
  border-top: 2px #eee;
  margin: 1px 1px 0px 1px;
  background: linear-gradient(135deg, #79e347, #0a4617);
}
.bo-ra-30 .bg-yellow-100{border-radius: 1rem; }

/* style LNLam kết thúc*/
@keyframes shimmer {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 100% 0;
  }
}

.shimmer {
  background: linear-gradient(to right, #e0e0e0 0%, #f5f5f5 20%, #e0e0e0 40%, #e0e0e0 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite linear;
}
.document-content a::before {
	content: '📥';
}
.tag-link {
	transition: transform 0.2s ease-in-out;
	display: inline-block;
}
.tag-link:hover {
	transform: scale(1.3);
}

.ql-video-wrapper {
  display: flex;
  justify-content: center;
  margin: 1em 0;
}
/*
.ql-video-wrapper {
  display: flex;
  justify-content: center;
  margin: 1em 0;
}

.ql-video-inner {
  position: relative;
  width: 100%;
  max-width: 640px;
  padding-bottom: 56.25%; 
  height: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .ql-video-inner {
    padding-bottom: 42.55%;
  }
}

.ql-video-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
*/

.ql-video-mp4-inner {
  position: relative;
  width: 100%;
  max-width: 640px;
  padding-bottom: 36.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  margin: 1rem auto 0.2rem auto; 
}

.ql-video-mp4-inner video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ql-custom-image {
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

.ql-custom-image img {
  max-width: 100%;
  border-radius: 0.5rem;
  margin: auto auto;
}

.ql-custom-caption {
  text-align: center;
  color: #6B7280;          
  margin-top: -1rem !important;
	font-style: italic;
}

/* style cho editor xuất front-end*/
.ql-align-center {
    text-align: center;
		font-size: 1rem;
  	color: #4C5B67;
}
/* end style cho editor xuất front-end*/