.logo-lg {
	max-height: 5rem !important;
}
.form-control-wrap.error-field input {
	border: 1px solid #f9515c;
}

.form-control-wrap.error-field textarea {
	border: 1px solid #f9515c;
}

.form-control-wrap.error-field label {
	color: #f9515c;
}

.loader-wrapper,
.loader-wrapper-crud {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 12px;
	z-index: 5;
	display: none;
}

.loader-bars,
.loader-bars-crud {
	position: relative;
	top: 50%;
}

/* loader block */

.loader-bars,
.loader-bars-crud {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: center;
	justify-content: center;
	height: 40px;
}

.loader-bars .loader-bar,
.loader-bars-crud .loader-bar-crud {
	width: 4px;
	height: 100%;
	margin-right: 4px;
	border-radius: 200px;
	-webkit-transform: scaleY(0.2);
	transform: scaleY(0.2);
	-webkit-animation: loader-bars 0.5s ease-in infinite alternate;
	animation: loader-bars 0.5s ease-in infinite alternate;
}

.loader-bars .loader-bar:last-child,
.loader-bars-crud .loader-bar-crud:last-child {
	margin-right: 0;
}

.loader-bars .loader-bar:first-child,
.loader-bars-crud .loader-bar-crud:first-child {
	background-color: #615dfa;
}

.loader-bars .loader-bar:nth-child(2),
.loader-bars-crud .loader-bar-crud:nth-child(2) {
	background-color: #5d71fb;
	-webkit-animation-delay: 0.1s;
	animation-delay: 0.1s;
}

.loader-bars .loader-bar:nth-child(3),
.loader-bars-crud .loader-bar-crud:nth-child(3) {
	background-color: #5983fb;
	-webkit-animation-delay: 0.2s;
	animation-delay: 0.2s;
}

.loader-bars .loader-bar:nth-child(4),
.loader-bars-crud .loader-bar-crud:nth-child(4) {
	background-color: #549afc;
	-webkit-animation-delay: 0.3s;
	animation-delay: 0.3s;
}

.loader-bars .loader-bar:nth-child(5),
.loader-bars-crud .loader-bar-crud:nth-child(5) {
	background-color: #4eb2fd;
	-webkit-animation-delay: 0.4s;
	animation-delay: 0.4s;
}

.loader-bars .loader-bar:nth-child(6),
.loader-bars-crud .loader-bar-crud:nth-child(6) {
	background-color: #49c9fe;
	-webkit-animation-delay: 0.5s;
	animation-delay: 0.5s;
}

.loader-bars .loader-bar:nth-child(7),
.loader-bars-crud .loader-bar-crud:nth-child(7) {
	background-color: #45ddfe;
	-webkit-animation-delay: 0.6s;
	animation-delay: 0.6s;
}

.loader-bars .loader-bar:nth-child(8),
.loader-bars-crud .loader-bar-crud:nth-child(8) {
	background-color: #41efff;
	-webkit-animation-delay: 0.7s;
	animation-delay: 0.7s;
}

@-webkit-keyframes loader-bars {
	0% {
		-webkit-transform: scaleY(0.2);
		transform: scaleY(0.2);
	}
	to {
		-webkit-transform: scaleY(1);
		transform: scaleY(1);
	}
}

@keyframes loader-bars {
	0% {
		-webkit-transform: scaleY(0.2);
		transform: scaleY(0.2);
	}
	to {
		-webkit-transform: scaleY(1);
		transform: scaleY(1);
	}
}

/* End loader block */

/* Override TINYMCE */
.tox-editor-container .tox-statusbar__branding,
.tox-editor-container .tox-promotion {
	display: none !important;
}

button.tox-lock.tox-button.tox-button--naked.tox-button--icon {
	width: 3rem !important;
}
/* End Override TINYMCE */

/* Override Select2 */
input.select2-search__field {
	width: 100% !important;
}
/* End Override Select2 */

/* News Comment */
.count-news-comment-wrapper,
.count-contact-message-wrapper {
	position: absolute;
	top: -7px;
	right: 10px;
	background: #0fac81;
	color: #fff;
	padding: 8px;
	border-radius: 5px;
	font-size: 14px;
	line-height: 1;
}
/* End News Comment */

.card-icon {
	width: fit-content;
}

.card-icon i {
	font-size: 1.5rem;
}

.default-list li {
	list-style: disc;
}

.fc .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk .fc-prev-button:hover,
.fc .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk .fc-prev-button:focus,
.fc .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk .fc-next-button:hover,
.fc .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk .fc-next-button:focus {
	background-color: var(--fc-button-active-bg-color, #1a252f) !important;
}

.fc-event-main div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.saving-event-title {
	display: inline-block;
	max-width: calc(100% - 50px); /* sisakan ruang untuk jumlah orang */
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.saving-event-person {
	flex-shrink: 0; /* jangan sampai ikut kepotong */
	margin-left: 6px;
	font-weight: bold;
}

.fc-h-event {
	background-color: #0c8665 !important;
}

.calendar-summary-wrapper {
	display: flex;
	flex-direction: column;
	font-weight: bold;
	border: 1px solid rgba(0, 0, 0, 0.125);
	gap: 0.5rem;
	padding: 1rem;
}

.calendar-summary-wrapper .item {
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.color-highlight {
	color: #0c8665;
}

/* Dropdown bulan & tahun di Flatpickr */
.flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
	font-size: var(--bs-body-font-size) !important; /* atur sesuai kebutuhan */
	font-weight: bold;
}

/* Optional: biar dropdown list bulan juga ikut kecil */
.flatpickr-monthDropdown-months option {
	font-size: var(--bs-body-font-size) !important;
}
