/* Đặt màu nền cho navbar */
.topnav {
	background-color: #092449;
	/* Màu nền thanh điều hướng */
}

.align-items .row {
	align-items: center;
}

.hidden-column {
	display: none !important;
}

/* Cải thiện màu nền và viền của navbar */
.navbar {
	border-bottom: 2px solid #007bff;
	height: 52px;
	/* Viền dưới navbar */
}

/* Tinh chỉnh màu sắc và kích thước của liên kết trong navbar */
.navbar-nav .nav-link {
	color: #f8f9fa;
	/* Màu chữ sáng hơn */
	font-weight: 600;
	/* Chữ dày hơn */
	font-size: var(--ct-body-font-size);
	/* Kích thước font chữ lớn hơn */
	padding: 15px 20px;
	/* Khoảng cách padding */
}

/* Đổi màu chữ khi hover */
.navbar-nav .nav-link:hover {
	color: #ffffff;
	/* Màu chữ khi hover */
	background-color: #461da1;
	/* Màu nền khi hover */
	border-radius: 0.25rem;
	/* Bo góc khi hover */
}

/* Cải thiện kiểu dáng của dropdown menu */
.dropdown-menu {
	background-color: #ffffff;
	/* Màu nền cho dropdown */
	border: 1px solid #007bff;
	/* Viền cho dropdown */
	border-radius: 0.25rem;
	/* Bo góc cho dropdown */
}

/* Tinh chỉnh màu chữ và nền của các mục dropdown */
.dropdown-menu .dropdown-item {
	color: #000000;
	/* Màu chữ của dropdown item */
	font-weight: 500;
	/* Chữ dày hơn */
	font-size: var(--ct-body-font-size);
	/* Kích thước font chữ của dropdown item */
}

.dropdown-menu .dropdown-item:hover {
	color: #ffffff;
	/* Màu chữ khi hover */
	background-color: #461da1;
	/* Màu nền khi hover */
}

/* Tinh chỉnh kích thước và màu của biểu tượng */
.nav-link i {
	font-size: var(--ct-body-font-size);
	/* Kích thước biểu tượng */
	color: #f8f9fa;
	/* Màu biểu tượng */
}

/* Tiêu đề trang */
.page-title {
	font-size: var(--ct-body-font-size);
	/* Kích thước chữ lớn hơn */
	font-weight: 700;
	/* Đặt chữ dày hơn */
	color: #461da1;
	/* Màu chữ đậm hơn để nổi bật */
	margin-bottom: 1rem;
	/* Khoảng cách dưới tiêu đề */
}

.page-title-small {
	font-size: 16px;
	/* Kích thước chữ lớn hơn */
	font-weight: 700;
	/* Đặt chữ dày hơn */
	color: #461da1;
	/* color:var(--ct-body-bg); */

	/* Khoảng cách dưới tiêu đề */
}

/* Các mục breadcrumb */
.breadcrumb {
	font-size: 1rem;
	/* Kích thước chữ của breadcrumb */
	color: #555555;
	/* Màu chữ tối hơn để dễ đọc hơn */
}

.breadcrumb-item {
	font-weight: 500;
	/* Độ dày chữ vừa phải */
}

.breadcrumb-item a {
	color: #007bff;
	/* Màu chữ liên kết nổi bật */
}

.breadcrumb-item a:hover {
	color: #0056b3;
	/* Màu chữ liên kết khi hover */
}

.table thead th {
	/* Kích thước chữ của tiêu đề bảng */
	font-weight: 500;
	/* Độ dày chữ tiêu đề bảng */
	color: #ffffff;
	/* Màu chữ tiêu đề bảng tối hơn */
	font-size: var(--ct-body-font-size);
	/* Màu nền tiêu đề bảng nhẹ nhàng */
}

.table tbody td {
	/* Kích thước chữ của dữ liệu bảng */
	color: #461da1;
	font-weight: 500;
	/* Màu chữ dữ liệu bảng tối hơn */
	padding: 0.5rem;
	font-size: var(--ct-body-font-size);
	/* Khoảng cách padding để dữ liệu dễ đọc hơn */
}

/* Form Edit */
/* Tăng cỡ chữ của label và input */
.col-form-label,
.form-control {
	font-size: var(--ct-body-font-size);
	/* Tăng cỡ chữ lên */
}

/* Đổi màu nút */
.btn-primary {
	background-color: #6943bb;
	border-color: #6943bb;
	font-size: var(--ct-body-font-size);
	/* Tăng cỡ chữ của nút */
}

/* Đổi màu nút khi hover */
.btn-primary:hover {
	background-color: #461da1;
	border-color: #461da1;
}

/* Trạng thái */
#txt_Trangthai,
#txt_DaXoa,
#txt_QTHethong {
	font-size: var(--ct-body-font-size);
	/* Cỡ chữ tương tự như các input khác */
	height: calc(1.5em + 0.75rem + 2px);
	/* Đảm bảo chiều cao của combobox tương đương với input */
	padding: 0.375rem 0.75rem;
	/* Điều chỉnh padding để văn bản nằm chính giữa */
}

.text-right {
	text-align: end;
}

.hover-text {
	position: relative;
	display: inline-block;
	cursor: pointer;
}

.hover-card {
	display: none;
	position: absolute;
	right: 50%;
	bottom: 20%;
}

.hover-text:hover .hover-card {
	display: block;
}

.btn-toplead {
	height: 36px;
	margin: 4px;
	border-radius: 5px !important;
}

.pt-01rem {
	padding-top: 0.1rem !important;
}

.pt-02rem {
	padding-top: 0.2rem !important;
}

.pt-075rem {
	padding-top: 0.75rem !important;
}

.pt-06rem {
	padding-top: 0.6rem !important;
}

.pt-05rem {
	padding-top: 0.5rem !important;
}

.pd-06rem {
	padding-top: 0.6rem !important;
	padding-bottom: 0.6rem !important;
}

.card-body-ct {
	border: 2px solid #e2e2e2 !important;
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	padding: 1rem 1rem;
	border-radius: 5px;
	display: flex;
	flex-direction: column;
	flex: 1;
	overflow: auto !important;
}

.scroll-bar {
	overflow-y: auto;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	min-height: 600px;
}

.modal-header-icon {
	position: absolute;
	width: 30px;
	padding-right: 30px;
	color: white;
	font-weight: 700;
	border-radius: 45px;
	background-color: #6576ff;
}

.plus-icon {
	font-size: 1.3rem;
	padding-top: 2px;
	padding-left: 5px;
}

.menu-icon-head {
	padding-right: 5px;
}

a .menu-icon {
	padding-right: 5px;
}

/* Css cây phân quyền - Start*/
.list-group-item {
	/* color: #2c3782 !important; */
	border: none;
	padding-left: 0px !important;
}

.list-group-item li {
	margin: 10px;
}

.list-group-item ul {
	padding-left: 20px;
}

.card-body {
	border-radius: 4px;
}

.card-title {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.floatr {
	float: right;
}

.floatl {
	float: left;
}

.card-body-top-filter {
	padding: 8px 8px;
	box-shadow:
		0 0 1px rgba(0, 0, 0, 0.125),
		0 1px 3px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	margin-right: 12px;
	margin-left: 12px;
}

.ml-0 {
	margin-left: 0 !important;
}

.ml-1 {
	margin-left: 1px !important;
}

.ml-2 {
	margin-left: 2px !important;
}

.ml-3 {
	margin-left: 3px !important;
}

.ml-4 {
	margin-left: 4px !important;
}

.ml-5 {
	margin-left: 5px !important;
}

.ml-6 {
	margin-left: 6px !important;
}

.ml-7 {
	margin-left: 7px !important;
}

.ml-8 {
	margin-left: 8px !important;
}

.ml-9 {
	margin-left: 9px !important;
}

.ml-10 {
	margin-left: 10px !important;
}

.ml-11 {
	margin-left: 11px !important;
}

.ml-12 {
	margin-left: 12px !important;
}

.ml-13 {
	margin-left: 13px !important;
}

.ml-14 {
	margin-left: 14px !important;
}

.ml-15 {
	margin-left: 15px !important;
}

.mr-0 {
	margin-right: 0px !important;
}

.mr-1 {
	margin-right: 1px !important;
}

.mr-2 {
	margin-right: 2px !important;
}

.mr-3 {
	margin-right: 3px !important;
}

.mr-4 {
	margin-right: 4px !important;
}

.mr-5 {
	margin-right: 5px !important;
}

.mr-6 {
	margin-right: 6px !important;
}

.mr-7 {
	margin-right: 7px !important;
}

.mr-8 {
	margin-right: 8px !important;
}

.mr-9 {
	margin-right: 9px !important;
}

.mr-10 {
	margin-right: 10px !important;
}

.mr-11 {
	margin-right: 11px !important;
}

.mr-12 {
	margin-right: 12px !important;
}

.mr-13 {
	margin-right: 13px !important;
}

.mr-14 {
	margin-right: 14px !important;
}

.mr-15 {
	margin-right: 15px !important;
}

.mt-0 {
	margin-top: 0px !important;
}

.mt-1 {
	margin-top: 1px !important;
}

.mt-2 {
	margin-top: 2px !important;
}

.mt-3 {
	margin-top: 3px !important;
}

.mt-4 {
	margin-top: 4px !important;
}

.mt-5 {
	margin-top: 5px !important;
}

.mt-6 {
	margin-top: 6px !important;
}

.mt-7 {
	margin-top: 7px !important;
}

.mt-8 {
	margin-top: 8px !important;
}

.mt-9 {
	margin-top: 9px !important;
}

.mt-10 {
	margin-top: 10px !important;
}

.mt-11 {
	margin-top: 11px !important;
}

.mt-12 {
	margin-top: 12px !important;
}

.mt-13 {
	margin-top: 13px !important;
}

.mt-14 {
	margin-top: 14px !important;
}

.mt-15 {
	margin-top: 15px !important;
}
.mt-20 {
	margin-top: 20px !important;
}
.mt-25 {
	margin-top: 25px !important;
}
.mt-35 {
	margin-top: 35px !important;
}

.mt-30 {
	margin-top: 30px !important;
}
.mb-0 {
	margin-bottom: 0px !important;
}

.mb-1 {
	margin-bottom: 1px !important;
}

.mb-2 {
	margin-bottom: 2px !important;
}

.mb-3 {
	margin-bottom: 3px !important;
}

.mb-4 {
	margin-bottom: 4px !important;
}

.mb-5 {
	margin-bottom: 5px !important;
}

.mb-6 {
	margin-bottom: 6px !important;
}

.mb-7 {
	margin-bottom: 7px !important;
}

.mb-8 {
	margin-bottom: 8px !important;
}

.mb-9 {
	margin-bottom: 9px !important;
}

.mb-10 {
	margin-bottom: 10px !important;
}

.mb-11 {
	margin-bottom: 11px !important;
}

.mb-12 {
	margin-bottom: 12px !important;
}

.mb-13 {
	margin-bottom: 13px !important;
}

.mb-14 {
	margin-bottom: 14px !important;
}

.mb-15 {
	margin-bottom: 15px !important;
}

.pb-0 {
	padding-bottom: 0px !important;
}

.pb-1 {
	padding-bottom: 1px !important;
}

.pb-2 {
	padding-bottom: 2px !important;
}

.pb-3 {
	padding-bottom: 3px !important;
}

.pb-4 {
	padding-bottom: 4px !important;
}

.pb-5 {
	padding-bottom: 5px !important;
}

.pb-6 {
	padding-bottom: 6px !important;
}

.pb-7 {
	padding-bottom: 7px !important;
}

.pb-8 {
	padding-bottom: 8px !important;
}

.pb-9 {
	padding-bottom: 9px !important;
}

.pb-10 {
	padding-bottom: 10px !important;
}

.pb-11 {
	padding-bottom: 11px !important;
}

.pb-12 {
	padding-bottom: 12px !important;
}

.pb-13 {
	padding-bottom: 13px !important;
}

.pb-14 {
	padding-bottom: 14px !important;
}

.pb-15 {
	padding-bottom: 15px !important;
}

.pt-0 {
	padding-top: 0px !important;
}

.pt-1 {
	padding-top: 1px !important;
}

.pt-2 {
	padding-top: 2px !important;
}

.pt-3 {
	padding-top: 3px !important;
}

.pt-4 {
	padding-top: 4px !important;
}

.pt-5 {
	padding-top: 5px !important;
}

.pt-6 {
	padding-top: 6px !important;
}

.pt-7 {
	padding-top: 7px !important;
}

.pt-8 {
	padding-top: 8px !important;
}

.pt-9 {
	padding-top: 9px !important;
}

.pt-10 {
	padding-top: 10px !important;
}

.pt-11 {
	padding-top: 11px !important;
}

.pt-12 {
	padding-top: 12px !important;
}

.pt-13 {
	padding-top: 13px !important;
}

.pt-14 {
	padding-top: 14px !important;
}

.pt-15 {
	padding-top: 15px !important;
}

.pl-0 {
	padding-left: 0px !important;
}

.pl-1 {
	padding-left: 1px !important;
}

.pl-2 {
	padding-left: 2px !important;
}

.pl-3 {
	padding-left: 3px !important;
}

.pl-4 {
	padding-left: 4px !important;
}

.pl-5 {
	padding-left: 5px !important;
}

.pl-6 {
	padding-left: 6px !important;
}

.pl-7 {
	padding-left: 7px !important;
}

.pl-8 {
	padding-left: 8px !important;
}

.pl-9 {
	padding-left: 9px !important;
}

.pl-10 {
	padding-left: 10px !important;
}

.pl-11 {
	padding-left: 11px !important;
}

.pl-12 {
	padding-left: 12px !important;
}

.pl-13 {
	padding-left: 13px !important;
}

.pl-14 {
	padding-left: 14px !important;
}

.pl-15 {
	padding-left: 15px !important;
}

.pr-0 {
	padding-right: 0px !important;
}

.pr-1 {
	padding-right: 1px !important;
}

.pr-2 {
	padding-right: 2px !important;
}

.pr-3 {
	padding-right: 3px !important;
}

.pr-4 {
	padding-right: 4px !important;
}

.pr-5 {
	padding-right: 5px !important;
}

.pr-6 {
	padding-right: 6px !important;
}

.pr-7 {
	padding-right: 7px !important;
}

.pr-8 {
	padding-right: 8px !important;
}

.pr-9 {
	padding-right: 9px !important;
}

.pr-10 {
	padding-right: 10px !important;
}

.pr-11 {
	padding-right: 11px !important;
}

.pr-12 {
	padding-right: 12px !important;
}

.pr-13 {
	padding-right: 13px !important;
}

.pr-14 {
	padding-right: 14px !important;
}

.pr-15 {
	padding-right: 15px !important;
}

.pi-style {
	font-weight: 700 !important;
	font-size: 10px;
	font-style: initial !important;
	color: #839f10;
}

/* Css cây phân quyền - End*/

/* Css jstree -3 - START */
.above-parent-node-permission {
	font-size: 16px;
	font-weight: bolder;
	/* In đậm */
	color: #461da1;
}

.under-parent-node-permission {
	font-size: 15px;
	/* Chữ nhỏ hơn */
	color: #461da1;
	/* Màu xám */
	font-weight: 500;
}

.child-node-permission>a.jstree-anchor {
	font-size: 14px;
	/* Chữ nhỏ hơn */
	color: #461da1;
	/* Màu xám */
	font-weight: 400;
}

.action-icon-modal {
	font-size: 18px;
	padding-right: 3px;
	/* Chữ nhỏ hơn */
	color: #461da1;
	/* Màu xám */
	font-weight: 600;
}

/* Loại bỏ màu nền khi một node được chọn */
.jstree-clicked {
	background-color: transparent !important;
	color: inherit !important;
}

.jstree-wholerow-clicked {
	background-color: transparent !important;
}

.jstree-wholerow {
	background-color: transparent !important;
}

.jstree-default .jstree-wholerow-clicked {
	background: transparent !important;
}

/* Css jstree -3 - END */

.nav-link.active {
	/* color: blue !important; */
	font-weight: 600;
}

.custom-border {
	width: 100%;
	margin: 4px 0;
	border-top: 1px dashed #dadada;
	/* Tạo đường kẻ ngang dạng dashed */
}

.justify-content {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #0056b3;
	font-weight: 500;
}

.captcha-centered {
	display: flex;
	justify-content: center;
	margin: 20px 0;
	/* Adjust the margin to control spacing */
}

.action-icon i {
	cursor: pointer;
	font-size: 18px;
}

#fixed-page-change {
	position: fixed;
	bottom: 30px;
	left: 93%;
	z-index: 999;
}

.custom-length-menu-top-lead {
	padding: 5px 10px;
	font-size: 14px;
	height: 100%;
	border: 1px solid #d3def1;
	border-radius: 4px;
	cursor: pointer;
}
.mw-2{
	min-width: 20px !important;
}
.mw-3{
	min-width: 30px !important;
}
.mw-1{
	min-width: 10px !important;
}
.mw-4{
	min-width: 40px !important;
}
.mw-5{
	min-width: 50px !important;
}
.mw-6{
	min-width: 60px !important;
}
.mw-10{
	min-width: 100px !important;
}
.mw-50{
	min-width: 100px !important;
}
.mw-100{
	min-width: 100px !important;
}
.mw-200{
	min-width: 100px !important;
}
.mw-300{
	min-width: 100px !important;
}
.centered-text {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(28, 12, 66);
    padding: 6px 12px;
    
    font-weight: bold;
  }
  .card-full-upload{
	cursor: pointer;
    width: 100%;
    height: 100%;

  }
  .boder-all{
	border-radius: 4px;
    border: 1px solid #39afd1;
  }
  .img-inside-card {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

.star {
    font-size: 24px;
    cursor: pointer;
    user-select: none;
  }
.star-favorite {
  color: red !important;
}
.star-not-favorite {
  color: #ccc !important;
}

/* Modal body chiếm full chiều cao có thể */
.modal-body-ct {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 120px); /* hoặc tùy theo modal header/footer */
  overflow: hidden;
}

/* Card chiếm hết modal-body */
.card-ct {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

/* Card body cần co giãn theo chiều dọc */


/* Tab content chiếm hết phần còn lại */
.tab-content-ct {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Editor wrapper chiếm hết chiều cao */
.quillFullHeight {
  flex: 1;
  min-height: 100px;
  height: 95% !important;
  overflow-y: auto;
}



  .wrap{max-width:1400px; margin:24px auto; padding:0 16px}

  /* Lưới ảnh kiểu giống UI mẫu */
  .grid-img{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:18px;
  }
  @media (max-width:1200px){.grid{grid-template-columns:repeat(4,1fr)}}
  @media (max-width:900px){.grid{grid-template-columns:repeat(3,1fr)}}
  @media (max-width:640px){.grid{grid-template-columns:repeat(2,1fr)}}

  .card-img{
    background:var(--card);
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
    transition:transform .15s ease, box-shadow .15s ease;
  }
  .card-img:hover{transform:translateY(-2px); box-shadow:0 12px 28px rgba(0,0,0,.35)}

  /* Chỉ hiển thị ảnh, cố định tỉ lệ giống card dọc */
  .thumb-img{ position:relative; aspect-ratio:4/5; background:#0b0e13; }
  .thumb-img img{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover;           /* Ảnh sẽ fill card, cắt phần thừa */
    display:block; opacity:0; transition:opacity .25s ease;
  }
  .thumb-img img.loaded{ opacity:1 }