
/* General scrollbar styling */
::-webkit-scrollbar {
	width: 8px; /* Lebar scrollbar */
	height: 8px; /* Tinggi scrollbar untuk scroll horizontal */
}

::-webkit-scrollbar-thumb {
	background-color: #f5f6fa; /* Warna thumb (pegangan scrollbar) */
	border-radius: 22px; /* Radius untuk membuat sudut membulat */
}

::-webkit-scrollbar-track {
	background: #f1f1f1; /* Warna jalur scrollbar */
}

::-webkit-scrollbar-thumb:hover {
	background: #555; /* Warna thumb saat dihover */
}

* {
	scrollbar-width: thin; /* Membuat scrollbar lebih tipis di Firefox */
	scrollbar-color: #f5f6fa #f1f1f1; /* Warna thumb dan track di Firefox */
}

html {
    scroll-behavior: smooth;
} 

.nk-content {
	position: relative;
	min-height: 100vh;
	color: #130f40 !important;
	background-color: #f1f2f6 !important;;
	display: flex;
	align-items: center;
	justify-content: center;
}

.card-body{background-color: #f5f6fb !important;}

.card, .form-control, .btn, .alert, .modal, .modal-dialog, .modal-content {
    border-radius: 22px !important;
}

/* .btn-primary, .btn-warning, .btn-danger, .btn-light{
	border-bottom:8px solid #130f40 !important;
} */

/* Global modal motion + focus backdrop */
.modal.fade .modal-dialog,
.modal .modal-dialog {
	opacity: 0;
	transform: translateY(-20px) scale(0.98);
	transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 300ms ease;
}

.modal.show .modal-dialog {
	opacity: 1;
	transform: translateY(0) scale(1) !important;
	animation: modal-enter 300ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.modal-backdrop {
	background: rgba(0, 0, 0, 0.5) !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
	z-index: 1040;
}

.modal-backdrop.fade {
	opacity: 0;
}

.modal-backdrop.show {
	opacity: 1;
}

.modal {
	z-index: 1050;
}

@keyframes modal-enter {
	from { opacity: 0; transform: translateY(-20px) scale(0.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.modal.fade .modal-dialog,
	.modal .modal-dialog,
	body::before {
		transition: none;
		animation: none;
	}
}
