body {
	background-color: #f6f6f6 !important;
}

@font-face {
	font-family: "Telkomsel Batik Sans Bold";
	font-weight: bold;
	src:
		/* url('../fonts/TelkomselBatikSans-Bold.woff2') format('woff2'), */ url("../../fonts/TelkomselBatikSans-Bold.woff")
			format("woff"),
		url("../../fonts/TelkomselBatikSans-Bold.ttf") format("truetype");
}

@font-face {
	font-family: "Telkomsel Batik Sans Regular";
	font-weight: normal;
	src:
		/* url('../fonts/TelkomselBatikSans-Regular.woff2') format('woff2'), */ url("../../fonts/TelkomselBatikSans-Regular.woff")
			format("woff"),
		url("../../fonts/TelkomselBatikSans-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "Poppins Bold";
	font-weight: bold;
	src:
		/* url('../fonts/Poppins-Bold.woff2') format('woff2'), */ url("../../fonts/Poppins-Bold.woff")
			format("woff"),
		url("../../fonts/Poppins-Bold.ttf") format("truetype");
}

@font-face {
	font-family: "Poppins Regular";
	font-weight: normal;
	src:
		/* url('../fonts/Poppins-Regular.woff2') format('woff2'), */ url("../../fonts/Poppins-Regular.woff")
			format("woff"),
		url("../../fonts/Poppins-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "Poppins Light";
	font-weight: lighter;
	src:
		/* url('../fonts/Poppins-Light.woff2') format('woff2'), */ url("../../fonts/Poppins-Light.woff")
			format("woff"),
		url("../../fonts/Poppins-Light.ttf") format("truetype");
}

.bg-menu-theme .menu-inner > .menu-item.active:before {
	background: #ee2d35;
}

.bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
	color: #ee2d35;
	background-color: rgba(250, 59, 65, 0.158) !important;
}

.note-modal-footer {
	height: 55px;
}

.note-editor.fullscreen .note-editable {
	background-color: white;
}

.dropdown-toggle::after {
	display: none;
}

.note-editor .note-toolbar .note-dropdown-menu,
.note-popover .popover-content .note-dropdown-menu {
	min-width: 180px !important;
	width: 100%;
	right: 0;
}

.note-dropdown-menu {
	text-align: center;
}

.note-btn-group.note-align {
	padding: 5px;
}

.note-palette-title {
	font-weight: 600;
	border-bottom: 2px solid #303030 !important;
}

.note-icon-menu-check:before {
	content: none;
}

.table .img-table {
	width: 100%;
	height: 100%;
	max-height: 100px;
	max-width: 200px;
	object-fit: cover;
}

.custom-nav {
	margin: 0px !important;
	width: 100% !important;
}

@media (max-width: 991.98px) {
	.custom-nav {
		width: 100% !important;
	}
}

.text-danger {
	color: #a90000 !important;
}

.text-secondary {
	color: #7c7c7c !important;
}

.btn-danger {
	background-color: #a90000 !important;
	background: #a90000 !important;
	border-color: #a90000 !important;
}

.btn-secondary {
	background-color: #7c7c7c !important;
	background: #7c7c7c !important;
	border-color: #7c7c7c !important;
}

.form-check-input:checked,
.form-check-input[type="checkbox"]:indeterminate {
	background-color: #a90000;
	border-color: #a90000;
	box-shadow: 0 2px 4px 0 rgba(255, 105, 105, 0.4);
}

.sidebar-label-brand {
	font-size: x-large;
	font-weight: 500;
}

.bg-menu-theme .menu-link {
	color: #7c7c7c !important;
	font-weight: 500;
}

.footer-menu {
	background-color: #ffffff !important;
	background: #ffffff !important;
	position: fixed;
	bottom: 0;
	height: 60px !important;
}

.layout-menu .menu-inner.ps--active-y {
	padding-bottom: 60px !important;
}

.rounded-4 {
	border-radius: 0.6rem !important;
}

.rounded-5 {
	border-radius: 0.7rem !important;
}

.rounded-6 {
	border-radius: 0.8rem !important;
}

.badge-custom {
	display: flex;
	align-items: center;
	font-size: 0.875rem;
	font-weight: 500;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	max-width: 185px;
}

.badge-custom .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 0.5rem;
}

.badge-success-custom {
	background-color: #c6e3d6;
	color: #049b54;
}

.badge-success-custom .dot {
	background-color: #15985b;
}

.badge-danger-custom {
	background-color: #f8d7da;
	color: #842029;
}

.badge-danger-custom .dot {
	background-color: #dc3545;
}

.badge-secondary-custom {
	background-color: #e8dedf;
	color: #6c6c6c;
}

.badge-secondary-custom .dot {
	background-color: #6c6c6c;
}

.badge-warning-custom {
	background-color: #f8e7d7;
	color: #e58013;
}

.badge-warning-custom .dot {
	background-color: #e58013;
}

.badge-primary-custom {
	background-color: #d7e9f8;
	color: #136ee5;
}

.badge-primary-custom .dot {
	background-color: #1383e5;
}

.page-item.active .page-link,
.page-item.active .page-link:hover,
.page-item.active .page-link:focus,
.pagination li.active > a:not(.page-link),
.pagination li.active > a:not(.page-link):hover,
.pagination li.active > a:not(.page-link):focus {
	border-color: #842029;
	background-color: #842029;
	color: #fff;
	box-shadow: 0 0.125rem 0.25rem rgba(105, 108, 255, 0.4);
}

.bg-menu-theme
	.menu-sub
	> .menu-item.active
	> .menu-link:not(.menu-toggle):before {
	background-color: #842029 !important;
	border: 3px solid #e7e7ff !important;
	animation: radar 2s infinite;
}

.daterangepicker .ranges li.active {
	background-color: #a90000 !important;
	color: #fff;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
	background-color: #a90000 !important;
	border-color: transparent;
	color: #fff;
}

@keyframes radar {
	0% {
		transform: scale(0.5);
		opacity: 1;
	}

	100% {
		transform: scale(2.5);
		opacity: 0;
	}
}

.radar-dot {
	animation: radar 2s infinite;
}

.reportrange {
	background: #fff;
	cursor: pointer;
	padding: 5px 10px;
	width: 100%;
	max-width: 350px;
	border: 0px;
}

.custom-tab p {
	font-size: 14px;
}

.custom-tab small {
	font-size: 10px;
}

.unit-list,
.tab-block {
	overflow: auto;
	margin-bottom: 10px;
}

.unit-list::-webkit-scrollbar-track,
.tab-block::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.9);
	border-radius: 10px;
	background-color: #cccccc;
}

.unit-list::-webkit-scrollbar,
.tab-block::-webkit-scrollbar {
	width: 7px;
	height: 7px;
	background-color: #f5f5f5;
}

.unit-list::-webkit-scrollbar-thumb,
.tab-block::-webkit-scrollbar-thumb {
	border-radius: 5px;
	background-color: #d62929;
	background-image: -webkit-linear-gradient(
		90deg,
		transparent,
		rgba(0, 0, 0, 0.4) 50%,
		transparent,
		transparent
	);
}

.list-block button {
	color: #a90000;
}

.list-block.active button {
	color: #fff;
}

.dataTables_scrollHeadInner {
	width: 100% !important;
}

.spin {
	animation-name: spin;
	animation-duration: 1000ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	/* transform: rotate(3deg); */
	/* transform: rotate(0.3rad);/ */
	/* transform: rotate(3grad); */
	/* transform: rotate(.03turn);  */
}

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

	to {
		transform: rotate(360deg);
	}
}

.skeleton-container .skeleton {
	background-color: #9f9f9f86;
	border-radius: 4px;
	position: relative;
	overflow: hidden;
	width: 50%;
}

.skeleton-container .skeleton::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: -100%;
	height: 100%;
	width: 100%;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.2) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	animation: shimmer 2s infinite;
}

.skeleton-container .skeleton.skeleton-text {
	height: 10px;
	width: 100%;
	margin-bottom: 10px;
}

.skeleton-container .skeleton.skeleton-avatar {
	height: 40px;
	width: 40px;
	border-radius: 50%;
	margin-bottom: 20px;
}

@keyframes shimmer {
	0% {
		left: -100%;
	}

	100% {
		left: 100%;
	}
}

.w-45 {
	width: 45%;
}

.w-65 {
	width: 65%;
}

.subtable thead > tr {
	background-color: #e9e9ea;
}

.subtable tr th {
	color: #534d59;
}

.dataTables_scrollBody .subtable thead tr th {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}

.text-success {
	color: #198754 !important;
}

.ic-size-30 {
	font-size: 30px;
}

.ic-dropdown {
	width: 20px;
}

.nominal {
	text-align: end;
	font-weight: bold;
	font-size: 18px;
}

.icon-card-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 3.375rem;
	height: 3.375rem;
	gap: 20px;
}

.icon-circle {
	border-radius: 50%;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.icon-inner-circle {
	border-radius: 50%;
	width: 85%;
	height: 85%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.icon-card {
	color: white;
	font-size: 150%;
}

.red-circle {
	background-color: #fce8e8;
}

.red-inner-circle {
	background-color: #a00000;
}

.blue-circle {
	background-color: #e0eefc;
}

.blue-inner-circle {
	background-color: #4196f0;
}

.grey-circle {
	background-color: #f2f2f2;
}

.grey-inner-circle {
	background-color: #b0aeaf;
}

.green-circle {
	background-color: #d6ede6;
}

.green-inner-circle {
	background-color: #009262;
}

/* bg arrow */
.bg-arrow {
	display: inline-block;
	color: white;
	padding: 0.5em 1.2em;
	/* Menggunakan em agar padding menyesuaikan */
	font-weight: bold;
	position: relative;
	margin-bottom: 10px;
}

.bg-arrow::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: -0.9em;
	width: 0;
	height: 0;
	border-top: 1.3em solid transparent;
	border-bottom: 1.3em solid transparent;
	border-left: 1em solid;
}

/* Warna Panah */
.bg-arrow-red {
	background-color: #a00000;
}

.bg-arrow-red::after {
	border-left-color: #a00000;
}

.bg-arrow-orange {
	background-color: #ff9900;
}

.bg-arrow-orange::after {
	border-left-color: #ff9900;
}

.bg-arrow-green {
	background-color: #009262;
}

.bg-arrow-green::after {
	border-left-color: #009262;
}

.bg-arrow-blue {
	background-color: #4196f0;
}

.bg-arrow-blue::after {
	border-left-color: #4196f0;
}

.bg-arrow-grey {
	background-color: #b0aeaf;
}

.bg-arrow-grey::after {
	border-left-color: #b0aeaf;
}

.badge.bg-success,
.btn.btn-success {
	background-color: #009262 !important;
}

.layout-menu .menu-inner li,
.dropdown-menu a {
	cursor: pointer;
}

.loading-bar-container {
	width: 100%;
	height: 4px;
	background-color: #ffffff;
	overflow: hidden;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
}

.loading-bar {
	width: 0%;
	height: 100%;
	background-color: #a00000;
	transition: width 1s ease;
	/* Animasi smooth ke 100% */
}

.reportdate,
.reportrange,
.date-label-picker {
	background-color: #eceef1;
	border: 2px solid #e4e4e4;
	padding: 5px;
	border-radius: 0.8rem;
	max-width: 240px;
	text-align: center !important;
	align-content: center;
}

.mh-100 {
	max-width: 100% !important;
}

/* input,
select,
button {
  min-height: 40px !important;
  border-radius: 10px !important;
} */

/* 404 */
.not-found {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	align-content: center;
	width: 100%;
	height: 100%;
	padding: 12px;
	perspective: 1000px;
	overflow-x: hidden;
	/* Overflow-y is optional */
	overflow-y: hidden;
}

.not-found > div {
	display: flex;
	justify-content: center;
	width: 100%;
}

.not-found > div svg {
	height: 100%;
}

.not-found > div:nth-child(1) {
	opacity: 0;
	transform: translateZ(1000px);
	animation: zoomFadeIn 5000ms cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
	transform-origin: center;
}

.not-found > div:nth-child(1) .error-1-e {
	transform: translateX(-50%);
	animation: slideRight 3000ms cubic-bezier(0.215, 0.61, 0.355, 1) -500ms forwards;
}

.not-found > div:nth-child(1) .error-2-r {
	transform: translateY(-20%);
	animation: slideDown 5000ms cubic-bezier(0.215, 0.61, 0.355, 1) -500ms forwards;
}

.not-found > div:nth-child(1) .error-4-o {
	transform: translateX(10%);
	animation: slideLeftSmall 3000ms cubic-bezier(0.215, 0.61, 0.355, 1) -300ms forwards;
}

.not-found > div:nth-child(1) .error-5-r {
	transform: translateX(50%);
	animation: slideLeft 3000ms cubic-bezier(0.215, 0.61, 0.355, 1) -500ms forwards;
}

.not-found > div:nth-child(1) .error-2-0 {
	transform: translateY(20%);
	animation: slideUp 5000ms cubic-bezier(0.215, 0.61, 0.355, 1) -500ms forwards;
}

.not-found > div:nth-child(1) .error-top,
.not-found > div:nth-child(1) .error-left,
.not-found > div:nth-child(1) .error-right {
	transform: scaleX(0);
	animation: scaleXIn 4500ms cubic-bezier(0.19, 1, 0.22, 1) 1500ms forwards;
}

.not-found > div:nth-child(2) .quote-top,
.not-found > div:nth-child(2) .quote-bottom {
	opacity: 0;
	animation: slideUpFadeIn 1500ms cubic-bezier(0.215, 0.61, 0.355, 1) 4750ms
		forwards;
}

.not-found > div:nth-child(2) .quote-bottom {
	animation-delay: 5750ms;
}

.not-found > div:nth-child(3) .link-phrase,
.not-found > div:nth-child(3) .link-mark {
	opacity: 0;
	animation: slideUpFadeIn 1000ms cubic-bezier(0.215, 0.61, 0.355, 1) 6250ms
		forwards;
}

.not-found > div:nth-child(3) .link-mark {
	animation: fadeIn 1000ms cubic-bezier(0.215, 0.61, 0.355, 1) 6750ms forwards;
}

.not-found > div:nth-child(3) a {
	cursor: pointer;
	transition: transform 0.3s ease, fill 0.2s ease-out;
}

.not-found > div:nth-child(3) a:hover,
.not-found > div:nth-child(3) a:focus {
	animation: jitter 225ms ease-in-out 2 forwards;
}

.not-found > div:nth-child(3) a:hover .top use,
.not-found > div:nth-child(3) a:focus .top use {
	fill: white;
}

.not-found > div:nth-child(3) a:active .top use {
	fill: #b30000;
}

@keyframes slideDown {
	0% {
		transform: translateY(-20%);
	}

	100% {
		transform: none;
	}
}

@keyframes slideUp {
	0% {
		transform: translateY(20%);
	}

	100% {
		transform: none;
	}
}

@keyframes slideRight {
	0% {
		transform: translateX(-50%);
	}

	100% {
		transform: none;
	}
}

@keyframes slideLeft {
	0% {
		transform: translateX(50%);
	}

	100% {
		transform: none;
	}
}

@keyframes slideLeftSmall {
	0% {
		transform: translateX(10%);
	}

	100% {
		transform: none;
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes slideUpFadeIn {
	0% {
		transform: translateY(50%);
		opacity: 0;
	}

	100% {
		transform: none;
		opacity: 1;
	}
}

@keyframes scaleXIn {
	0% {
		transform: scaleX(0);
	}

	100% {
		transform: none;
	}
}

@keyframes zoomFadeIn {
	0% {
		opacity: 0;
		transform: translateZ(100px);
	}

	100% {
		opacity: 1;
		transform: none;
	}
}

@keyframes jitter {
	0% {
		transform: translateX(0px) translateY(0px);
		opacity: 1;
	}

	10% {
		transform: translateX(2px) translateY(2px);
		opacity: 0.8;
	}

	20% {
		transform: translateX(0px) translateY(0px);
		opacity: 0.47;
	}

	30% {
		transform: translateX(0px) translateY(2px);
		opacity: 0.3;
	}

	70% {
		transform: translateX(-1px) translateY(1px);
		opacity: 0.96;
	}

	80% {
		transform: translateX(0px) translateY(-2px);
		opacity: 0.9;
	}

	90% {
		transform: translateX(1px) translateY(-2px);
		opacity: 0.81;
	}

	100% {
		transform: translateX(0) translateY(0);
		opacity: 1;
	}
}

.img-loader-captcha {
	width: 35px;
}

.card[class*="card-border-shadow-"] {
	border-block-end: none;
	transition: all 0.2s ease-in-out;
}

.card-border-shadow-primary {
	--bs-card-border-bottom-color: color-mix(
		in sRGB,
		var(--bs-card-bg) 60%,
		var(--bs-primary)
	);
	--bs-card-hover-border-bottom-color: var(--bs-primary);
}

.canvas-dash {
	min-height: 300px !important;
}

.chart-scroll {
	width: 100%;
	overflow-x: visible;
}

.chart-container {
	position: relative;
	width: 100%;
	height: 400px;
	min-width: unset;
}

@media (max-width: 768px) {
	.chart-scroll {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.chart-container {
		min-width: 1200px;
	}
}

.icon-shadow-overlay {
	position: absolute;
	bottom: -10px;
	right: -10px;
	z-index: 1;
	opacity: 0.1;
	font-size: 3rem !important;
	line-height: 1;
	transition: opacity 0.3s ease;
}

.card:hover .icon-shadow-overlay {
	opacity: 0.15;
}

.card-body h1 {
	font-weight: 700;
}

.spinner-w {
	width: 1.5rem !important;
	height: 1.5rem !important;
	border: 5px solid currentColor !important;
	border-right-color: transparent !important;
	border-radius: 50% !important;
}

#main-content-area {
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.page-leave {
	opacity: 0;
	transform: translateY(10px);
}

.page-enter {
	opacity: 0;
	transform: translateY(-10px);
}

.page-enter-active {
	opacity: 1;
	transform: translateY(0);
}

.modal-backdrop-custom {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(33, 37, 41, 0.7);
	z-index: 1040;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow-y: auto;
	padding: 20px;
}

.modal-backdrop-custom .authentication-modal-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 400px;
	margin: auto;
}

.modal-backdrop-custom .authentication-card-center {
	width: 100%;
	max-width: 400px;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
}

@media (max-width: 450px) {
	.modal-backdrop-custom .authentication-modal-container {
		max-width: 90%;
	}
}

/* ========================================================================= */
/* Revisi CSS untuk File Upload Dinamis (Menggabungkan Gaya Bootstrap) */
/* ========================================================================= */

.upload-app * {
	/* Tetap jaga box-sizing untuk elemen internal jika Anda tidak menggunakan global reset */
	box-sizing: border-box;
}

/* FilePond Root Styling (Mengganti Gaya Custom) */
.upload-app .filepond--root {
	/* Gunakan kelas Bootstrap untuk border dan shadow, atau gaya minimalis */
	border: 2px dashed var(--bs-border-color-translucent);
	/* Border standar Bootstrap */
	border-radius: var(--bs-border-radius-lg);
	background: var(--bs-light-bg-subtle);
	/* Warna background light Bootstrap */
	transition: all 0.3s ease;
	cursor: pointer;
	margin-bottom: 0 !important;
	/* Hilangkan margin default FilePond */
}

.upload-app .filepond--root:hover {
	border-color: var(--bs-primary);
	/* Warna primary Bootstrap saat hover */
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
	/* Focus shadow Bootstrap */
}

/* Drop Label */
.upload-app .filepond--drop-label {
	color: var(--bs-secondary-color);
	font-size: 16px;
	padding: 30px 20px;
}

.upload-app .filepond--label-action {
	color: var(--bs-primary);
	/* Warna primary Bootstrap */
	text-decoration: none;
	font-weight: 600;
}

/* Item Panel dan Drip Blob (Gaya Visual FilePond) */
.upload-app .filepond--item-panel {
	background: var(--bs-primary) !important;
	/* Warna primary Bootstrap */
}

.upload-app .filepond--drip-blob {
	background: var(--bs-primary) !important;
}

/* ==================================== */
/* Preview Grid (Integrasi Bootstrap) */
/* ==================================== */

/* Menggunakan flex-wrap dan gap untuk responsivitas */
.upload-app .preview-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 10px;
}

.upload-app .preview-item {
	position: relative;
	border: 2px solid var(--bs-border-color-translucent);
	border-radius: var(--bs-border-radius);
	overflow: hidden;
	background: white;
	transition: all 0.3s ease;
	/* Lebar item minimal */
	width: 200px;
	height: 200px;
	flex-grow: 1;
	/* Biarkan item tumbuh sedikit jika ruang memungkinkan */
	max-width: 220px;
	cursor: pointer;
}

.upload-app .preview-item:hover {
	transform: translateY(-2px);
	box-shadow: var(--bs-box-shadow-sm);
	border-color: var(--bs-primary);
}

.upload-app .preview-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.upload-app .preview-info {
	padding: 10px;
	text-align: left;
	position: absolute;
	bottom: 8px;
	width: 92%;
	color: #ffffff;
	background-color: rgb(0 0 0 / 33%);
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.upload-app .file-name {
	font-size: 12px;
	font-weight: 600;
	color: var(--bs-heading-color);
	margin-bottom: 5px;
	word-break: break-all;
}

/* Aksi Preview: Menggunakan badge/button Bootstrap */
.upload-app .btn-action {
	background: rgba(0, 0, 0, 0.7);
	color: white;
	border: none;
	border-radius: 50%;
	width: 28px;
	height: 28px;
	cursor: pointer;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.upload-app .btn-remove {
	background: var(--bs-danger);
}

.upload-app .btn-main {
	background: var(--bs-success);
}

.upload-app .preview-item.main-image {
	border-color: var(--bs-warning);
	border-width: 3px;
}

.upload-app .preview-item.main-image::before {
	content: "⭐ UTAMA";
	position: absolute;
	top: 5px;
	left: 5px;
	background: var(--bs-warning);
	color: var(--bs-black);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 8px;
	font-weight: bold;
	z-index: 2;
}

/* ==================================== */
/* Upload Stats (Disederhanakan) */
/* ==================================== */

.upload-app .upload-stats {
	/* Gaya ini sudah ditangani oleh alert-primary di HTML */
	margin-top: 20px;
	padding: 15px;
	border-left: 4px solid var(--bs-primary) !important;
}

.upload-app .stats-count {
	font-weight: 700;
	color: var(--bs-primary);
}

/* product */
.product-add [data-check-id] {
	transition: all 0.3s ease;
}

.product-add .check-icon {
	transition: all 0.3s ease;
}

.product-add .list-group-item {
	border: none !important;
	padding: 8px 0 !important;
}

/* Style untuk preview images */
.product-add .preview-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 10px;
}

.product-add .preview-item {
	position: relative;
	border: 2px solid #e9ecef;
	border-radius: 8px;
	padding: 8px;
	background: white;
	transition: all 0.3s ease;
}

.product-add .preview-item.main-image {
	border-color: #ffc107;
	box-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.product-add .preview-item img {
	width: 100%;
	object-fit: contain;
	border-radius: 4px;
}

.product-add .preview-info {
	margin-top: 5px;
	font-size: 11px;
}

.product-add .file-name {
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.product-add .btn-remove {
	position: absolute;
	top: 5px;
	right: 5px;
	background: rgba(220, 53, 69, 0.9);
	color: white;
	border: none;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	font-size: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.product-add .btn-remove:hover {
	background: #dc3545;
	transform: scale(1.1);
}

.product-add .preview-item.deleting {
	opacity: 0.6;
	pointer-events: none;
}

.product-add .preview-item.deleting::after {
	content: "Menghapus...";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 12px;
}

.product-add .preview-item.sortable-image {
	cursor: move;
}

.product-add .preview-item.ui-sortable-helper {
	transform: rotate(5deg);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.product-add .sortable-placeholder {
	background-color: #f8f9fa;
	border: 2px dashed #dee2e6;
	border-radius: 8px;
	min-height: 120px;
}

.product-add .preview-item .btn-move {
	color: #6c757d;
	background: transparent;
	border: none;
	cursor: move;
}

.product-add .preview-item .btn-move:hover {
	color: #495057;
}

.product-add .preview-actions {
	display: flex;
	gap: 5px;
	justify-content: center;
}

/* lockdown.css */
.lockdown-disabled {
	pointer-events: none !important;
	opacity: 0.3 !important;
	cursor: not-allowed !important;
	user-select: none !important;
}

/* Pastikan form upload tetap berfungsi */
#product-form,
#product-form * {
	pointer-events: auto !important;
	opacity: 1 !important;
	cursor: pointer !important;
	user-select: auto !important;
}

#product-form button,
#product-form button span {
	cursor: pointer !important;
}

/* Upload buttons tetap aktif */
#triggerThumbnailBtn,
#triggerAdditionalBtn,
#AddVariantBtn,
.btn-submit {
	pointer-events: auto !important;
	opacity: 1 !important;
}

/* notification */
.notif-sidebar {
	position: fixed;
	top: 0;
	right: -100%;
	width: 90%;
	max-width: 380px;
	height: 100vh;
	z-index: 1055;
	transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	background-color: #ffffff;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
	display: flex;
	flex-direction: column;
}

.notif-sidebar.open {
	right: 0;
}

.notif-header {
	border-bottom: 1px solid #e9ecef;
	flex-shrink: 0;
}

.notif-body {
	flex-grow: 1;
	overflow-y: auto;
	padding: 1rem;
}

.notif-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 1050;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease;
}

.notif-overlay.visible {
	opacity: 1;
	visibility: visible;
}

/* Item notifikasi */
.notif-item {
	background-color: #ffffff;
	border-radius: 0.5rem;
	margin-bottom: 0.75rem;
	transition: background-color 0.15s ease, transform 0.15s ease;
	cursor: pointer;
	position: relative;
}

.notif-item:hover {
	background-color: #f8f9fa;
	transform: translateY(-1px);
}

.notif-unread {
	background-color: #e9f7ff;
	border-left: 3px solid #0d6efd !important;
}

/* Dot merah untuk unread */
.notif-unread::before {
	content: "";
	position: absolute;
	top: 0.75rem;
	left: 0.5rem;
	width: 8px;
	height: 8px;
	background-color: #dc3545;
	border-radius: 50%;
	animation: pulse 2s infinite;
}

/* Badge counter */
#unread-count {
	font-size: 0.75rem;
	padding: 0.2rem 0.4rem;
	background-color: #dc3545 !important;
}

/* Animations */
@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.2);
		opacity: 0.7;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes slideInRight {
	from {
		transform: translateX(100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive */
@media (max-width: 768px) {
	.notif-sidebar {
		width: 100%;
		max-width: 100%;
	}

	.notif-item {
		padding: 0.875rem !important;
	}
}

/* Badge notification di navbar */
.notif-badge {
	top: -5px;
	right: -5px;
	min-width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #ffffff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	animation: badgePulse 2s infinite;
}

/* Animasi untuk badge */
@keyframes badgePulse {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
	}
	70% {
		transform: scale(1.1);
		box-shadow: 0 0 0 6px rgba(220, 53, 69, 0);
	}
	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
	}
}

/* Untuk notifikasi baru (dalam 1 menit) */
.notif-badge.hot {
	background-color: #ff0000 !important;
	animation: badgeHot 1s infinite alternate;
}

@keyframes badgeHot {
	from {
		background-color: #ff0000;
		transform: scale(1);
	}
	to {
		background-color: #ff6b6b;
		transform: scale(1.2);
	}
}

/* Prevent body scroll when sidebar is open */
body.no-scroll {
	overflow: hidden;
}

/* Container Tabs */
.orders-tabs-container {
	position: relative;
	background: #fff;
	border-radius: 8px;
	padding: 5px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.orders-tabs-scroll {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.orders-tabs-scroll::-webkit-scrollbar {
	height: 6px;
}

.orders-tabs-scroll::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 3px;
}

.orders-tabs-scroll::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 3px;
}

/* Main Tabs */
.orders-main-tab {
	display: flex;
	flex-wrap: nowrap;
	min-width: fit-content;
	border-bottom: none;
	gap: 2px;
}

.orders-main-tab .nav-item {
	flex-shrink: 0;
}

.orders-main-tab .nav-link {
	display: flex;
	align-items: center;
	padding: 10px 20px;
	border: 1px solid #e0e0e0;
	border-radius: 6px 6px 0 0;
	background: #f8f9fa;
	color: #6c757d;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	white-space: nowrap;
	margin-right: 2px;
	border-bottom: 3px solid transparent;
}

.orders-main-tab .nav-link:hover {
	background: #e9ecef;
	color: #495057;
	border-color: #dee2e6;
}

.orders-main-tab .nav-link.active {
	background: #fff;
	color: #0d6efd;
	border-color: #0d6efd #e0e0e0 #fff;
	border-bottom: 3px solid #0d6efd;
	font-weight: 600;
	box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}

/* Sub Tabs */
.orders-subtabs-container {
	background: #f8f9fa;
	border-radius: 6px;
	padding: 10px;
	border: 1px solid #e0e0e0;
}

.orders-subtabs-scroll {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

.orders-sub-tab {
	display: flex;
	flex-wrap: nowrap;
	min-width: fit-content;
	gap: 5px;
}

.orders-sub-tab .nav-item {
	flex-shrink: 0;
}

.orders-sub-tab .nav-link {
	display: flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 50px;
	background: #fff;
	color: #6c757d;
	font-size: 13px;
	font-weight: 500;
	border: 1px solid #dee2e6;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.orders-sub-tab .nav-link:hover {
	background: #e9ecef;
	color: #495057;
}

.orders-sub-tab .nav-link.active {
	background: #0d6efd;
	color: #fff;
	border-color: #0d6efd;
	font-weight: 600;
}

.orders-main-tab.nav-tabs .nav-link.active:hover,
.orders-main-tab.nav-tabs .nav-link.active:focus {
	border-bottom-color: #0d6efd !important;
}
/* Badges */
.orders-badge {
	font-size: 11px;
	padding: 3px 6px;
	min-width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
}

.orders-sub-badge {
	font-size: 10px;
	padding: 2px 5px;
	min-width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.orders-tabs-container {
		padding: 3px;
	}

	.orders-main-tab .nav-link {
		padding: 8px 12px;
		font-size: 13px;
	}

	.orders-sub-tab .nav-link {
		padding: 6px 12px;
		font-size: 12px;
	}

	.orders-badge {
		font-size: 10px;
		padding: 2px 5px;
		min-width: 18px;
		height: 18px;
	}

	.orders-sub-badge {
		font-size: 9px;
		padding: 1px 4px;
		min-width: 16px;
		height: 16px;
	}

	.orders-main-tab .nav-link i,
	.orders-sub-tab .nav-link i {
		margin-right: 3px;
	}
}

@media (max-width: 576px) {
	.orders-main-tab .nav-link span:not(.orders-badge),
	.orders-sub-tab .nav-link span:not(.orders-sub-badge) {
		display: none;
	}

	.orders-main-tab .nav-link {
		padding: 10px;
		font-size: 16px;
	}

	.orders-sub-tab .nav-link {
		padding: 8px;
		font-size: 14px;
	}

	.orders-main-tab .nav-link i,
	.orders-sub-tab .nav-link i {
		margin-right: 0;
	}
}

/* Hide text on extra small screens */
@media (max-width: 400px) {
	.orders-main-tab .nav-link {
		min-width: 40px;
		justify-content: center;
	}

	.orders-sub-tab .nav-link {
		min-width: 36px;
		justify-content: center;
	}
}

/* Override untuk table-striped pada order baru */
 tbody tr.order-new-highlight {
	background-color: rgba(13, 110, 253, 0.08) !important;
	border-left: 3px solid #0d6efd !important;
}

/* Pastikan tidak ada background striped yang menimpa */
 tbody tr.order-new-highlight:nth-of-type(odd),
 tbody tr.order-new-highlight:nth-of-type(even) {
	background-color: rgba(13, 110, 253, 0.08) !important;
}

/* Indicator di kolom pertama */
.order-new-highlight td:first-child {
	position: relative;
}

.order-new-indicator {
	position: absolute;
	left: 5px;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	background-color: #0d6efd;
	border-radius: 50%;
	animation: pulse 2s infinite;
}

/* Badge khusus untuk status baru */
.order-new-badge {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
}

/* Animasi untuk indicator */
@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
		transform: translateY(-50%) scale(1);
	}
	50% {
		box-shadow: 0 0 0 6px rgba(13, 110, 253, 0);
		transform: translateY(-50%) scale(1.2);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
		transform: translateY(-50%) scale(1);
	}
}

/* Hover effect khusus untuk order baru */
 tbody tr.order-new-highlight:hover {
	background-color: rgba(13, 110, 253, 0.12) !important;
	transform: scaleY(1.03);
	transition: all 0.2s ease;
}
/* 
 tbody tr.order-new-highlight:hover {
    background-color: rgba(13, 110, 253, 0.12) !important;
    transform: translateX(2px);
    transition: all 0.2s ease;
} */

/* Alternatif: Gunakan background dengan gradient */
 tbody tr.order-new-highlight {
	background: linear-gradient(
		90deg,
		rgba(13, 110, 253, 0.05) 0%,
		rgba(13, 110, 253, 0.02) 3%,
		rgba(13, 110, 253, 0.01) 100%
	) !important;
	border-left: 4px solid #0d6efd !important;
	position: relative;
}

/* Striped pattern yang tidak menimpa */
.table-striped
	> tbody
	> tr.order-new-highlight:nth-of-type(odd)
	> *,
.table-striped
	> tbody
	> tr.order-new-highlight:nth-of-type(even)
	> * {
	--bs-table-accent-bg: transparent !important;
	color: var(--bs-table-striped-color);
}

/* Alternatif 2: Gunakan important untuk override */
.table-striped tbody tr.order-new-highlight {
	--bs-table-accent-bg: rgba(13, 110, 253, 0.08) !important;
	background-color: rgba(13, 110, 253, 0.08) !important;
}

/* Untuk memastikan tidak ada konflik dengan Bootstrap */
.table-striped > tbody > tr.order-new-highlight {
	--bs-table-striped-bg: rgba(13, 110, 253, 0.08) !important;
	background-color: rgba(13, 110, 253, 0.08) !important;
}

/* Responsive */
@media (max-width: 768px) {
	 tbody tr.order-new-highlight {
		border-left-width: 3px !important;
	}

	.order-new-indicator {
		width: 6px;
		height: 6px;
	}
}
/* Tambahkan di CSS Anda */
.orders-main-tab .nav-link.disabled,
.orders-sub-tab .nav-link.disabled {
	opacity: 0.5;
	cursor: not-allowed !important;
}

.orders-main-tab .nav-link.disabled:hover,
.orders-sub-tab .nav-link.disabled:hover {
	background-color: transparent;
	border-color: transparent;
}

.variant-header {
    cursor: pointer;
    transition: background-color 0.2s;
}

.variant-header:hover {
    background-color: #f8f9fa;
}

.variant-toggle-icon {
    transition: transform 0.3s;
}

.cursor-pointer {
    cursor: pointer;
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.variant-table {
	border-radius: 8px;
	overflow: hidden;
}

.variant-table thead th {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.variant-low-stock {
	background-color: #fff5f5 !important;
}

.variant-table tbody tr:hover {
	background-color: #f8fafc;
}

.variant-table .btn-group .btn {
	padding: 2px 8px;
	border-radius: 6px;
}
/* tabel varian - unik */
table.xp-variant-table {
	width: 100% !important;
}

/* kolom aksi */
table.xp-variant-table .xp-col-action {
	white-space: normal !important;
	min-width: 420px;
}

/* toolbar tombol */
table.xp-variant-table .xp-action-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	justify-content: flex-start;
}

/* tombol aksi */
table.xp-variant-table .xp-action-toolbar .btn {
	white-space: nowrap;
	font-size: 12px;
	padding: 2px 8px;
	line-height: 1.4;
}
/* wrapper toolbar */
table.xp-variant-table .xp-action-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

/* divider vertikal */
table.xp-variant-table .xp-action-divider {
	width: 1px;
	height: 26px;
	background-color: #dee2e6;
	margin: 0 8px;
}

/* grup tombol */
table.xp-variant-table .xp-action-group {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}


.xp-variant-card {
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	transition: all .15s ease;
	background: #ffffff;
}

.xp-variant-card:hover {
	border-color: #d1d5db;
	transform: translateY(-2px);
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.xp-discount-ribbon {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 5;
}

.xp-discount-ribbon .badge {
	font-size: .7rem;
	padding: .35rem .55rem;
	border-radius: .25rem;
	background: #fff3cd;
	color: #664d03;
	border: 1px solid #ffeeba;
}

.xp-sku-code {
	background: #f3f4f6;
	padding: 2px 4px;
	border-radius: 3px;
	font-size: .8rem;
	color: #6b7280;
	font-family: monospace;
}

.xp-discount-info {
	background: #fff8e1;
	border-left: 3px solid #fbbf24;
	padding: .65rem .75rem;
	border-radius: .25rem;
	font-size: .85rem;
}

.badge-stock {
	font-size: .75rem;
	padding: .3rem .5rem;
	border-radius: .25rem;
}

.xp-variant-card .btn-sm {
	font-size: .75rem;
	padding: .35rem;
}

.xp-variant-card .btn-sm i {
	margin-right: .25rem;
	font-size: .8rem;
}

@media (max-width: 768px) {
	.xp-variant-card .btn span {
		display: none;
	}

	.xp-discount-ribbon {
		top: 8px;
		right: 8px;
	}
}

