:root {
	--sidebar-width: 170px;
	--sidebar-collapsed-width: 50px;
}

body {
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-weight: normal;
	font-style: normal;
	font-size: 15px;
	line-height: 1.3;
}

.main-header {
	background-color: #fff;
	border-bottom: 1px solid #e0e0e0;
	min-height: 40px;
	max-height: 42px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1030;
}

.sidebar {
	position: fixed;
	top: 40px;
	left: 0;
	bottom: 0;
	width: var(--sidebar-width);
	overflow-y: auto;
	transition: all 0.3s ease;
	z-index: 1020;
}

.sidebar-text {
	font-size: 14px;
}

.sidebar.collapsed {
	width: var(--sidebar-collapsed-width);
}

.sidebar.collapsed .sidebar-text {
	display: none;
}

.main-content {
	margin-left: var(--sidebar-width);
	margin-top: 40px;
	transition: margin-left 0.3s ease;
	min-height: calc(100vh - 52px);
}

.main-content.expanded {
	margin-left: var(--sidebar-collapsed-width);
}

.nav-item a {
	transition: background-color 0.2s ease;
	color: var(--bs-gray-dark);
}

.nav-item:hover a {
	color: var(--bs-link-hover-color);
}

.nav-item.active a {
	color: var(--bs-nav-link-color);
	font-weight: 500;
}

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

	.sidebar.show {
		transform: translateX(0);
	}

	.main-content {
		margin-left: 0;
	}

	.sidebar-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 1010;
		display: none;
	}

	.sidebar-overlay.show {
		display: block;
	}

	.sidebar-footer {
		margin-top: auto;
	}
}

.alert-dismissible .btn-close {
	position: absolute;
	padding: 0.75rem 1rem;
}

.sidebar {
	height: 100vh;
	overflow-y: auto;
}

.site-branding .site-title {
	font-size: 18px;
	line-height: 1 !important;
}

.site-branding .site-description {
	font-size: 13px;
	line-height: 1 !important;
}

/* Bootstrap custom */
/* Menghilangkan border dan outline pada input, textarea, dan select */
.form-control,
.form-select,
.btn,
textarea {
	box-shadow: none !important;
	outline: none !important;
}

.logo-text {
	font-size: 16px;
}

.navbar-nav {
	font-size: 1rem;
}

/* Menghilangkan border dan outline pada toggle icon (navbar-toggler) */
.navbar-toggler {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

.btn:hover,
.btn:focus,
.form-control:focus,
.form-select:focus,
.navbar-toggler:focus {
	box-shadow: none !important;
}

.navbar {
	--bs-navbar-toggler-padding-y: 0.15rem;
	--bs-navbar-toggler-padding-x: 0.15rem;
}

.form-control::-moz-placeholder {
	font-size: 14px;
	opacity: .75;
}

.form-control::placeholder {
	font-size: 14px;
	opacity: .75;
}

.table> :not(:first-child) {
	border-top: 0;
}