/*Load fonts*/
@font-face {
	font-family: 'Manrope';
	src: url('fonts/Manrope-Regular.ttf');
	src: url('fonts/Manrope-Regular.ttf') format('truetype'),
		url('fonts/Manrope-Medium.ttf') format('truetype'),
		url('fonts/Manrope-Bold.ttf') format('truetype'),
		url('fonts/Manrope-SemiBold.ttf') format('truetype'),
		url('fonts/Manrope-ExtraBold.ttf') format('truetype'),
		url('fonts/Manrope-Light.ttf') format('truetype'),
		url('fonts/Manrope-ExtraLight.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

body {
	font-family: "Manrope", "Roboto";
	/*font-family: "SF Pro Text", "Helvetica Nueu", "Helvetica", sans-serif;*/
	/*font-family: Helvetica;*/
	font-size: 0.9rem;
	color: #333;
}

/*Header*/
.content-header {
	padding-top: 10px !important;
	padding-left: 0px !important;
	padding-bottom: 0px !important;
}

.navbar>.container .navbar-brand {
	font-family: "Manrope", "Roboto";
}

.label {
	font-weight: 300;
}

.badge {
	font-size: 14px;
	font-weight: 600;
	border-radius: 5px;
	/*background-color: #888;*/
	color: #fff;
	margin-right: 5px;
	margin-top: 0px;
	margin-bottom: 0px;
}

.table>thead>tr>th,
.table>thead>tr>td,
.table>tbody>tr>th,
.table>tbody>tr>td,
.table>tfoot>tr>th,
.table>tfoot>tr>td {
	padding: 3px;
}

th {
	font-weight: 500;
	background-color: #eee;
}

.btn,
.btn-sm {
	/*border-bottom: none;*/
	/* padding: 4px 8px; */
	font-size: 12px;
	border-radius: 8px !important;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
	margin-top: 5px;
	margin-bottom: 10px;
	border-bottom: none !important;
	padding-left: 0px !important;
}

.nav-tabs>li>a {
	font-size: 1em !important;
}

#footer {
	z-index: 1000;
}

.form-group .btn {
	font-size: 14px;
	padding-left: 10px;
	padding-right: 10px;
	/*box-shadow: 0px 5px 10px 5px #ddd;*/
}

.main-box .main-box-header {
	min-height: 40px;
	padding: 5px;
	padding-left: 15px;
}

.img-responsive {
	width: 100%;
}

/*TinyMCE Tweaks*/
.tox-icon {
	max-width: 30px;
}

/* Custom Arief */
.sidebar-dark-primary {
	/* background-color: #343a40; */
	background-color: #292b2e;
}

/** disable text color */
.disabled {
	color: #ccc;
}

/** darker disable text color */
.disabled-darker {
	color: #555 !important;
}

/** Breadcrumb */
.breadcrumb {
	margin-top: 5px;
	float: right;
	padding: 8px 15px;
	margin-bottom: 20px;
	list-style: none;
	background-color: #f5f5f5;
	border-radius: 4px;
}

.breadcrumb>li {
	text-transform: uppercase;
	color: #262626;
	margin-left: 8px;
}

.breadcrumb>.active {
	font-weight: 600;
	text-transform: none;
	color: #262626;
}

.breadcrumb>li+li:before {
	color: #262626;
	content: '/';
	margin-right: 10px;
}

/** TinyMCE */
.tox-tinymce {
	border-radius: 5px;
}

/** Pagination */
.pagination {
	margin-left: 10px;
}

.pagination li {
	position: relative;
	display: block;
	padding: .5rem .75rem;
	margin-left: -1px;
	line-height: 1.25;
	color: #007bff;
	background-color: #fff;
	border: 1px solid #dee2e6;
}

.pagination .disabled {
	color: #ccc !important;
}

.pagination .active {
	background-color: #007bff;
}

.pagination .active a {
	color: white !important;
}

/*Draft posts*/
.draft {
	color: #ddd;
}

/*Small Box*/
.small-box>a {
	color: white !important;
}


/*Sidebar menu color*/
.sidebar-dark-primary {
	background-color: #0e582f;
}

[class*=sidebar-dark-] .nav-sidebar>.nav-item.menu-open>.nav-link,
[class*=sidebar-dark-] .nav-sidebar>.nav-item:hover>.nav-link,
[class*=sidebar-dark-] .nav-sidebar>.nav-item>.nav-link:focus {
	/* background-color: #147d43 !important; */
}

/* Rotate sidebar arrow icon when menu is open (compatibility with FontAwesome SVG/JS) */
.nav-sidebar .nav-link i.right,
.nav-sidebar .nav-link svg.right,
.nav-sidebar .nav-link .right {
	transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.nav-sidebar .menu-is-opening > .nav-link i.right,
.nav-sidebar .menu-is-opening > .nav-link svg.right,
.nav-sidebar .menu-is-opening > .nav-link .right,
.nav-sidebar .menu-open > .nav-link i.right,
.nav-sidebar .menu-open > .nav-link svg.right,
.nav-sidebar .menu-open > .nav-link .right {
	-webkit-transform: rotate(-90deg) !important;
	transform: rotate(-90deg) !important;
}

.nav-treeview {
	/* background-color: #147d43 !important; */
	border-radius: 5px !important;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
	background-color: #28a745 !important;
	color: #ffffff !important;
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active,
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:focus,
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:hover {
	background-color: #28a745 !important;
	color: #ffffff;
}

[class*=sidebar-dark] .user-panel {
	border-bottom: none !important;
}

/* Gridview summary */
.summary {
	padding-left: 10px !important;
	background: #eee !important;
}

.form-control-sm,
.form-control {
	border-radius: 8px !important;
	/* background: #efefef !important; */
	/* border: none !important; */
	border: 1px solid #dddddd !important;
}

textarea.form-control {
	font-size: 0.9rem !important;
	padding: 10px !important;
}

input.form-control {
	/* height: calc(1.5rem + 2px) !important; */
	font-size: 0.9rem !important;
	padding: 10px !important;
}

select.form-control:not(.select2-hidden-accessible),
.tipe-select {
	font-size: 0.9rem !important;
	padding: 6px 12px !important;
	height: 38px !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	background-color: #fff !important;
	cursor: pointer;
	line-height: 1.5;
}

select.form-control:not(.select2-hidden-accessible)::-ms-expand,
.tipe-select::-ms-expand {
	display: none;
}

select.form-control:hover:not(.select2-hidden-accessible),
.tipe-select:hover {
	border-color: #ccc !important;
	background-color: #fff !important;
}

select.form-control:focus:not(.select2-hidden-accessible),
.tipe-select:focus {
	border-color: #80bdff !important;
	outline: 0 !important;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

/* ========== Select2 Bootstrap4 Custom Styling ========== */
.select2-container--bootstrap4:not(.select2-container--open) {
	width: 100% !important;
}

/* Fix Select2 Multiple height auto-adjustment */
.select2-container .select2-selection--multiple,
.select2-container--krajee-bs4 .select2-selection--multiple,
.select2-container--bootstrap4 .select2-selection--multiple,
.select2-selection--multiple,
.select2-selection--multiple.form-control {
	display: flow-root !important;
	height: auto !important;
	min-height: 38px !important;
	clear: both !important;
}

.select2-selection--multiple .select2-selection__rendered {
	display: flex !important;
	flex-wrap: wrap !important;
	height: auto !important;
	padding: 2px !important;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
	margin: 2px !important;
	float: none !important;
}

.select2-container--bootstrap4 .select2-selection--single {
	border: 1px solid #dddddd !important;
	border-radius: 8px !important;
	height: 38px !important;
	padding: 0 !important;
	font-size: 0.9rem !important;
	background-color: #fff !important;
	position: relative !important;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection--single,
.select2-container--bootstrap4.select2-container--open .select2-selection--single {
	border-color: #80bdff !important;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
	margin: 0 !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
	padding-left: 12px !important;
	padding-right: 32px !important;
	line-height: 36px !important;
	color: #333 !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
	top: 0 !important;
	right: 0 !important;
	width: 32px !important;
	height: 36px !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
	top: 50% !important;
	margin-top: -2px !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__clear {
	position: absolute !important;
	right: 28px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	float: none !important;
	margin: 0 !important;
	width: 16px;
	height: 16px;
	line-height: 14px;
	text-align: center;
	color: #999;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__clear:hover {
	color: #dc3545;
}

.select2-dropdown {
	border: 1px solid #ced4da !important;
	border-radius: 8px !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
	overflow: hidden;
	transform: none !important;
}

.select2-dropdown.select2-dropdown--below {
	margin-top: 3px !important;
	border-top: 1px solid #e9ecef !important;
}

.select2-dropdown.select2-dropdown--above {
	margin-top: -3px !important;
	border-bottom: 1px solid #e9ecef !important;
}

.select2-search--dropdown {
	padding: 6px !important;
}

.select2-search--dropdown .select2-search__field {
	border: 1px solid #dddddd !important;
	border-radius: 6px !important;
	padding: 6px 10px !important;
	font-size: 0.9rem !important;
	margin: 0 !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.select2-results__option {
	padding: 8px 12px !important;
	font-size: 0.9rem !important;
	color: #333 !important;
}

.select2-results__option--highlighted[aria-selected] {
	background-color: #007bff !important;
	color: #fff !important;
}

.select2-results__option[aria-selected="true"] {
	background-color: #e7f3ff !important;
	color: #007bff !important;
}

/* Fix Select2 dropdown z-index and positioning */
.select2-container--open {
	z-index: 9999 !important;
}

.form-group {
	margin-bottom: 5px;
}

label:not(.form-check-label):not(.custom-file-label) {
	font-weight: 500;
}

.blur-effect {
	filter: blur(2px);
	user-select: none;
}

.tooltip-inner {
	background-color: #28a745;
	/* Warna latar belakang tooltip */
	color: #333;
	/* Warna teks tooltip */
}

.arrow::before {
	border-bottom-color: #28a745 !important;
	/* Warna panah tooltip */
}

.badge-default {
	background-color: #888;
}

/* ========== Period Dropdown Styles ========== */
.period-dropdown-toggle {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background-color: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	font-size: 0.9rem;
}

.period-dropdown-toggle:hover {
	background-color: #e2e6ea;
}

.period-dropdown-menu {
	position: absolute;
	top: 100%;
	right: 0;
	background: white;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	min-width: 200px;
	margin-top: 4px;
	display: none;
}

.period-dropdown-menu.show {
	display: block;
}

.period-dropdown-menu button {
	display: block;
	width: 100%;
	text-align: left;
	padding: 5px 10px;
	border: none;
	background: none;
	cursor: pointer;
	font-size: 0.95rem;
	color: #333;
}

.period-dropdown-menu button:hover {
	background-color: #f8f9fa;
}

.period-dropdown-menu button[data-active="true"] {
	background-color: #e7f3ff;
	color: #0066cc;
	font-weight: 600;
}

.period-dropdown-wrapper {
	position: relative;
	display: inline-flex;
	align-items: center;
}

/* ========== Table Responsive Styles ========== */
.table-responsive {
	overflow-x: auto;
	white-space: nowrap;
}

.table-responsive::-webkit-scrollbar {
	height: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.1);
}

.table-responsive table {
	display: table;
	width: 100%;
}

.table-responsive table th,
.table-responsive table td {
	min-width: 50px;
	white-space: nowrap;
}

/* ========== Table Hover Styles ========== */
.table-hover tbody tr {
	cursor: pointer;
}

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

/* ========== Content Area Color Softening ========== */
/* NOTE: Sidebar (.main-sidebar) dan Header (.main-header) TIDAK diubah */

/* Softer card styling */
.content-wrapper .card {
	border: none;
	border-radius: 10px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	margin-bottom: 16px;
}

.content-wrapper .card-header {
	border-radius: 10px 10px 0 0;
	border-bottom: 1px solid #f0f0f0;
	background-color: #fafbfc;
}

/* Softer badge colors */
.content-wrapper .badge-success {
	background-color: #34c759;
}

.content-wrapper .badge-info {
	background-color: #5ac8fa;
}

.content-wrapper .badge-warning {
	background-color: #ff9f0a;
	color: #fff;
}

.content-wrapper .badge-danger {
	background-color: #ff3b30;
}

/* Softer buttons */
.content-wrapper .btn-success {
	background-color: #34c759;
	border-color: #34c759;
}

.content-wrapper .btn-info {
	background-color: #5ac8fa;
	border-color: #5ac8fa;
	color: #fff;
}

.content-wrapper .btn-info:hover {
	background-color: #4ab8ea;
	border-color: #4ab8ea;
}

/* Softer table header */
.content-wrapper .thead-light th {
	background-color: #f7f8fa;
	border-color: #eef0f2;
	font-weight: 600;
	color: #555;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

/* Alert refinement */
.content-wrapper .alert {
	border-radius: 8px;
	border-left: 4px solid;
}

.content-wrapper .alert-success {
	border-left-color: #34c759;
	background-color: #f0faf4;
	color: #1a6b2e;
}

.content-wrapper .alert-danger {
	border-left-color: #ff3b30;
	background-color: #fff5f5;
	color: #a71b1b;
}

.content-wrapper .alert-info {
	border-left-color: #5ac8fa;
	background-color: #f0f9ff;
	color: #1a5276;
}

.content-wrapper .alert-warning {
	border-left-color: #ff9f0a;
	background-color: #fffbf2;
	color: #7a5700;
}

/* Small box (dashboard) styling */
.content-wrapper .small-box {
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.content-wrapper .small-box .inner h3 {
	font-weight: 700;
}

/* Progress bar softening */
.content-wrapper .progress {
	border-radius: 8px;
	overflow: hidden;
}

.content-wrapper .progress-bar {
	font-size: 0.75rem;
	font-weight: 600;
}