/*
Theme Name: Dung Than Cai Van
Author: Team Zidan
Description: Dung Than Cai Van
*/
html.wp-toolbar {
  padding-top: 0 !important;
}
#wpadminbar {
  display: none !important;
}
.form-contain.battu-login {
    max-width: 500px;
    margin: 0 auto;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html{margin: 0 !important;}
body {
	font-family: "Inter", sans-serif;
	min-height: 100vh;
	position: relative;
}
.page-id-76 .form-section{
	min-height: auto;
}
.lougout-account{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    padding: 10px;
    background: rgba(51,51,51,0.3);
    left: 0;
}
.lougout-account ul{
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
}
.lougout-account li{
    color: #f4c66d;
    font-size: 18px;
}
.lougout-account li a{
    color: #fff;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: .3s;
}
.lougout-account li a:hover{
    color: #f4c66d;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}

.form-section{
	padding: 40px;
	height: 100vh;
	background: url('/wp-content/uploads/2025/10/bg-form.jpg') no-repeat center;
	background-size: cover;
	position: relative;
	min-height: 1180px;
}

.form-section .container{
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translatey(-50%);
	max-width: 1300px;
}

.header {
	text-align: center;
	position: relative;
	overflow: hidden;
	margin-bottom: 40px;
}

.header > * {
	position: relative;
	z-index: 1;
}
.head-logo {
	width: 250px;
	margin: 0 auto 20px;
}
.header h1 {
	font-size: 2.8em;
	margin-bottom: 15px;
	font-weight: bold;
	color: #f4c66d;
	line-height: 1.6;
	text-transform: uppercase;
}

.header p {
	font-size: 1.3em;
	color: #f4c66d;
}

.form-contain {
	padding: 30px;
	background: rgb(0 61 46 / 95%);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	position: relative;
	z-index: 99;
}

.form-contain > * {
	position: relative;
	z-index: 1;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-bottom: 30px;
}

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

.form-group label {
	font-weight: 600;
	margin-bottom: 8px;
	color: #8b4513;
	font-size: 1.1em;
}

.form-group input, .form-group select {
	padding: 15px;
	border: 0;
	border-bottom: 2px solid #f4c66d;
	border-radius: 5px;
	transition: all 0.3s;
	background: transparent;
	color: #f4c66d;
	font-size: 18px;
	font-weight: 500;
	transition: .3s;
}

.form-group input:focus{
	outline: none;
	color: #fff;
}

.form-group select:focus {
	outline: none;
}

.form-group input:focus::placeholder{
	color: #fff;
	text-indent: 5px;
}
.form-group input::placeholder, .form-group select::placeholder {
	color: #f4c66d;
	transition: .3s;
}
.form-group select:focus{
	color: #ddae52;
}
.btn-analyze {
	background: #003125;
	color: #f4c66d;
	border: 0;
	padding: 20px 40px;
	border-radius: 15px;
	font-size: 1.6em;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	width: 100%;
	margin-top: 25px;
	box-shadow: 0px 3px 10px rgb(255 233 189 / 54%);
	position: relative;
	overflow: hidden;
}

.btn-analyze::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), transparent);
	transition: left 0.5s;
}

.btn-analyze:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 25px rgba(139, 69, 19, 0.4);
}

.btn-analyze:hover::before {
	left: 100%;
}

.btn-analyze:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}.main-section{
	background: url(/wp-content/uploads/2025/10/Footer.png) no-repeat;
	background-size: cover;
	background-position: top center;
	background-attachment: fixed;
	position: relative;
	z-index: 1;
}
.main-section .form-contain{
	display: none;
}
#results .result-section{
	margin-top: 70px;
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator{
	filter: invert(1);
	cursor: pointer;
}
input[type="date"]::-webkit-datetime-edit { color: transparent; } /* Ẩn text mặc định */
input[type="date"]::before {
  content: attr(data-date);
  color: #f4c66d;
  position: absolute;
  left: 10px;
}


.form-group.hidden{
	/* 	display: none; */
}

.form-group{
	position: relative;
}
/* Input cÆ¡ báº£n */
.form-group input[type="time"],
.form-group input[type="date"]{
	color: transparent;
}
.form-group input[type="time"]:focus,
.form-group input[type="date"]:focus{
	color: #f4c66d;
}
/* Label Ä‘Ã¨ lÃªn input */
.form-group label {
	position: absolute;
	bottom: 15px;
	left: 15px;
	color: #f4c66d;
	transition: 0.2s ease all;
	pointer-events: none; /* Ä‘á»ƒ click xuyÃªn qua label */
}

/* Khi input Ä‘Æ°á»£c focus hoáº·c cÃ³ ná»™i dung thÃ¬ label sáº½ áº©n hoáº·c di chuyá»ƒn */
.form-group input[type="date"]:focus + label,
.form-group input[type="time"]:focus + label,
.is-picker.focused label,
.is-picker.filled label{
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
}
.is-picker.focused input,
.is-picker.filled input{
	color: #f4c66d;
}




.loading {
	text-align: center;
	padding: 40px;
	display: none;
}

.spinner {
	border: 4px solid #f3f3f3;
	border-top: 4px solid #667eea;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
	margin: 0 auto 20px;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.results {
	display: none;
}
#lasobattu,#thapthan,#hsbt{
	display: none;
}
#lasobattu.active{
	display: block;
}
#thapthan{margin-top: 90px}
.result-section {
	background: #003729;
	border-radius: 15px;
	padding: 25px;
	margin-bottom: 50px;
	box-shadow: 0 3px 15px rgb(255 255 255 / 40%);
	border: 3px solid #f4c66d;
}
.result-title {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 15px;
	border-bottom: 2px solid #f4c66d;
	padding-bottom: 10px;
	align-items: flex-end;
}
.result-section h3 {
	color: #f4c66d;
	font-size: 1.8em;
	margin: 0;
}

.result-content {
	line-height: 1.6;
	color: #fff;
	font-size: 16px;
}

.highlight {
	background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
	padding: 15px;
	border-radius: 8px;
	margin: 10px 0;
	border-left: 4px solid #667eea;
}

.error {
	background: #fee;
	color: #c33;
	padding: 15px;
	border-radius: 8px;
	border-left: 4px solid #c33;
	margin: 20px 0;
}

.success {
	background: #efe;
	color: #363;
	padding: 15px;
	border-radius: 8px;
	border-left: 4px solid #363;
	margin: 20px 0;
}
@media(max-width: 768px){
	.container{
		padding: 0;
	}
	.head-logo{
		width: 150px;
	}
	.header{
		margin-bottom: 0;
	}
	.result-section h3{
		font-size: 1.4em;
	}
	#thapthan{margin-top: 60px}
}
/***-------------------------**/
.daivan-table table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.daivan-table th {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 12px;
	border: 1px solid #ddd;
	text-align: center;
	font-weight: 600;
}

.daivan-table td {
	padding: 10px 12px;
	border: 1px solid #ddd;
	text-align: center;
}

.daivan-table tr:nth-child(even) {
	background-color: #f8f9fa;
}

.daivan-table tr:hover {
	background-color: #e3f2fd;
}

.active-year {
	background-color: #fff3cd !important;
	border-left: 4px solid #ffc107 !important;
	font-weight: 600;
}

.active-year td {
	color: #856404;
}

.nienvan-info {
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 15px;
	margin: 10px 0;
	font-family: monospace;
	font-size: 14px;
	max-height: 300px;
	overflow-y: auto;
}

/* Gioi thieu */

.result-section.gioi-thieu {
	padding: 50px;
	text-align: center;
}

.result-section.gioi-thieu p {
	text-align: center;
	font-size: 20px;
}

.result-section.gioi-thieu h3 {
	border: 0;
	margin-bottom: 20px;
}

.btn-analyze{
	max-width: 600px;
	margin: 0 auto;
	display: block;
	text-transform: uppercase;
}
.part-section{
	margin-bottom: 70px;
}
.part-section .part-head{
	text-align: center;
	margin-bottom: 15px;
	color: #f4c66d;
}
h1,h2,h3,h4,h5{
	font-family: "Noto Serif", serif;
}
.part-intro{
	text-align: center;
	color: #f4c66d;
	/* font-size: 1rem; */
	width: 850px;
	max-width: 100%;
	margin: 0 auto;
	margin-bottom: 50px;
}
.part-contain{
	margin-bottom: 40px;
}
.part-title{
	text-align: center;
	color: #f4c66d;
	margin-bottom: 20px;
	font-size: 26px;
	font-family: "Noto Serif", serif;
	letter-spacing: 1px;
}

.flex{
	display: flex;
	flex-wrap: wrap;
}
.part-steps .flex{
	justify-content: center;
	margin-top: 30px;
}
.part-steps .step{
	width: 90%;
	margin-bottom:20px;
}
.part-steps>p {text-align: center;color: #f4c66d;}

.part-explain {
    color: #f4c66d;
    border: 1px solid;
    padding: 20px;
    border-radius: 10px;
}

.part-explain h4 {
    letter-spacing: 1px;
    border-bottom: 1px solid;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-size: 24px;
}

.part-explain_head p {}

.part-explain_head {
    margin-bottom: 30px;
}

.part-explain_item h5 {
    font-size: 20px;
    margin-bottom: 15px;
}

.part-explain_item ul {
    margin-left: 25px;
}

.part-explain_item {
    margin-bottom: 20px;
}

.part-explain_item li {
    margin-bottom: 10px;
}

.part-boibo_duytri ul {
    margin-left: 15px;
}

.part-boibo_duytri ul li {
    margin-bottom: 10px;
}
.part-steps .step h5{
	margin-bottom: 15px;
	color: #003d2e;
}
.part-list.flex{
	gap: 20px;
	justify-content: flex-start;
}
.part-contain>p{
	text-align: center;
	color: #f4c66d;
	/* font-size: 17px; */
	margin-bottom: 20px;
	padding: 0 30px;
}

.part-list_item{
	width: calc(25% - 60px / 4);
	background: #fff7e7;
	color: #003d2e;
	padding: 20px 17px 15px;
	position: relative;
	z-index: 5;
	overflow: hidden;
	border-radius: 0 5px 25px 5px;
	border: 2px solid #f4c66d;
	box-shadow: 0 3px 5px rgb(244 198 109 / 50%);
}
.part-list_item::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	border-top: 30px solid #003d2e;
	border-left: 30px solid #003d2e;
	border-bottom: 30px solid transparent;
	border-right: 30px solid transparent;
	z-index: 1;
}
.part-list_num{
	position: absolute;
	left: 4px;
	top: 4px;
	border-radius: 50px;
	color: #f4c66d;
	font-size: 18px;
	font-weight: bold;
	z-index: 2;
}

.part-list_item p{
	text-align: center;
	/* font-size: 18px; */
	margin-top: 15px;
	margin-bottom: 0;
	text-transform: capitalize;
}
@media(max-width: 768px){
	.part-boibo_duytri ul{
		margin-left: 0;
	}
	.part-boibo_duytri ul ul{
		margin-left: 10px;
	}
	.part-list.flex{
		gap: 30px 4%;
	}
	.part-list_item{
		width: 48%;
	}
	.result-section.gioi-thieu{
		padding: 20px;
	}
	.part-section .part-head, .part-title{
		font-size: 1.4em;
		line-height: 1.5;
	}
	.part-intro{
		margin-bottom: 25px;
	}
	.result-section.gioi-thieu p {
		font-size: 16px;
		margin-bottom: 10px;
	}
	.part-intro{
		font-size: 15px;
	}
	.part-contain>p{
		font-size: 15px;
	}
	.part-list_item p{
		font-size: 16px;
	}
}
/* Tu tru menh ban */

.pxg_geofesh_lasotutru{
	border-spacing: 0;
	margin: 0;
	border-left: 1px solid #f9d07b;
	border-top: 1px solid #f9d07b;
	border-radius: 10px;
}
.pxg_geofesh_lasotutru td {
	border-right: 1px solid #f9d07b;
	border-bottom: 1px solid #f9d07b;
	vertical-align: middle;
}
#lasobattu .head,#lasobattu .head_cols{
	font-size: 16px !important;
}
.pxg_geofesh_lasotutru td {
	text-align: center;
	color: #222;
}

.pxg_geofesh_lasotutru td{
	padding: 8px;
}
#laso_thansat .pxg_bl {
	position: relative;
}
#laso_battu p{
	margin-bottom: 0;
}
#laso_battu p{
	margin-bottom: 10px;
}
#laso_battu p:last-child{
	margin-bottom: 0;
}
.bbot1.bb1.pxg_bl {
	padding: 10px 5px;
}

#laso_thansat .text-center.day.nopad{
	padding: 10px 5px !important;
}
._pxg_relative {
	position: relative;
	display: block;
	cursor: pointer;
}
._pxg_relative ._tooltip {
	visibility: hidden;
	width: 420px;
	background-color: #fff3cd;
	color: #003d2e;
	text-align: center;
	border-radius: 6px;
	padding: 5px;
	position: absolute;
	z-index: 1;
	bottom: 125%;
	left: 50%;
	transform: translatex(-50%);
	opacity: 0;
	transition: opacity 0.3s;
	border: 1px solid #003d2e;
}
._pxg_relative:hover ._tooltip {
	visibility: visible;
	opacity: 1;
}
._pxg_relative ._tooltip._tooltip_small{
	transform: none;
	right: 0;
	left: auto;
	width: 250px;
}

#nguhanhmenh .table-responsive{
	width: 80%;
	margin: 0 auto;
	margin-bottom: 50px;
	border-left: 1px solid #444;
	border-top: 1px solid #444;
	border-spacing: 0;
}
#nguhanhmenh .table-responsive td {
	padding: 10px;
	font-size: 16px !important;
	border-right: 1px solid #444;
	border-bottom: 1px solid #444;
	vertical-align: middle;
	text-align: center;
	width: 20%;
}
#nguhanhmenh .table-responsive td:nth-child(1){
	width: 15%;
}
#nguhanhmenh .table-responsive td:nth-child(2){
	width: 25%;
}

#nguhanhmenh .table-responsive td p{
	margin-bottom: 0;
}
#laso_battu p{
	margin-bottom: 10px;
}
#laso_battu p:last-child{
	margin-bottom: 0;
}
.bbot1.bb1.pxg_bl {
	padding: 10px 5px;
}
#laso_thansat .text-center.nopad{
	padding: 10px 5px !important;
}

.lasobattu-title{
	text-align: center;
	font-size: 24px;
	text-transform: uppercase;
	font-weight: bold;
	margin-bottom: 0;
	font-family: "Noto Serif", serif;
	color: #f9d07b;
	letter-spacing: 1px;
	margin-bottom: 20px;
}
#lasobattu .lasobattu_table {
	background: #fff7e7;
	margin-bottom: 50px;
	border-radius: 16px;

} 
#lasobattu .lasobattu_table td{
	color: #003d2e;
}
#lasobattu .head_cols{
	padding-left: 15px;
}
#lasobattu .boibovanmenh td.head_cols:first-child {
	width: 15%;
}
#lasobattu.p-vpkhccv .boibovanmenh td.head_cols:first-child{
	width: 30%;
}
.result-section.gioi-thieu p strong{
	color: #f9d07b;
}
.part-boibo_duytri{
	color: #f9d07b;
	padding: 0 25px;
}
.part-boibo_duytri h4{
	text-align: center;
	margin-bottom: 20px;
	letter-spacing: 0.5px;
}
.part-boibo_duytri ol{
	margin-left: 40px;
}
.part-boibo_duytri ol li{
	padding-left: 5px;
}

@media(max-width: 768px){
	#lasobattu .head_cols{
		padding: 5px;
	}
	#lasobattu .head, #lasobattu .head_cols {
		font-size: 14px !important;
	}
	#lasobattu.p-vpkhccv{
		overflow: auto;
	}
	#lasobattu.p-vpkhccv .boibovanmenh td.head_cols:first-child{
		width: 33%;
	}
	#lasobattu.p-vpkhccv .lasobattu_table{
		min-width: 650px;
		margin: 10px 0 40px;
	}
	.part-boibo_duytri ol{
		margin-left: 20px;
	}
	.part-boibo_duytri{
		padding: 0;
	}
	.part-boibo_duytri ol li{
		padding-left: 0;
	}
}

/* Dung than khuyen dung */

#dungthanmenh{
	color: #f9d07b;
}
.dungthanmenh_top{
	margin-bottom: 40px;
}
.nguhanhmenh_head{
	margin-bottom: 40px;
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
	gap: 30px;
}
.nguhanhmenh_head h4{
	font-size: 26px;
	letter-spacing: 1px;
	margin-bottom: 15px;
}
.nguhanhmenh_head-text{
	flex: 1;
}
.nguhanhmenh_head-img{
	width: 500px;
}
.nguhanhmenh_head-img img{
	width: 100%;
	display: block;
}
.nguhanhmenh_content-list{
	margin-bottom: 35px;
	position: relative;
}
.nguhanhmenh_content-list h5{
	font-size: 22px;
	text-transform: capitalize;
	letter-spacing: 0.5px;
	margin-bottom: 20px;
}
.nguhanhmenh_content-list p{
	margin-bottom: 10px;
}
.nguhanhmenh_content-list ul{
    margin-left: 30px;
}
.nguhanhmenh_content-list li{
    margin-bottom: 10px;
}

.dungthanmenh_listimg {
	max-width: 1170px;
	margin: 50px auto 100px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding: 20px;
}
@media(max-width: 1024px){
	.nguhanhmenh_head-img{
		width: 300px;
	}
}
@media(max-width: 680px){
	.nguhanhmenh_head{
		flex-wrap: wrap;
	}
	.dungthanmenh_listimg{
		padding: 0;
	}
	.nguhanhmenh_head-img,
	.nguhanhmenh_head-text{
		width: 100%;
		order: 1;
	}
	.nguhanhmenh_head-text{
		order: 2;
	}
	.nguhanhmenh_head h4{
		font-size: 20px;
	}
	.nguhanhmenh_content-list h5{
		font-size: 18px;
	}
	.nguhanhmenh_content-list p{
		font-size: 15px;
	}
	.nguhanhmenh_head{
		flex-direction: column-reverse;
	}
}
/* Item chung */
.dungthanmenh_listimg-item {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 1 / 1; /* ðŸ‘ˆ Giá»¯ hÃ¬nh vuÃ´ng */
}

/* HÃ¬nh áº£nh bÃªn trong */
.dungthanmenh_listimg-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	transition: transform 0.3s ease;
}

.dungthanmenh_listimg-item:hover img {
	transform: scale(1.05);
}

/* ðŸ”¸ HÃ¬nh Ä‘áº·c biá»‡t */
.dungthanmenh_listimg-item:nth-child(1),
.dungthanmenh_listimg-item:nth-child(8) {
	grid-column: span 2;
	grid-row: span 2;
	aspect-ratio: 1 / 1; /* váº«n vuÃ´ng */
}

.dungthanmenh_listimg-item:nth-child(15) {
	grid-column: span 2;
	grid-row: span 1;
	aspect-ratio: 2 / 1; /* ðŸ‘ˆ ngang 2 cá»™t, tháº¥p hÆ¡n */
}

/* --- Responsive tablet --- */
@media (max-width: 992px) {
	.dungthanmenh_listimg {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.dungthanmenh_listimg-item:nth-child(1),
	.dungthanmenh_listimg-item:nth-child(8){
		grid-column: span 2;
		grid-row: span 2;
		aspect-ratio: 1 / 1;
	}
	.dungthanmenh_listimg-item:nth-child(15){
		grid-column: span 2;
		grid-row: span 1;
		aspect-ratio: 2 / 1;
	}
}

/* --- Responsive mobile --- */
@media (max-width: 600px) {
	.dungthanmenh_listimg {
		gap: 10px;
	}

	.dungthanmenh_listimg-item {
		aspect-ratio: 1 / 1;
	}
}

.dungthanmenh_top {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	max-width: 1170px;
	margin: 40px auto;
}

.dungthanmenh_top p {
	background: #fff;
	padding: 20px 25px;
	border-radius: 15px;
	box-shadow: 0 3px 10px rgba(0,0,0,0.3);
	font-size: 1.1rem;
	color: #333;
}

.dungthanmenh_top p strong { display: block; font-size: 1rem; color: #003d2e; }

.dungthanmenh_top p span { font-weight: 700; font-size: 1.3rem;  color: #003d2e;}

.lasobattu_table {
	max-width: 1170px;
	margin: 60px auto;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.nguhanhmenh_content {
	border: 3px dashed;
	padding: 30px 20px 0;
	border-radius: 20px;
	background: rgb(0 0 0 / 15%);
}

.part-boibo_flex{
	margin-bottom: 70px;
}
.part-boibo_text{
	width: 100%;
    margin-bottom: 40px;
}
.part-boibo_text p{
	/* font-size: 18px; */
	color: #f4c66d;
	display: block;
	line-height: 1.6;
	text-align: left;
	letter-spacing: 1px;
	margin-bottom: 20px;
}
.part-boibo_table{
	width: 65%;
	margin: 0 auto;
}
#lasobattu.part-boibo_table .lasobattu_table{
	margin: 0;
}
@media(max-width: 1024px){

	.p-vpkhccv{
		width: 100%;
	}
	.part-boibo_text{
		width: 100%;
		flex-wrap: wrap;
		gap: 20px;
		margin-bottom: 30px;
	}
	.part-boibo_text p{
		width: 100%;
		padding: 10px 20px 5px 10px;
		margin-bottom: 0;
		font-size: 16px;
	}

	.part-boibo_text p br {
		display: none; /* khÃ´ng cho xuá»‘ng dÃ²ng */
	}
	.part-boibo_text p span{
		display: inline-block;
	}
}
/* Báº£ng chÃ­nh */
.lasobattu_table table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: white;
	border-radius: 16px;
	overflow: hidden;
}

/* Ã” dá»¯ liá»‡u */
.lasobattu_table td {
	padding: 14px 10px;
	border: -1px solid rgba(249, 208, 123, 0.4);
	color: #3b2b0b;
	text-align: center;
	vertical-align: middle;
	transition: background 0.25s ease;
}

/* Hover tinh táº¿ */
.lasobattu_table td:hover {
	background: rgba(249, 208, 123, 0.08);
}

/* TiÃªu Ä‘á» chÃ­nh */
.lasobattu_table .head {
	background: #f9d07b;
	color: #2a1c00;
	font-size: 1.3rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	border: none;
	padding: 18px 0;
	border-bottom: 3px solid #eac15e;
}

/* TiÃªu Ä‘á» nhÃ³m (NÄƒm / ThÃ¡ng / NgÃ y / Giá») */
.lasobattu_table .head_cols {
	background: #fffaf0;
	color: #003d2e;
	font-weight: 600;
	border-bottom: 2px solid #f9d07b;
}

/* Cá»™t Ä‘áº§u tiÃªn cá»§a má»—i hÃ ng */
.lasobattu_table td.head_cols:first-child {
	background: #fef8e3;
	font-weight: 700;
	color: #003d2e;
	text-align: left;
	padding-left: 14px;
	border-right: 3px solid #f9d07b;
	text-transform: uppercase;
}

/* DÃ²ng xen káº½ */
.lasobattu_table tr:nth-child(even) td {
	background-color: #fffdf8;
}

/* ÄÆ°á»ng phÃ¢n chia 4 trá»¥ */
.lasobattu_table tr:nth-child(2),
.lasobattu_table tr:nth-child(5),
.lasobattu_table tr:nth-child(8),
.lasobattu_table tr:nth-child(11) {
	border-left: 2px solid #f9d07b;
}

/* Tooltip */
._tooltip {
	background: #3b2b0b;
	color: #fff7db;
	padding: 6px 10px;
	border-radius: 8px;
	font-size: 13px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}


/* Responsive */
@media (max-width: 1024px) {
	.lasobattu_table{
		overflow: auto;
	}
	.p-vpkhccv .lasobattu_table{
		min-width: 700px;
	}
	.lasobattu_table td.head_cols:first-child{
		width: 20%;
	}
	.pxg_geofesh_lasotutru.table-responsive:not(.boibovanmenh){
		width: 900px !important;
	}
}
@media (max-width: 768px) {
	.p-vpkhccv .lasobattu_table{
		min-width: 500px !important;
	}
	.lasobattu_table td {
		padding: 8px 5px;
		font-size: 13px;
	}
	.lasobattu_table .head {
		font-size: 1rem;
	}
	.lasobattu_table td {
		font-size: 12px !important;
	}
}


.slthank {
    color: #f9d07b;
    margin: 60px 0;
    padding: 90px 166px 130px;
    background-image: url('images/bg5.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.16);
}

.slthank h3 {
    letter-spacing: 1px;
    font-size: 34px;
    margin-bottom: 45px;
    text-align: center;
}

.slthank p {
    /* font-size: 16px; */
    margin-bottom: 12px;
}

.slthank ul {
    margin-left: 25px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.slthank li {
    margin-bottom: 10px;
}

.rec_product {
    color: #f9d07b;
}

.rec_product-intro h3 {
    letter-spacing: 1px;
    font-size: 28px;
    margin-bottom: 20px;
}

.rec_product-intro p {
    /* font-size: 16px; */
    margin-bottom: 12px;
}

.rec_product-item img {
    max-width: 100%;
}
#export-container .mb-300{
	margin-bottom: 300px;
}
#export-container .mb-200{
	margin-bottom: 200px;
}
#export-container .mb-250{
	margin-bottom: 250px;
}
#export-container .mb-120{
	margin-bottom: 120px;
}

.qr{
    max-width: 400px;
    margin: 0 auto;
}
.qr img{
    max-width: 100%;
}
/* End style Zidan */



@media(max-width: 1024px){
	.slthank {
	    margin: 25px 0 50px;
	    padding: 60px 40px 60px;
	}
}
@media(max-width: 768px){
	.slthank {
	    margin: 15px 0 50px;
	    padding: 25px 15px;
	    background-image: url(images/bg5-sp.png);
	}
	.slthank h3{
		font-size: 22px;
		margin-bottom: 30px;
	}
	.slthank p, .slthank ul li{
		font-size: 13px;
	}
}
/* BÃ¡t Tá»± Chart Styles */
.battu-chart {
	background: linear-gradient(135deg, #f8f6f0 0%, #f0ede4 50%, #e8e0d0 100%);
	border-radius: 20px;
	padding: 25px;
	margin: 25px 0;
	box-shadow: 0 15px 35px rgba(0,0,0,0.15), 0 0 0 2px #d4af37, 0 0 0 4px #8b4513;
	position: relative;
	overflow: hidden;
}

.battu-chart::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="fengshui-pattern" patternUnits="userSpaceOnUse" width="25" height="25"><circle cx="12.5" cy="12.5" r="1" fill="rgba(212,175,55,0.1)"/><path d="M5,5 Q12.5,2 20,5 Q12.5,8 5,5" fill="rgba(139,69,19,0.08)"/><path d="M5,20 Q12.5,17 20,20 Q12.5,23 5,20" fill="rgba(139,69,19,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23fengshui-pattern)"/></svg>') repeat;
	opacity: 0.4;
	z-index: 0;
}

.battu-chart-content {
	position: relative;
	z-index: 1;
}

.battu-title {
	text-align: center;
	font-size: 2.2em;
	font-weight: bold;
	color: #8b4513;
	margin-bottom: 25px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
	background: linear-gradient(45deg, #8b4513, #d4af37, #8b4513);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.battu-table {
	width: 100%;
	border-collapse: collapse;
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.battu-table th {
	background: linear-gradient(135deg, #8b4513 0%, #a0522d 50%, #cd853f 100%);
	color: #fff8dc;
	padding: 18px 12px;
	text-align: center;
	font-weight: bold;
	font-size: 1.2em;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	border: 2px solid #d4af37;
}

.battu-table td {
	padding: 15px 10px;
	text-align: center;
	border: 2px solid #d4af37;
	vertical-align: middle;
	background: linear-gradient(145deg, #fff 0%, #f8f6f0 100%);
}

.battu-table tr:nth-child(even) td {
	background: linear-gradient(145deg, #f0ede4 0%, #e8e0d0 100%);
}

.battu-table tr:hover td {
	background: linear-gradient(145deg, #fff8dc 0%, #f0ede4 100%);
	transform: scale(1.02);
	transition: all 0.3s;
}

.battu-row-title {
	background: linear-gradient(135deg, #8b4513 0%, #a0522d 50%, #cd853f 100%);
	color: #fff8dc;
	font-weight: bold;
	width: 140px;
	text-align: center;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	font-size: 1.1em;
}

.battu-pillar {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

.battu-main-chars {
	font-size: 1.4em;
	font-weight: bold;
	margin: 5px 0;
}

.battu-hidden-stems {
	font-size: 0.9em;
	color: #666;
	line-height: 1.2;
}

.battu-element {
	font-size: 0.8em;
	color: #888;
	margin-top: 2px;
}

.battu-color-red { color: #dc143c; font-weight: bold; }
.battu-color-green { color: #228b22; font-weight: bold; }
.battu-color-blue { color: #1e90ff; font-weight: bold; }
.battu-color-yellow { color: #daa520; font-weight: bold; }
.battu-color-black { color: #2f2f2f; font-weight: bold; }

.battu-highlight {
	background: linear-gradient(135deg, #fff8dc 0%, #ffd700 50%, #daa520 100%);
	border: 3px solid #d4af37;
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.battu-section {
	margin: 20px 0;
}

.battu-section-title {
	font-size: 1.3em;
	font-weight: bold;
	color: #8b4513;
	margin-bottom: 10px;
	text-align: center;
	border-bottom: 2px solid #8b4513;
	padding-bottom: 5px;
}

/* Gia chá»§ info styles */

.info-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #d4af37;
}

.info-row:last-child {
	border-bottom: none;
}

.info-row .label {
	font-weight: 500;
	color: #f9d07b;
	flex: 1;
}

.info-row .value {
	color: #f9d07b;
	flex: 2;
	font-weight: bold;
	text-align: right;
	font-size: 18px;
}

/* Intro text styles */
.intro-text p {
	margin-bottom: 15px;
	line-height: 1.6;
	text-align: justify;
}

/* PhÃ¡c Ä‘á»“ styles */
.phac-do-intro {
	margin-bottom: 25px;
	padding: 20px;
	background: linear-gradient(145deg, #fff8dc 0%, #f0ede4 100%);
	border-radius: 10px;
	border-left: 4px solid #d4af37;
}

.phac-do-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.step {
	background: linear-gradient(145deg, #f8f6f0 0%, #f0ede4 100%);
	padding: 15px;
	border-radius: 10px;
	border: 2px solid #d4af37;
	text-align: center;
}

.step h4 {
	color: #8b4513;
	margin-bottom: 10px;
	font-size: 1.1em;
}

.step p {
	color: #2f2f2f;
	/* font-size: 1rem; */
	line-height: 1.4;
}
@media(max-width: 768px){
	.info-row{
		flex-wrap: wrap;
		gap: 10px;
	}
	.info-row .label,
	.info-row .value{
		width: 100%;
		flex: auto;
		text-align: left;
	}
	.info-row .value{
		font-size: 16px;
	}
}
/* Method sections */
.cai-menh-methods {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.method-section {
	background: linear-gradient(145deg, #f8f6f0 0%, #f0ede4 100%);
	padding: 20px;
	border-radius: 10px;
	border: 2px solid #d4af37;
}

.method-section h4 {
	color: #8b4513;
	margin-bottom: 10px;
	font-size: 1.1em;
}

.method-section p {
	color: #2f2f2f;
	line-height: 1.5;
}

/* San pham slides */
.san-pham-slides {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin: 20px 0;
}

.slide-item {
	background: linear-gradient(145deg, #f8f6f0 0%, #f0ede4 100%);
	padding: 20px;
	border-radius: 10px;
	border: 2px solid #d4af37;
}

.slide-item.highlight {
	border: 3px solid #ffd700;
	background: linear-gradient(145deg, #fff8dc 0%, #f0ede4 100%);
}

.slide-item h4 {
	color: #8b4513;
	margin-bottom: 10px;
	font-size: 1.1em;
}

.slide-item p {
	color: #2f2f2f;
	line-height: 1.5;
}

.qr-note {
	background: linear-gradient(145deg, #fff3cd 0%, #ffeaa7 100%);
	padding: 15px;
	border-radius: 8px;
	border-left: 4px solid #ffc107;
	margin-top: 20px;
}

.qr-note p {
	margin: 0;
	color: #856404;
	font-weight: bold;
}

/* NgÅ© hÃ nh biá»ƒu Ä‘á»“ styles */
.nguhanh-bars {
	margin: 20px 0;
}

.nguhanh-bar {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	gap: 15px;
}

.nguhanh-label {
	font-weight: bold;
	color: #8b4513;
	min-width: 60px;
}

.bar-container {
	flex: 1;
	position: relative;
	height: 25px;
	background: #f0f0f0;
	border-radius: 12px;
	overflow: hidden;
	border: 2px solid #d4af37;
}

.bar-fill {
	height: 100%;
	border-radius: 10px;
	transition: width 1s ease-in-out;
	position: relative;
}

.bar-fill::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
	animation: shimmer 2s infinite;
}

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

.bar-value {
	font-weight: bold;
	color: #8b4513;
	min-width: 40px;
	text-align: center;
}

.than-analysis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin: 20px 0;
}

.than-item {
	background: linear-gradient(145deg, #f8f6f0 0%, #f0ede4 100%);
	padding: 20px;
	border-radius: 10px;
	border: 2px solid #d4af37;
	text-align: center;
}

.than-item.dung-than {
	border-color: #28a745;
	background: linear-gradient(145deg, #d4edda 0%, #c3e6cb 100%);
}

.than-item.hy-than {
	border-color: #007bff;
	background: linear-gradient(145deg, #cce7ff 0%, #b3d9ff 100%);
}

.than-item.ky-than {
	border-color: #dc3545;
	background: linear-gradient(145deg, #f8d7da 0%, #f5c6cb 100%);
}

.than-item h5 {
	color: #8b4513;
	margin-bottom: 10px;
	font-size: 1.1em;
}

.balance-status {
	background: linear-gradient(145deg, #f8f6f0 0%, #f0ede4 100%);
	padding: 20px;
	border-radius: 10px;
	border: 2px solid #d4af37;
}

.status-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #d4af37;
}

.status-item:last-child {
	border-bottom: none;
}

.status-item.good {
	color: #28a745;
}

.status-item.warning {
	color: #ffc107;
}

.status-item.danger {
	color: #dc3545;
}

.status-label {
	font-weight: bold;
}

.status-value {
	font-weight: bold;
	font-size: 1.2em;
}

.status-recommendation {
	margin-top: 15px;
	padding: 15px;
	background: linear-gradient(145deg, #fff8dc 0%, #f0ede4 100%);
	border-radius: 8px;
	border-left: 4px solid #d4af37;
}

/* Tháº­p Tháº§n biá»ƒu Ä‘á»“ styles */
.thap-than-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin: 20px 0;
}

.thap-than-item {
	background: linear-gradient(145deg, #f8f6f0 0%, #f0ede4 100%);
	padding: 20px;
	border-radius: 10px;
	border: 2px solid #d4af37;
	transition: transform 0.3s;
}

.thap-than-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.thap-than-item.quan {
	border-color: #dc3545;
	background: linear-gradient(145deg, #f8d7da 0%, #f5c6cb 100%);
}

.thap-than-item.an {
	border-color: #007bff;
	background: linear-gradient(145deg, #cce7ff 0%, #b3d9ff 100%);
}

.thap-than-item.tai {
	border-color: #28a745;
	background: linear-gradient(145deg, #d4edda 0%, #c3e6cb 100%);
}

.thap-than-item.thuc {
	border-color: #ffc107;
	background: linear-gradient(145deg, #fff3cd 0%, #ffeaa7 100%);
}

.thap-than-item.ty {
	border-color: #6c757d;
	background: linear-gradient(145deg, #e2e3e5 0%, #d6d8db 100%);
}

.thap-than-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.thap-than-header h4 {
	color: #8b4513;
	margin: 0;
	font-size: 1.2em;
}

.thap-than-count {
	background: #8b4513;
	color: white;
	padding: 5px 12px;
	border-radius: 20px;
	font-weight: bold;
	font-size: 1.1em;
}

.thap-than-details p {
	margin: 8px 0;
	color: #2f2f2f;
	line-height: 1.4;
	font-size: 0.9em;
}

.analysis-summary {
	background: linear-gradient(145deg, #f8f6f0 0%, #f0ede4 100%);
	padding: 20px;
	border-radius: 10px;
	border: 2px solid #d4af37;
}

.summary-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #d4af37;
}

.summary-item:last-child {
	border-bottom: none;
}

.summary-label {
	font-weight: bold;
	color: #8b4513;
}

.summary-value {
	color: #2f2f2f;
	font-weight: bold;
}

/* Dá»¥ng Tháº§n biá»ƒu Ä‘á»“ styles */
.than-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin: 20px 0;
}

.than-card {
	background: linear-gradient(145deg, #f8f6f0 0%, #f0ede4 100%);
	padding: 25px;
	border-radius: 15px;
	border: 3px solid #d4af37;
	transition: transform 0.3s, box-shadow 0.3s;
}

.than-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.than-card.dung-than {
	border-color: #28a745;
	background: linear-gradient(145deg, #d4edda 0%, #c3e6cb 100%);
}

.than-card.hy-than {
	border-color: #007bff;
	background: linear-gradient(145deg, #cce7ff 0%, #b3d9ff 100%);
}

.than-card.ky-than {
	border-color: #dc3545;
	background: linear-gradient(145deg, #f8d7da 0%, #f5c6cb 100%);
}

.than-card h4 {
	color: #8b4513;
	margin-bottom: 20px;
	font-size: 1.3em;
	text-align: center;
	border-bottom: 2px solid #d4af37;
	padding-bottom: 10px;
}

.than-detail {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	padding: 10px;
	background: rgba(255,255,255,0.7);
	border-radius: 8px;
	border-left: 4px solid #d4af37;
}

.than-detail strong {
	color: #8b4513;
	font-weight: bold;
}

.than-value {
	color: #2f2f2f;
	font-weight: bold;
	background: #d4af37;
	color: white;
	padding: 4px 12px;
	border-radius: 15px;
	font-size: 0.9em;
}

.than-content p {
	margin: 15px 0;
	line-height: 1.6;
	color: #2f2f2f;
}

.than-content p strong {
	color: #8b4513;
}

.than-recommendations {
	background: linear-gradient(145deg, #f8f6f0 0%, #f0ede4 100%);
	padding: 25px;
	border-radius: 15px;
	border: 3px solid #d4af37;
	margin-top: 30px;
}

.than-recommendations h4 {
	color: #8b4513;
	margin-bottom: 20px;
	text-align: center;
	font-size: 1.4em;
	border-bottom: 2px solid #d4af37;
	padding-bottom: 10px;
}

.recommendation-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.recommendation-item {
	background: rgba(255,255,255,0.8);
	padding: 20px;
	border-radius: 10px;
	border: 2px solid #d4af37;
	transition: transform 0.3s;
}

.recommendation-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.recommendation-item h5 {
	color: #8b4513;
	margin-bottom: 15px;
	font-size: 1.1em;
	text-align: center;
	border-bottom: 1px solid #d4af37;
	padding-bottom: 8px;
}

.recommendation-item p {
	margin: 10px 0;
	line-height: 1.5;
	color: #2f2f2f;
}

.recommendation-item p strong {
	color: #8b4513;
}

/* NgÅ© hÃ nh wheel chart styles */
.nguhanh-chart {
	display: flex;
	gap: 30px;
	align-items: center;
	margin: 30px 0;
}

.nguhanh-wheel {
	position: relative;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: conic-gradient(
		from 0deg,
		#616161 0deg 72deg,
		#28a745 72deg 144deg,
		#007bff 144deg 216deg,
		#dc3545 216deg 288deg,
		#ffc107 288deg 360deg
	);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	animation: rotate 20s linear infinite;
}

@keyframes rotate {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.wheel-center {
	width: 120px;
	height: 120px;
	background: linear-gradient(145deg, #f8f6f0, #e8e0d0);
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 4px solid #d4af37;
	box-shadow: inset 0 5px 15px rgba(0,0,0,0.1);
}

.center-text {
	font-size: 12px;
	font-weight: bold;
	color: #8b4513;
	text-align: center;
}

.center-balance {
	font-size: 18px;
	font-weight: bold;
	color: #2f2f2f;
	margin-top: 5px;
}

.wheel-elements {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.element-sector {
	position: absolute;
	width: 50%;
	height: 50%;
	transform-origin: 100% 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.element-sector.kim-sector { transform: rotate(0deg); }
.element-sector.moc-sector { transform: rotate(72deg); }
.element-sector.thuy-sector { transform: rotate(144deg); }
.element-sector.hoa-sector { transform: rotate(216deg); }
.element-sector.tho-sector { transform: rotate(288deg); }

.element-icon {
	font-size: 24px;
	margin-bottom: 5px;
}

.element-name {
	font-size: 14px;
	margin-bottom: 2px;
}

.element-value {
	font-size: 12px;
	background: rgba(255,255,255,0.2);
	padding: 2px 6px;
	border-radius: 10px;
}

.nguhanh-details {
	flex: 1;
}

.element-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
}

.element-card {
	background: linear-gradient(145deg, #f8f6f0, #f0ede4);
	padding: 20px;
	border-radius: 15px;
	border: 2px solid #d4af37;
	transition: transform 0.3s, box-shadow 0.3s;
}

.element-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 15px;
}

.card-header .element-icon {
	font-size: 24px;
}

.card-header .element-name {
	font-weight: bold;
	color: #8b4513;
	font-size: 16px;
}

.card-header .element-percentage {
	font-weight: bold;
	color: #2f2f2f;
	background: #d4af37;
	color: white;
	padding: 4px 12px;
	border-radius: 15px;
	font-size: 14px;
}

.card-bar {
	height: 8px;
	background: #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
}

.card-bar .bar-fill {
	height: 100%;
	border-radius: 4px;
	transition: width 1.5s ease-in-out;
	position: relative;
}

.card-bar .bar-fill::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
	animation: shimmer 2s infinite;
}

/* NiÃªn háº¡n styles */
.nienhan-analysis {
	background: linear-gradient(145deg, #f8f6f0, #f0ede4);
	padding: 25px;
	border-radius: 15px;
	border: 3px solid #d4af37;
}

.nienhan-overview {
	margin-bottom: 30px;
}

.nienhan-summary {
	display: flex;
	justify-content: center;
}

.summary-card {
	background: linear-gradient(145deg, #f8f6f0, #f0ede4);
	padding: 25px;
	border-radius: 15px;
	border: 3px solid #d4af37;
	text-align: center;
	min-width: 300px;
}

.summary-card.success {
	border-color: #28a745;
	background: linear-gradient(145deg, #d4edda, #c3e6cb);
}

.summary-card.warning {
	border-color: #ffc107;
	background: linear-gradient(145deg, #fff3cd, #ffeaa7);
}

.summary-card.danger {
	border-color: #dc3545;
	background: linear-gradient(145deg, #f8d7da, #f5c6cb);
}

.summary-card h4 {
	color: #8b4513;
	margin-bottom: 20px;
	font-size: 1.3em;
}

.summary-score, .summary-issues {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	padding: 10px;
	background: rgba(255,255,255,0.7);
	border-radius: 8px;
}

.score-label, .issues-label {
	font-weight: bold;
	color: #8b4513;
}

.score-value, .issues-count {
	font-weight: bold;
	font-size: 1.2em;
}

.score-value.success, .issues-count.success {
	color: #28a745;
}

.score-value.warning, .issues-count.warning {
	color: #ffc107;
}

.score-value.danger, .issues-count.danger {
	color: #dc3545;
}

.nienhan-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin: 20px 0;
}

.nienhan-item {
	background: linear-gradient(145deg, #f8f6f0, #f0ede4);
	padding: 20px;
	border-radius: 12px;
	border: 2px solid #d4af37;
	transition: transform 0.3s, box-shadow 0.3s;
}

.nienhan-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nienhan-item.success {
	border-color: #28a745;
	background: linear-gradient(145deg, #d4edda, #c3e6cb);
}

.nienhan-item.warning {
	border-color: #ffc107;
	background: linear-gradient(145deg, #fff3cd, #ffeaa7);
}

.nienhan-item.danger {
	border-color: #dc3545;
	background: linear-gradient(145deg, #f8d7da, #f5c6cb);
}

.nienhan-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.nienhan-header h5 {
	color: #8b4513;
	margin: 0;
	font-size: 1.1em;
}

.nienhan-status {
	padding: 4px 12px;
	border-radius: 15px;
	font-size: 12px;
	font-weight: bold;
}

.nienhan-status.success {
	background: #28a745;
	color: white;
}

.nienhan-status.warning {
	background: #ffc107;
	color: #2f2f2f;
}

.nienhan-status.danger {
	background: #dc3545;
	color: white;
}

.nienhan-content p {
	margin: 0;
	color: #2f2f2f;
	line-height: 1.5;
}

.nienhan-recommendations {
	margin-top: 30px;
	padding: 20px;
	background: linear-gradient(145deg, #fff8dc, #f0ede4);
	border-radius: 12px;
	border: 2px solid #d4af37;
}

.nienhan-recommendations h4 {
	color: #8b4513;
	margin-bottom: 20px;
	text-align: center;
	font-size: 1.2em;
}

.recommendation-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 15px;
}

.recommendation-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 15px;
	background: rgba(255,255,255,0.8);
	border-radius: 8px;
	border-left: 4px solid #d4af37;
}

.rec-icon {
	font-size: 20px;
}

.rec-text {
	color: #2f2f2f;
	font-weight: 500;
}

/* Cá»­u Diá»‡u chi tiáº¿t styles */
.cuu-dieu-details {
	background: rgba(255,255,255,0.8);
	padding: 15px;
	border-radius: 8px;
	margin-top: 10px;
}

.star-name, .star-type, .star-note {
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.star-name strong, .star-type strong, .star-note strong {
	color: #8b4513;
	min-width: 80px;
}

.star-type-badge {
	padding: 4px 12px;
	border-radius: 15px;
	font-size: 12px;
	font-weight: bold;
	color: white;
}

.star-type-badge.hung {
	background: #dc3545;
}

.star-type-badge.cÃ¡t {
	background: #28a745;
}

.star-type-badge.trung {
	background: #ffc107;
	color: #2f2f2f;
}

.star-warning {
	background: linear-gradient(145deg, #f8d7da, #f5c6cb);
	padding: 10px;
	border-radius: 8px;
	border-left: 4px solid #dc3545;
	margin-top: 10px;
}

.star-warning strong {
	color: #dc3545;
}

.star-blessing {
	background: linear-gradient(145deg, #d4edda, #c3e6cb);
	padding: 10px;
	border-radius: 8px;
	border-left: 4px solid #28a745;
	margin-top: 10px;
}

.star-blessing strong {
	color: #28a745;
}

@media (max-width: 768px) {
	.form-grid {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.header h1 {
		font-size: 1.5em;
	}
	.header p{
		font-size: 1.1em;
	}
	.form-section, .results {
		padding: 0;
		background-size: cover;
	}

	.daivan-table table {
		font-size: 14px;
	}

	.daivan-table th,
	.daivan-table td {
		padding: 8px 6px;
	}
	.btn-analyze{
		font-size: 1.2em;
	}
}
/*-------------------------------------------*/
/**Bg*/
.bg table{
	background-size: 58%;
	background-position: center;
	background-repeat: no-repeat;
}

.bg table td{
	background: rgba(255, 255, 255, 0.4) !important;
}
.bg table td.head{
	background: rgba(234, 193, 94, 0.6) !important;
}
.bg table td.head_cols{
	background: rgba(249, 208, 123, 0.2) !important;
}
.bg1 table{background-image: url(images/bg2.png);background-color: #fff7e7;}
/**End Bg*/
/**Chart*/
#chartWrapper {
	background: #fffaf1;
	border-radius: 10px;
	padding: 30px;
	margin-top: 60px;
}
#chartWrapper img{
	width: 100%;
	height: auto;
}
#thapthanChart{
	width: 900px;
	height: 400px;
}

@media (max-width: 768px){
	#chartWrapper{
		padding: 20px;
		overflow: auto;
	}
	#thapthanChart{
		min-width: 500px;
		height: 300px !important;
	}
}
/***End Chart*/
/*--------------------------------------------*/
.loading p{
	color: #fff;
}
.sidebar{
	position: absolute;
	right: 10%;
	top: 0;
	height: 100%;
}
#export{
	display: none;
}
#export.active{
	display: block;
	position: sticky;
	bottom: 50px;
	left: 100%;
	transform: translatex(-50px);
	z-index: 999;
}
#export-layout{
	position: relative;
	page-break-inside: avoid;
	break-inside: avoid-page;
}
#export-layout .header{
	margin-bottom: 0 !important;
}
#export-layout .form-contain{
	border-radius: 0;
	background: transparent;
	padding-top: 60px;
	/* background: #003a2a; */
	padding-bottom: 0;
	backdrop-filter: none;
}
#export-layout .form-contain img{
	width: 100%;
}
#export-container{
	background: #003a2a;
}
#export-container #export{
	display: none;
}
#exportPDF{
	position: fixed;
	right: 0;
	top: 10%;
	z-index: 9999;
}
#exportPDF,#export{
	/* border: 3px solid #81030f; */
	background-color: #81030f; /* Green background */
	color: white; /* White text */
	padding: 10px 50px; /* Padding inside the button */
	/* No border */
	/* Rounded corners */
	font-weight: bold;
	cursor: pointer; /* Change cursor to pointer on hover */
	font-size: 18px; /* Font size */
	width: max-content;
	text-align: center;
	transition: all 0.3s ease;
	border-radius: 10px;
	box-shadow: 0px 3px 10px rgb(255 233 189 / 54%);
}
#exportPDF:hover,#export:hover{
	background-color: #003125;
}
.page-break {
	page-break-before: always;
}
.bg-export{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
#export-layout .many-page, #export-layout .one-page{
	background: transparent !important;
	background-color: transparent !important;
	padding: 20px;
}
#export-layout #thapthan{
	margin-top: 60px;
}
#export-layout .lasobattu_table{
	margin: 30px auto 0;
}
#export-layout #chartWrapper{
	margin: 30px auto 0;
	text-align: center;
	width: 100%;
	max-width: 1080px;
}
#export-layout .dungthanmenh_top{width: 100%;max-width: 1080px;}
#export-layout .dungthanmenh_top p{
	padding: 15px 25px;
}
#export-layout #results .result-section{
	margin-top: 0;
}
@media print {
	* { 
		-webkit-print-color-adjust: exact !important; /* Chrome, Edge */
		print-color-adjust: exact !important;         /* Firefox */
		color-adjust: exact !important;               /* Safari cÅ© */
	}
	#btnExport,
	#exportPDF {
		display: none !important;
	}
	@page {
		size: A4;
		margin: 0.25in;
	}

	body {
		transform: scale(0.75);
		transform-origin: top left;
	}

	html, body {
		width: 100%;
		height: auto;
		overflow: visible !important;
	}
}
@media(max-width: 768px){
	#exportPDF,#export{
		font-size: 1.1rem;
		padding: 7px 50px;
	}
	#exportPDF{
		top: auto;
		bottom: 20px;
		padding: 7px 20px;
	}
}