:root {
	/* Background Sidebar (Deep Forest) */
	--sidebar-bg-start: #064e3b; /* Emerald 900 */
	--sidebar-bg-end: #022c22; /* Lebih gelap lagi */

	/* Text Color */
	--text-color: #ffffff;
	--hover-bg: rgba(255, 255, 255, 0.15);

	/* Active Menu State (Lime/Bright Green biar kontras) */
	--active-bg-start: #059669;
	--active-bg-end: #047857;
	--active-box-shadow: rgba(0, 0, 0, 0.2);

	/* Submenu */
	--submenu-bg: #022c22;
	--usercard-bg: rgba(0, 0, 0, 0.2);
	--usercard-hover-bg: rgba(0, 0, 0, 0.3);
}
body {
	background: linear-gradient(
		135deg,
		#f6f6f6 0%,
		#e9ecf1 50%,
		#fdfdfd 100%
	) !important;
}

@font-face {
	font-family: "Telkomsel Batik Sans Bold";
	font-weight: bold;
	src: 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.woff") format("woff"),
		url("../../fonts/TelkomselBatikSans-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "Poppins Bold";
	font-weight: bold;
	src: 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.woff") format("woff"),
		url("../../fonts/Poppins-Regular.ttf") format("truetype");
}

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

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

.bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
	color: #e62129;
	background-color: rgb(255 255 255 / 16%) !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;
}

@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 {
	display: inline-block;
	color: white;
	padding: 0.5em 1.2em;

	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;
}

.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;
}

.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;
}

.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: 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;
}

.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: 2040;
	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%;
	}
}

.upload-app * {
	box-sizing: border-box;
}

.upload-app .filepond--root {
	border: 2px dashed var(--bs-border-color-translucent);

	border-radius: var(--bs-border-radius-lg);
	background: var(--bs-light-bg-subtle);

	transition: all 0.3s ease;
	cursor: pointer;
	margin-bottom: 0 !important;
}

.upload-app .filepond--root:hover {
	border-color: var(--bs-primary);

	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.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);

	text-decoration: none;
	font-weight: 600;
}

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

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

.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;

	width: 200px;
	height: 200px;
	flex-grow: 1;

	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;
}

.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-app .upload-stats {
	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-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;
}

.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-disabled {
	pointer-events: none !important;
	opacity: 0.3 !important;
	cursor: not-allowed !important;
	user-select: none !important;
}

#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;
}

#triggerThumbnailBtn,
#triggerAdditionalBtn,
#AddVariantBtn,
.btn-submit {
	pointer-events: auto !important;
	opacity: 1 !important;
}

.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;
	height: 64px;
}

.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;
}

.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;
}

.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;
}

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

@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);
	}
}

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

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

.notif-badge {
	position: absolute;
	top: -15px;
	right: -5px;
	min-width: 18px;
	font-size: 0.75rem;
	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;
}

.notif-badge2 {
	top: -5px;
}

@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);
	}
}

.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);
	}
}

body.no-scroll {
	overflow: hidden;
}

.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;
}

.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);
}

.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;
}

.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;
}

@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;
	}
}

@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;
	}
}

tbody tr.order-new-highlight {
	background-color: rgba(13, 110, 253, 0.08) !important;
	border-left: 3px solid #0d6efd !important;
}

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;
}

.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;
}

.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);
}

@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);
	}
}

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 {
	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;
}

.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);
}

.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;
}

.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;
}

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

	.order-new-indicator {
		width: 6px;
		height: 6px;
	}
}

.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: 0.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;
}

table.xp-variant-table {
	width: 100% !important;
}

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

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

table.xp-variant-table .xp-action-toolbar .btn {
	white-space: nowrap;
	font-size: 12px;
	padding: 2px 8px;
	line-height: 1.4;
}

table.xp-variant-table .xp-action-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

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

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 0.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: 0.7rem;
	padding: 0.35rem 0.55rem;
	border-radius: 0.25rem;
	background: #fff3cd;
	color: #664d03;
	border: 1px solid #ffeeba;
}

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

.xp-discount-info {
	background: #fff8e1;
	border-left: 3px solid #fbbf24;
	padding: 0.65rem 0.75rem;
	border-radius: 0.25rem;
	font-size: 0.85rem;
}

.badge-stock {
	font-size: 0.75rem;
	padding: 0.3rem 0.5rem;
	border-radius: 0.25rem;
}

.xp-variant-card .btn-sm {
	font-size: 0.75rem;
	padding: 0.35rem;
}

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

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

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

.dt-img-wrapper {
	width: 50px;
	height: 50px;
	position: relative;
	overflow: hidden;
	border-radius: 6px;
}

.dt-shimmer {
	width: 100%;
	height: 100%;
	background: #e3e3e3;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
}

.dt-shimmer::after {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, #f8f8f8, transparent);
	animation: dtShimmer 1.2s infinite;
}

@keyframes dtShimmer {
	100% {
		transform: translateX(100%);
	}
}

.dt-img {
	display: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xp-price-tiers-collapse .card {
	border: 1px solid #dee2e6;
	border-radius: 8px;
}

.xp-price-tiers-collapse .table {
	margin-bottom: 0;
}

.xp-price-tiers-collapse .table th {
	font-weight: 600;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.xp-price-tiers-collapse .table td {
	font-size: 0.875rem;
	padding: 0.5rem;
}

.xp-price-tiers-collapse .btn-outline-primary {
	font-size: 0.75rem;
	padding: 0.25rem 0.75rem;
}

.xp-price-tiers-collapse .badge {
	font-size: 0.7rem;
	padding: 0.25rem 0.5rem;
}

.xp-dropzone {
	border: 2px dashed #d0d7e5;
	background: #f7f9fe;
	border-radius: 12px;
	padding: 22px;
	text-align: center;
	cursor: pointer;
	transition: all 0.18s ease;
}

.xp-dropzone:hover {
	border-color: #b7c4ff;
	background: #f0f4ff;
}

.xp-placeholder svg {
	color: #4f45e5;
	margin-bottom: 8px;
}

.xp-text {
	font-size: 14px;
	color: #626b7f;
}

.xp-preview {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.xp-img {
	max-height: 240px;
	border-radius: 8px;
	border: 1px solid #dadff1;
	background: #fff;
}

.xp-info {
	font-size: 13px;
	color: #4b5563;
	display: flex;
	gap: 12px;
}

.xp-actions button {
	width: 90px;
}

.jquery-uploader-card[draggable="true"] {
	cursor: grab;
	transition: transform 0.2s, opacity 0.2s;
}

.jquery-uploader-card[draggable="true"]:active {
	cursor: grabbing;
}

.jquery-uploader-card.dragging {
	opacity: 0.4;
	border: 2px dashed #007bff;
	transform: scale(0.95);
}

.jquery-uploader-card.drag-over {
	border-left: 4px solid #007bff;
}

/* Wrapper Image Card */
.jquery-uploader-card .dt-img-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	background-color: #f0f0f0; /* Warna dasar sebelum gambar muncul */
}

/* Shimmer Animation */
.jquery-uploader-card .dt-shimmer {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	background: linear-gradient(
		to right,
		#f6f7f8 0%,
		#edeef1 20%,
		#f6f7f8 40%,
		#f6f7f8 100%
	);
	background-size: 1000px 100%;
	animation: uploaderShimmer 1.5s infinite linear;
}

@keyframes uploaderShimmer {
	0% {
		background-position: -1000px 0;
	}
	100% {
		background-position: 1000px 0;
	}
}

/* Image styling inside card */
.jquery-uploader-card .files_img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Biar rapi kotak */
	display: block;
}

.lightbox-item {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	cursor: zoom-in;
}

.lightbox-item > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lg-outer,
.lg-backdrop {
	z-index: 1091;
}

.jquery-uploader-preview-container {
	padding: 10px 0px !important;
}

.jquery-uploader-select-card,
.jquery-uploader-card {
	margin: 2px !important;
	border-radius: 0.5rem !important;
	width: 140px !important;
	height: 140px !important;
}

.jquery-uploader-select > .upload-button {
	height: 80px;
}

.jquery-uploader-preview-action > ul {
	padding-top: 50px !important;
}

@media (max-width: 575.98px) {
	.modal-xxl {
		max-width: 100vw;
		margin: 0;
	}

	.modal-xxl .modal-content {
		min-height: 100vh;
		border-radius: 0;
	}
}

@media (min-width: 576px) {
	.modal-xxl {
		max-width: 96vw;
	}
}

@media (min-width: 768px) {
	.modal-xxl {
		max-width: 94vw;
	}
}

@media (min-width: 992px) {
	.modal-xxl {
		max-width: 92vw;
	}
}

@media (min-width: 1200px) {
	.modal-xxl {
		max-width: 90vw;
	}
}

@media (min-width: 1400px) {
	.modal-xxl {
		max-width: 88vw;
	}
}

.bg-group-header {
	background: #cacdcf !important;
}
.batch-card {
	transition: transform 0.2s, box-shadow 0.2s;
	height: 100%;
}
.batch-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.batch-badge-product {
	white-space: normal !important;
	text-align: left;
	line-height: 1.4;
	display: inline-block;
	width: 100%;
}
.batch-input-bg {
	background-color: #f8f9fa;
	border-radius: 6px;
	padding: 10px;
}

#AssignItemsTable_wrapper .dataTables_paginate,
#AssignItemsTable_wrapper .dataTables_info {
	display: none !important;
}

#BatchPaginate .dataTables_paginate,
#BatchInfo .dataTables_info {
	display: block !important;
}

#BatchPaginate .dataTables_paginate {
	display: flex;
	justify-content: flex-end;
	margin: 0;
}
#BatchPaginate .pagination {
	margin: 0;
}

.batch-modal-header {
	flex-wrap: wrap;
}

.batch-header-search {
	width: 260px;
}

@media (max-width: 768px) {
	.batch-header-search {
		width: 100%;
	}
}

.rounded-start-3 {
	border-top-left-radius: 0.5rem !important;
	border-bottom-left-radius: 0.5rem !important;
}
.rounded-end-3 {
	border-top-right-radius: 0.5rem !important;
	border-bottom-right-radius: 0.5rem !important;
}

#layout-menu {
	display: flex !important;
	flex-direction: column !important;
}

#layout-menu .menu-inner {
	flex-grow: 1;
	overflow-y: auto;
	height: auto !important;
}

#layout-menu .menu-inner::-webkit-scrollbar {
	width: 4px;
}
#layout-menu .menu-inner::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.1);
	border-radius: 4px;
}

#sidebar-bottom {
	flex-shrink: 0;
	background-color: inherit;
	padding-top: 10px;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.user-card-sequence {
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: 12px !important;
	background: #fff;
	transition: all 0.2s ease-in-out;
	padding: 0.625rem 1rem;
}

.user-card-sequence:hover {
	background-color: rgba(67, 89, 113, 0.05);
	border-color: rgba(67, 89, 113, 0.2) !important;
	cursor: pointer;
}

.sidebar-footer-text {
	font-size: 0.65rem;
	opacity: 0.6;
}

.spinner-grow-sidebar {
	width: 1rem !important;
	height: 1rem !important;
}

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

#main-content-area {
	transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
	opacity: 1;
	transform: translateY(0);
}

#main-content-area.page-leave {
	opacity: 0;
	transform: translateY(-8px);
}

#main-content-area.page-enter {
	opacity: 0;
	transform: translateY(8px);
}

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

body.modal-open #main-content-area {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.modal-open #main-content-area {
    transition: none !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: none; 
} */

.spa-skeleton {
	width: 100%;
	padding: 1.5rem;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.spa-skel-header,
.spa-skel-block {
	background: #f0f2f5;
	background: linear-gradient(90deg, #f0f2f5 25%, #e6e8eb 50%, #f0f2f5 75%);
	background-size: 200% 100%;
	border-radius: 8px;
	animation: spa-shimmer 1.5s infinite linear;
}

.spa-skel-header {
	height: 40px;
	width: 40%;
	margin-bottom: 1rem;
}

.spa-skel-block {
	width: 100%;
	height: 200px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.spa-skel-block.short {
	height: 120px;
	width: 100%;
}

@keyframes spa-shimmer {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

body.dark-mode .spa-skel-header,
body.dark-mode .spa-skel-block {
	background: #2b2c40;
	background: linear-gradient(90deg, #2b2c40 25%, #32344c 50%, #2b2c40 75%);
	background-size: 200% 100%;
	box-shadow: none;
}

.ws-status {
	font-size: 0.7125em !important;
}

.layout-navbar {
	border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}
.menu .app-brand.demo,
.notif-header {
	height: 64px;
	margin-bottom: 12px;
	margin-top: 12px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

@media (max-width: 461px) {
	.layout-navbar.navbar-detached {
		width: 100% !important;
		margin: 0 !important;
		border-radius: 0 !important;
	}
}

/* 1. Background Sidebar - Hijau Gradasi */
aside#layout-menu {
	background: linear-gradient(
		180deg,
		var(--sidebar-bg-start) 0%,
		var(--sidebar-bg-end) 100%
	) !important;
	border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* 2. Warna Teks & Icon - Terang */
aside#layout-menu .menu-link,
aside#layout-menu .menu-icon,
aside#layout-menu .menu-title,
aside#layout-menu .text-break {
	color: var(--text-color) !important;
}

/* 3. Teks muted (footer & arrow) */
aside#layout-menu .text-muted,
aside#layout-menu .sidebar-footer-text,
aside#layout-menu .dropdown-arrow {
	color: #ffffff !important;
}

/* 4. Nama User */
aside#layout-menu .user-card-sequence .text-dark {
	color: #ffffff !important;
}

/* 5. Hover Effect */
aside#layout-menu .menu-item:not(.active) .menu-link:hover {
	background-color: var(--hover-bg) !important;
	color: var(--text-color) !important;
	transition: all 0.2s ease;
}

/* 6. Status Aktif - Hijau Gradasi */
aside#layout-menu .menu-item.active > .menu-link:not(.menu-toggle) {
	background: linear-gradient(
		72.47deg,
		var(--active-bg-start) 22.16%,
		var(--active-bg-end) 76.47%
	) !important;
	box-shadow: 0px 4px 8px var(--active-box-shadow) !important;
	color: #fff !important;
}

/* Icon menu aktif */
aside#layout-menu .menu-item.active > .menu-link:not(.menu-toggle) .menu-icon {
	color: #fff !important;
}

/* 7. Menu open (dropdown aktif) */
aside#layout-menu .menu-item.active.open > .menu-link.menu-toggle {
	background-color: var(--hover-bg) !important;
	color: #fff !important;
}

/* 8. Sub-menu */
aside#layout-menu .menu-sub {
	background-color: var(--submenu-bg) !important;
}

/* 9. User Card */
aside#layout-menu .user-card-sequence {
	background: var(--usercard-bg);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	margin-top: 10px;
}
aside#layout-menu .user-card-sequence:hover {
	background: var(--usercard-hover-bg);
}

/* 10. Sembunyikan shadow bawaan */
aside#layout-menu .menu-inner-shadow {
	display: none !important;
}

aside#layout-menu .menu-link > div:first-child {
	position: relative !important; /* INI KUNCINYA */
	display: inline-flex; /* Pastikan lebar ngikutin konten */
	justify-content: center; /* Tengahin icon */
}

/* hanya table yang full edge */
.table-responsive {
	margin-inline: -1.5rem !important;
	width: calc(100% + 3rem) !important;
}

.modal .modal-body .table-responsive {
	margin-inline: 0rem !important; /* sesuaikan padding modal-body */
	width: calc(100% + 2rem) !important; /* 2x padding */
}

/* kembalikan layout DataTables */
.dataTables_info,
.dataTables_paginate {
	margin-inline: 0 !important;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	width: 100%;
}

/* default: desktop */
.dt-footer {
	width: 100%;
}

/* mobile: stack */
@media (max-width: 767.98px) {
	.dt-footer {
		flex-direction: column;
		align-items: stretch;
		gap: 0.5rem;
	}

	.dt-footer .dataTables_info {
		order: 1;
		text-align: center;
	}

	.dt-footer .dataTables_paginate {
		order: 2;
		display: flex;
		justify-content: center;
	}
}

/* center cell */
.dt-checkboxes-cell {
	text-align: center;
	vertical-align: middle;
}

/* custom checkbox */
.dt-checkboxes {
	appearance: none;
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	border: 2px solid #dee2e6;
	border-radius: 4px;
	background-color: #fff;
	cursor: pointer;
	position: relative;
	transition: all 0.15s ease;
}

/* hover */
.dt-checkboxes:hover {
	border-color: #0d6efd;
}

/* checked */
.dt-checkboxes:checked {
	background-color: #0d6efd;
	border-color: #0d6efd;
}

/* check icon */
.dt-checkboxes:checked::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* header select all */
.dt-checkboxes-select-all input {
	appearance: none;
	width: 18px;
	height: 18px;
	border: 2px solid #dee2e6;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	position: relative;
}

.dt-checkboxes-select-all input:checked {
	background: #0d6efd;
	border-color: #0d6efd;
}

.dt-checkboxes-select-all input:checked::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* row selected */
table.dataTable tbody tr.selected {
	background-color: rgba(13, 110, 253, 0.06) !important;
}
/* ===== Breadcrumb dasar ===== */
.breadcrumb {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.25rem;
	overflow-x: auto;
	padding: 0;
	margin: 0;
	background: transparent;
}

.breadcrumb::-webkit-scrollbar {
	height: 4px;
}
.breadcrumb::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.25);
	border-radius: 4px;
}

/* item */
.breadcrumb-item {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

/* arrow */
.breadcrumb-item + .breadcrumb-item::before {
	content: "›";
	margin: 0 0.5rem;
	font-size: 1.25rem;
	line-height: 1;
	color: #6c757d;
}

/* link & active */
.breadcrumb-item a,
.breadcrumb-item.active {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.9rem;
	color: #495057;
	text-decoration: none;
}

.breadcrumb-item.active {
	font-weight: 600;
	color: #a90000;
}

/* icon */
.breadcrumb-icon {
	font-size: 0.85em;
	flex-shrink: 0;
}

/* text */
.breadcrumb-title {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 160px;
}

/* mobile */
@media (max-width: 576px) {
	.breadcrumb-title {
		max-width: 80px;
	}
}
.dt-lg-item {
	cursor: zoom-in;
	display: block;
}

/* --- Hero Widget --- */
.hero-widget {
	background: radial-gradient(
		circle at 10% 20%,
		rgb(240, 245, 255) 0%,
		rgb(225, 230, 255) 90%
	);
	border: 1px solid rgba(255, 255, 255, 0.6);
}

/* --- Stat Cards (Glassy Effect) --- */
.stat-card {
	position: relative;
	overflow: hidden;
}
.stat-card::after {
	content: "";
	position: absolute;
	top: -30px;
	right: -30px;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	opacity: 0.08;
}
.stat-card.primary::after {
	background: var(--bs-primary);
}
.stat-card.success::after {
	background: var(--bs-success);
}
.stat-card.info::after {
	background: var(--bs-info);
}
.stat-card.danger::after {
	background: var(--bs-danger);
}

.stat-icon-wrapper {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	font-size: 1.3rem;
	margin-bottom: 1rem;
}

/* --- Empty State (Saat data kosong) --- */
.empty-state-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	opacity: 0.6;
	text-align: center;
}
.empty-state-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	color: #d1d5db;
}

/* Tambahkan di CSS global Anda */
.cropper-container img {
	max-width: 100%;
	max-height: 100%;
}

#cropperPreview {
	width: 100%;
	height: 100%;
}

#cropperPreview img {
	max-width: 100%;
	max-height: 100%;
}

.info-box {
	background-color: #f8f9fa;
	padding: 15px;
	border-radius: 5px;
	border: 1px solid #dee2e6;
}

.info-box h6 {
	margin-bottom: 10px;
	color: #495057;
}

.info-box p {
	margin-bottom: 5px;
	font-size: 0.9rem;
}

@media (max-width: 768px) {
	.cropper-container {
		height: 300px !important;
	}
	
	#imageCropperModal .modal-dialog {
		margin: 10px;
	}
	
	#imageCropperModal .modal-body {
		padding: 10px;
	}
}

@media (max-width: 576px) {
	.cropper-container {
		height: 250px !important;
	}
	
	.cropper-preview-container {
		height: 150px !important;
	}
}
