/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

/* Các tùy chỉnh CSS của giao diện nên để vào đây */

/*xuống hàng*/
.break-word {
	word-wrap: break-word;  /* Chia từ dài nếu cần */
	word-break: break-all;  /* Chia bất kỳ từ nào nếu cần */
	white-space: normal;    /* Cho phép xuống hàng */
	display: inline-block;  /* Đảm bảo nó là inline để giống như link thông thường */
}

.loader-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgb(0 0 0 / 29%);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.loader {
	border: 8px solid #f3f3f3;
	border-top: 8px solid #3498db;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
}

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

	100% {
		transform: rotate(360deg);
	}
}

.chu_y {
	color: orange;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
	background-color: #cecece;
	opacity: 1;
}
/*THêm hình*/
.item-grid-input-thongtin-chiendich {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.black-14-700 {
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: -0.006em;
	text-align: left;
	color: #404040 !important;
}

.frame-avt-chiendich {
	border-radius: 8px;
	border: 1px solid #ffcdde;
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
}

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

.grey-14-400 {
	font-size: 14px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: -0.011em;
	text-align: center;
	color: #bdbdbd !important;
}
.tac {
	text-align: center !important;
}
.upload-list {
	position: relative;
}
.upload-list .input-uphinh {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
}

.upload-list .input-uphinh input {
	width: 100%;
	height: 100% !important;
	opacity: 0;
}

.frame-tailieu-chiendich {
	border-radius: 8px;
	border: 1px solid #ffcdde;
	padding: 24px;
}

.grid-tailieu-chiendich {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.radius-8px {
	border-radius: 8px !important;
}

.btn-pink-outline {
	width: max-content;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: 0px;
	text-align: left;
	color: red !important;
	padding: 10px 16px;
}

.item-grid-input-thongtin-chiendich input:not([type="radio"]) {
	height: 48px;
	padding: 12px;
	border: 1px solid #ffcdde !important;
	border-radius: 8px;
	color: #404040 !important;
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	letter-spacing: -0.011em;
	text-align: left;
}

.item-grid-tailieu-chiendich {
	height: 140px;
	background-size: cover;
	background-repeat: no-repeat;
	flex-shrink: 0;
	position: relative;
	border: 1px solid #ffcdde;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: -0.006em;
	text-align: center;
	color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
}
.item-grid-tailieu-chiendich .icon-24px {
	position: absolute;
	top: -10px;
	right: -10px;
}
/*end thêm hình*/

.cursor_pointer{
	cursor: pointer;
}

.green{
	color: green;
}


.cam_thao_tac{
	pointer-events: none!important;
	background: #D9D9D9!important;
}



.wrap_abc{
	position: relative;
	float: right;
	border-radius: 5px;
	border: solid 1px #000;
	padding: 20px;
	margin: 10px;
	min-width: 500px;
	background: #fff;
}
.khung_file_mau{
	font-size: 14px;
	text-transform: capitalize;
	margin-top: 10px;
	color: #000;

}
.khung_file_mau a{
	color: #2C6B6F;
}

.text-bold-600{
	font-weight: 600;
}



.table-bordered1 thead,
.table-bordered1 tbody,
.table-bordered1 table,
.table-bordered1 tr,
.table-bordered1 th,
.table-bordered1 td {
	border: 1px solid black !important;
}


.table-scroll-cus{
	position: relative;
	width: 100%;
	margin: auto;
	overflow: auto;
	height: 80vh;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	margin-top: 10px;
	padding: 0;
}

.table-scroll-cus table {
	font-size: 13px;
}



.table-scroll-cus thead {
	background: #017e84;
	color: #fff;
	text-transform: uppercase;
	position: sticky;
	top: 0;
	z-index: 10;
}


/* Cấp 1 - Block cha */
.table-scroll-cus .tr_cap_1 td {
	background: #D6EAF8;  /* Xanh dương sáng */
	font-weight: 600;
	color: #154360;
	border-top: 2px solid #2A7A78;
}

/* Cấp 2 - Giai đoạn / nhóm phụ */
.table-scroll-cus .tr_cap_2 td {
	background: #FCF3CF;  /* Vàng sáng */
	color: #7D6608;
	font-weight: 500;
}

/* Cấp 3 - Dòng dữ liệu chính */
.table-scroll-cus .tr_cap_3 td {
	background: #E8F6F3;  /* Xanh ngọc sáng */
	color: #145A32;
}

/* Cấp 4 - Chi tiết con */
.table-scroll-cus .tr_cap_4 td {
	background: #fff;  /* Hồng nhạt pha cam */
	color: #78281F;
}


.textarea_view {
	resize: none;
	box-sizing: border-box
	width: 100%;
	min-height: 40px;
	overflow: hidden;
	padding: 8px;
	line-height: 1.4;
	background-color: white!important;
}