* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--primary: #17c9ff;
	--secondary: #ff4917;
	--light: #edf1fc;
	--dark: #17224d;
	--aqua: #84e9f7;
	--lime: #96f87d;
}

html,
body {
	height: 100%;
	overflow-x: hidden;
}

body {
	font-size: 0.7rem;
	font-family: "PT Mono", monospace;
	line-height: 1.6;
	color: var(--dark);
}

/* Wrapper Styles */
#wrapper {
	padding-top: 4.31rem;
	min-height: 100vh;
	background-color: inherit;
	transition: background-color 0.3s ease;
}

/* Sidebar Styles */
.sidebar {
	transition: transform 0.3s ease, width 0.3s ease;
}

.sidebar .collapse {
	transition: height 0.3s ease;
}

.sidebar.animate {
	transition: all 0.3s ease;
}

@media (min-width: 768px) {
	#sidebarToggle {
		display: none !important;
	}
}

.bg-sidebar {
	top: 0;
	left: 0;
	margin-top: 0;
	border-right: none;
	background: linear-gradient(135deg, #4a5568 0%, #2d3748 50%, #1a202c 100%);
	z-index: 1000;
	box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
}

.bg-sidebar .nav {
	padding: 0 15px;
}

.bg-sidebar .nav-item:first-child {
	margin-top: 5px;
}

.bg-sidebar .nav-item {
	margin-bottom: 5px;
	position: relative;
	align-items: center;
	justify-content: center;
}

.bg-sidebar .nav-link {
	align-items: center;
	padding: 12px 15px;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.8);
	border-radius: 8px;
	transition: all 0.3s ease;
	align-items: center;
	justify-content: center;
}

.bg-sidebar .nav-link i {
	font-size: 1.1rem;
	margin-right: 0;
	width: 24px;
	text-align: center;
	transition: all 0.3s ease;
	align-items: center;
	justify-content: center;
}

.bg-sidebar .nav-link:hover {
	color: white;
	background: linear-gradient(
		135deg,
		rgb(76, 141, 245) 0%,
		rgb(59, 128, 219) 50%,
		#2a43a2 100%
	);
	transform: translateX(5px);
	align-items: center;
	justify-content: center;
}

.bg-sidebar .nav-link.active {
	color: white;
	background: var(--primary);
	font-weight: 500;
	box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
	align-items: center;
	justify-content: center;
}

.bg-sidebar .nav-link.active i {
	color: white;
}

/* Submenu Items */
.collapse-inner {
	background: rgba(0, 0, 0, 0.9) !important;
	border-radius: 8px;
	margin: 5px 0 5px 20px;
	padding: 5px 0;
	overflow: hidden;
	transition: all 0.3s ease;
	max-height: 1000px;
	opacity: 1;
}

.collapse-item {
	padding: 8px 15px 8px 40px;
	color: rgba(255, 255, 255, 0.7) !important;
	font-size: 0.9rem;
	position: relative;
	transition: all 0.2s ease;
}

.collapse-item:hover,
.collapse-item.active {
	color: white !important;
	background: rgba(255, 255, 255, 0.1) !important;
	transform: none !important;
	opacity: 1 !important;
}

.collapse-item.active {
	color: var(--primary) !important;
	font-weight: 500;
}

.collapse-item.active:before {
	background: var(--primary);
}

.container-fluid {
	margin-top: 0;
	padding: 3rem 1.8rem;
	height: 100%;
	transition: all 0.3s ease;
	/* background: linear-gradient(135deg, #4a5568 0%, #2d3748 50%, #1a202c 100%); */
}

/* Base Button Styles */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 5px;
	margin-bottom: 0;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	font-weight: 500;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	width: auto !important;
	height: 43px !important;
}

/* Button States */
.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
}

/* Button Sizes */
.btn-sm {
	padding: 0;
	font-size: 16px !important;
	width: 40px !important;
	height: 40px !important;
}

.btn-lg {
	padding: 16px 32px;
	font-size: 16px;
}

/* Button Colors */
.btn-primary {
	background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
	color: white;
}

.btn-secondary {
	background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
	color: white;
}

.btn-success {
	background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
	color: white;
}

.btn-danger {
	background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
	color: white;
}

.btn-warning {
	background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
	color: white;
}

.btn-info {
	background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
	color: white;
}

.btn-light {
	background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
	color: #2d3748;
}

.btn-dark {
	background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
	color: white;
}

/* Outline Buttons */
.btn-outline-primary {
	background: transparent;
	border: 2px solid #4299e1;
	color: #4299e1;
}

.btn-outline-primary:hover {
	background: #4299e1;
	color: white;
}

/* Import Button Specific Styles */
.import-btn {
	margin-top: 0;
}

.import-btn .btn {
	background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%);
	color: white;
	padding: 12px 24px;
	border-radius: 12px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.import-btn .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
	background: linear-gradient(135deg, #805ad5 0%, #6b46c1 100%);
}

/* Card Styles */
.card {
	border: none;
	border-radius: 16px !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	overflow: hidden;
	transition: all 0.3s ease;
	background: white;
	margin-bottom: 24px;
	position: relative;
}

/* Card Hover Effect */
.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Card Header */
.card-header {
	padding: 20px 24px;
	background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%) !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
	border-top-left-radius: 16px !important;
	border-top-right-radius: 16px !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.card-header h3 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: #2d3748;
	display: flex;
	align-items: center;
	gap: 10px;
}

.card-header .card-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
}

/* Card Body */
.card-body {
	padding: 24px;
	background: white;
}

.card-body-gradient {
	background: linear-gradient(135deg, #4a5568 0%, #2d3748 50%, #1a202c 100%);
	color: white;
}

/* Card Footer */
.card-footer {
	padding: 16px 24px;
	background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%) !important;
	border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
	border-bottom-left-radius: 16px !important;
	border-bottom-right-radius: 16px !important;
	display: flex;
	justify-content: flex-end;
	gap: 12px;
}

/* Card Variations */
.card-primary {
	border-left: 4px solid #4299e1;
}

.card-success {
	border-left: 4px solid #48bb78;
}

.card-danger {
	border-left: 4px solid #f56565;
}

.card-warning {
	border-left: 4px solid #ed8936;
}

.card.qr-code {
	width: 250px;
}

.card-history {
	height: 400px;
	overflow-y: auto;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-bg-primary {
	background: #2a43a2 !important;
	color: white;
}

/* Topbar */
.topbar {
	padding: 2.2rem 0;
}

.topbar h1 {
	font-size: 1.2rem;
	margin-left: 1rem;
	margin-top: 0.5rem;
}

.topbar a .topbar-brand {
	margin-right: 2rem;
	margin-top: 0.133rem;
	margin-left: 0;
}

.topbar a.text-logo:hover {
	text-decoration: none;
}

.toggle-color,
.topbar h1 {
	color: var(--dark);
}

.toggle-color::after {
	color: var(--dark);
}

.toggle-color:hover {
	color: var(--dark);
}

.hidden-div {
	display: none;
}

.alert-message,
.alert-message h4 {
	font-size: 0.8rem;
}

.card.qr-code {
	width: 250px;
}

.btn-kategori {
	border: none;
	background: none;
}

.sticky-footer {
	border-top: 1px solid #ddd;
	padding: 0;
}

/* Table custom */
.table thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #2a43a2;
	color: white;
	border: 1px solid #1f3384;
	text-align: center;
}

.table th,
.table td {
	text-transform: uppercase !important;
	color: var(--dark);
	font-size: 0.75rem;
	/* padding: 10px 5px; */
	vertical-align: middle !important;
}

table th,
table td,
table td .btn,
.btn {
	font-size: 0.9rem;
}

.table th,
.table td {
	text-transform: uppercase;
	color: var(--dark);
	font-size: 0.8rem;
}

.form-group > .text-danger {
	font-size: 12px;
}

.detail-del table td {
	font-size: 0.9rem;
	padding: 1px;
}

.person-del {
	padding-top: 7rem;
	padding-bottom: 10rem;
	text-align: center;
}

.centered-element {
	text-align: center;
}

.img-logo {
	width: 80px;
}

.logo-title {
	text-align: center;
	margin-top: 0;
}

.logo-title h1,
.logo-title span,
.logo-title h3 {
	margin: 0;
}

.logo-title h1 {
	text-decoration: underline;
	font-size: 2rem;
}

.logo-title span {
	font-style: italic;
}

.logo-title h3 {
	font-size: 1.5rem;
}

.form-group {
	position: relative;
	margin: 20px 0 !important;
}

.form-group,
select,
input,
textarea,
.form-control-plaintext {
	text-transform: uppercase !important;
	font-size: 0.7rem !important;
}

.error-text {
	position: absolute;
	bottom: 0;
	top: 100%;
	left: 0;
	width: 100%;
	text-align: left;
	font-size: 0.7rem !important;
	text-transform: none !important;
}

#item_row[readonly] {
	border: none;
	background-color: transparent;
}

.btn,
.import-btn {
	margin-top: 0;
	margin-left: 0;
}

/*hover ToolTip*/
.top:hover {
	transform: translateY(-6px);
}

#sidebarToggleTop {
	background-color: transparent;
	border: none;
	outline: none;
	padding: 10px;
	font-size: 12px;
	color: var(--dark);
}

#sidebarToggleTop:hover {
	background-color: transparent !important;
	box-shadow: none;
	color: var(--primary);
}

#sidebarToggleTop:focus {
	outline: none;
	box-shadow: none;
	color: var(--primary);
}

.custom-dropdown {
	position: relative;
	max-height: 250px;
	overflow-y: auto;
	border: 1px solid #ccc;
	border-radius: 5px;
	background-color: white;
	padding: 5px;
}

.custom-dropdown-wrapper {
	display: flex;
	flex-direction: column;
}

.custom-dropdown-item {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
	padding: 5px 0;
}

.custom-dropdown-item input[type="checkbox"] {
	margin-right: 10px;
	margin-left: 10px;
}

.custom-dropdown-item label {
	cursor: pointer;
	flex-grow: 1;
	display: inline-block;
	text-align: left;
}

.custom-dropdown-item input[type="checkbox"]:checked + label {
	font-weight: bold;
}

.custom-dropdown-wrapper::-webkit-scrollbar {
	width: 8px;
}

.custom-dropdown-wrapper::-webkit-scrollbar-thumb {
	background-color: #888;
	border-radius: 4px;
}

.custom-dropdown-wrapper::-webkit-scrollbar-thumb:hover {
	background-color: #555;
}

/* Custom Minimalist Modal Design */
.modal-content {
	border-radius: 0;
	border: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-ms-border-radius: 0;
	-o-border-radius: 0;
}

.modal-header {
	border-bottom: none;
	padding: 20px;
}

.modal-title {
	font-size: 1.5rem;
	font-weight: 600;
}

.modal-body {
	padding: 20px;
	font-size: 1rem;
	color: #555;
}

.modal-footer {
	border-top: none;
	padding: 0;
	display: flex;
}

.modal-footer .btn {
	flex: 1;
	margin: 0;
	border-radius: 0;
	padding: 15px;
	font-size: 1rem;
	border: none;
}

.modal-footer .btn-secondary {
	background-color: #f8f9fa;
	color: #333;
	border-bottom-left-radius: 0;
}

.modal-footer .btn-primary {
	background-color: #007bff;
	color: #fff;
	border-bottom-right-radius: 0;
}

.modal .form-control-plaintext {
	color: var(--dark);
}

.modal-footer .btn-primary:hover {
	background-color: #0056b3;
}

.close {
	font-size: 1.5rem;
	color: #333;
}

.close:hover {
	color: #000;
}

.close:hover {
	color: #000;
}

.icon-circle {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(219, 115, 240, 0.2);
}

.icon-circle i {
	font-size: 1.5rem;
	color: #fff;
}

.btn-link {
	font-weight: 500;
}

.btn-link:hover {
	opacity: 0.8;
}

/* Upload multiple file */
.file-upload-container {
	background-color: #f8f9fa;
	border: 2px dashed #dee2e6;
	transition: all 0.3s ease;
	cursor: pointer;
}

.file-upload-container:hover {
	border-color: #0d6efd !important;
	background-color: #f0f7ff;
}

.file-upload-content {
	padding: 1.5rem;
}

.icon-wrapper {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.file-preview .card {
	transition: all 0.3s ease;
	border: 1px solid #dee2e6;
}

.file-preview .card:hover {
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.file-preview .btn-remove {
	padding: 0.15rem 0.3rem;
	font-size: 0.7rem;
	line-height: 1;
}

.file-preview .text-truncate {
	max-width: 100%;
	display: inline-block;
	vertical-align: middle;
}

.file-error {
	animation: fadeIn 0.3s;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.form-control::placeholder {
	font-size: 12px;
}
