body {
	background: #f1f1f1;
}

.login-panel{
	margin:auto;
	margin-top:80px;
	width:300px;
}

.login-panel img{
	margin-bottom:20px;
}

.login-panel  > .panel{
	padding:10px;
}

.footer{
	text-align:center;
	padding:5px;
	color:#666;
}

.error_validasi {
	margin-top:15px;
	margin-bottom: 0px;
}

.error_validasi p {
	color:red;
	padding:0px;
	margin: 0px !important;
}

.navbar-nav li.active > a,
.dropdown-menu li:hover a {
	background: #2a84ae !important;
	color:#fff !important;
}

.navbar-brand {
	display: flex;
	align-items: center;
	height: 60px;
	padding-top: 0;
	padding-bottom: 0;
}

.navbar-brand > img {
	max-height: 44px;
	width: auto;
}

#my-grid th {
	border-color:#C9DCEA;
	background-color: #deeffc; 
	background-color: -moz-linear-gradient(top,  #deeffc 0%, #d7e6f2 100%); 
	background-color: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#deeffc), color-stop(100%,#d7e6f2)); 
	background-color: -webkit-linear-gradient(top,  #deeffc 0%,#d7e6f2 100%); 
	background-color: -o-linear-gradient(top,  #deeffc 0%,#d7e6f2 100%); 
	background-color: -ms-linear-gradient(top,  #deeffc 0%,#d7e6f2 100%); 
	background-color: linear-gradient(to bottom,  #deeffc 0%,#d7e6f2 100%); 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#deeffc', endColorstr='#d7e6f2',GradientType=0 ); 
}

.judul-transaksi {
	margin-top: 5px;
	margin-bottom: 15px;
}

.table-responsive {
	overflow: hidden;
}

.alert {
	margin-bottom: 0px;
}

.panel-akuntansi {
	border: 1px solid #d8e0e7;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.akuntansi-page-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 15px;
	padding-bottom: 16px;
	margin-bottom: 14px;
	border-bottom: 1px solid #e5e9ee;
}

.akuntansi-page-header h4 {
	margin: 0 0 5px;
	font-weight: 600;
	color: #1f2d3d;
}

.akuntansi-page-header p {
	margin: 0;
	color: #667;
}

.akuntansi-badge {
	display: inline-block;
	padding: 7px 10px;
	border: 1px solid #d8e0e7;
	border-radius: 4px;
	background: #f7fafc;
	color: #455a64;
	white-space: nowrap;
}

.akuntansi-nav {
	position: sticky;
	top: 16px;
	width: 280px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 10px;
	margin: 0;
	background: #f7fafc;
	border: 1px solid #d8e0e7;
	border-radius: 4px;
}

.akuntansi-nav-group + .akuntansi-nav-group {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #d8e0e7;
}

.akuntansi-nav-title {
	margin: 0 0 6px;
	padding: 0 8px;
	font-size: 11px;
	font-weight: 700;
	color: #667;
	text-transform: uppercase;
}

.akuntansi-nav-item {
	display: flex;
	align-items: center;
	gap: 5px;
	min-height: 34px;
	margin-bottom: 4px;
	padding: 7px 10px;
	border-radius: 4px;
	color: #286090;
	text-decoration: none;
}

.akuntansi-nav-item:hover,
.akuntansi-nav-item:focus {
	background: #e7f1f8;
	color: #204d74;
	text-decoration: none;
}

.akuntansi-nav-item.active {
	background: #2a84ae;
	color: #fff;
}

body .container:has(.akuntansi-nav),
body .container-fluid:has(.akuntansi-nav) {
	width: calc(100% - 64px);
	max-width: 1500px;
}

.panel-body:has(> .akuntansi-nav) {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 12px 20px;
	align-items: start;
	padding: 20px;
}

.panel-body:has(> .akuntansi-nav) > h5,
.panel-body:has(> .akuntansi-nav) > h4,
.panel-body:has(> .akuntansi-nav) > hr,
.panel-body:has(> .akuntansi-nav) > .akuntansi-page-header {
	grid-column: 1 / -1;
}

.panel-body:has(> .akuntansi-nav) > h5:first-child,
.panel-body:has(> .akuntansi-nav) > h4:first-child {
	display: flex;
	align-items: center;
	min-height: 46px;
	margin: 0;
	padding: 0 0 14px;
	font-size: 20px;
	font-weight: 600;
	color: #1f2d3d;
	border-bottom: 1px solid #e5e9ee;
}

.panel-body:has(> .akuntansi-nav) > h5:first-child .fa,
.panel-body:has(> .akuntansi-nav) > h4:first-child .fa {
	width: 34px;
	height: 34px;
	margin-right: 9px;
	line-height: 34px;
	text-align: center;
	color: #2a84ae;
	background: #edf5fb;
	border: 1px solid #d8e0e7;
	border-radius: 4px;
}

.panel-body:has(> .akuntansi-nav) > h5:first-child + hr,
.panel-body:has(> .akuntansi-nav) > h4:first-child + hr {
	display: none;
}

.panel-body:has(> .akuntansi-nav) > .akuntansi-nav {
	grid-column: 1;
	grid-row: span 100;
}

.panel-body:has(> .akuntansi-nav) > .akuntansi-nav ~ * {
	grid-column: 2;
	min-width: 0;
	margin-left: 0;
}

.panel-body:has(> .akuntansi-nav) > .akuntansi-nav ~ table,
.panel-body:has(> .akuntansi-nav) > .akuntansi-nav ~ form,
.panel-body:has(> .akuntansi-nav) > .akuntansi-nav ~ .table-responsive {
	width: 100%;
}

.akuntansi-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding-bottom: 12px;
	margin-bottom: 0;
}

.akuntansi-table-wrap {
	border: 1px solid #d8e0e7;
	border-radius: 4px;
	overflow: visible;
}

.table-akuntansi {
	margin-bottom: 0;
}

.table-akuntansi > thead > tr > th {
	background: #edf5fb;
	border-color: #d8e0e7;
	color: #1f2d3d;
	vertical-align: middle;
}

.panel-body:has(> .akuntansi-nav) table > thead > tr > th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #edf5fb;
}

.table-akuntansi > tbody > tr > td {
	vertical-align: middle;
}

.laporan-container {
	width: calc(100% - 64px);
	max-width: 1500px;
}

.panel-laporan {
	border: 1px solid #d8e0e7;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.panel-laporan > .panel-body {
	padding: 20px;
}

.laporan-page-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 15px;
	padding-bottom: 14px;
	margin-bottom: 16px;
	border-bottom: 1px solid #e5e9ee;
}

.laporan-page-header h4 {
	margin: 0 0 5px;
	font-size: 20px;
	font-weight: 600;
	color: #1f2d3d;
}

.laporan-page-header h4 .fa {
	width: 34px;
	height: 34px;
	margin-right: 9px;
	line-height: 34px;
	text-align: center;
	color: #2a84ae;
	background: #edf5fb;
	border: 1px solid #d8e0e7;
	border-radius: 4px;
}

.laporan-page-header p {
	margin: 0;
	color: #667;
}

.laporan-badge {
	display: inline-block;
	padding: 7px 10px;
	border: 1px solid #d8e0e7;
	border-radius: 4px;
	background: #f7fafc;
	color: #455a64;
	white-space: nowrap;
}

.laporan-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.laporan-sidebar {
	position: sticky;
	top: 16px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 10px;
	background: #f7fafc;
	border: 1px solid #d8e0e7;
	border-radius: 4px;
}

.laporan-nav-group + .laporan-nav-group {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #d8e0e7;
}

.laporan-nav-title {
	margin: 0 0 6px;
	padding: 0 8px;
	font-size: 11px;
	font-weight: 700;
	color: #667;
	text-transform: uppercase;
}

.laporan-nav-item {
	display: flex;
	align-items: center;
	gap: 5px;
	min-height: 34px;
	margin-bottom: 4px;
	padding: 7px 10px;
	border-radius: 4px;
	color: #286090;
	text-decoration: none;
}

.laporan-nav-item:hover,
.laporan-nav-item:focus {
	background: #e7f1f8;
	color: #204d74;
	text-decoration: none;
}

.laporan-nav-item.active {
	background: #2a84ae;
	color: #fff;
}

.laporan-filter {
	padding: 14px;
	margin-bottom: 16px;
	background: #f7fafc;
	border: 1px solid #d8e0e7;
	border-radius: 4px;
}

.laporan-filter label {
	color: #333;
}

.laporan-filter-actions {
	padding-top: 25px;
}

.laporan-filter-actions .btn {
	margin-right: 5px;
}

.laporan-extra-filter {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #d8e0e7;
}

.laporan-filter-field {
	margin-bottom: 10px;
}

.laporan-result {
	min-height: 120px;
}

.barang-container {
	width: calc(100% - 32px);
	max-width: none;
}

.panel-barang {
	border: 1px solid #d8e0e7;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.barang-summary {
	margin-bottom: 12px;
}

.barang-summary-item {
	padding: 10px 12px;
	background: #f7fafc;
	border: 1px solid #d8e0e7;
	border-radius: 4px;
}

.barang-summary-item span {
	display: block;
	margin-bottom: 4px;
	color: #667;
	font-size: 12px;
}

.barang-summary-item strong {
	display: block;
	color: #1f2d3d;
	font-size: 18px;
	font-weight: 600;
}

.barang-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	padding: 12px;
	margin-bottom: 12px;
	background: #f7fafc;
	border: 1px solid #d8e0e7;
	border-radius: 4px;
}

.barang-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px;
}

.barang-filter-field label {
	display: block;
	margin-bottom: 5px;
	color: #333;
	font-size: 12px;
	font-weight: 600;
}

.barang-filter-field .form-control {
	width: 180px;
}

.barang-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.barang-actions .btn {
	min-width: 92px;
}

.barang-actions .btn-primary {
	border-color: #247aa0;
	background: #2a84ae;
}

.label-print-toolbar {
	padding: 12px;
	background: #f7fafc;
	border-bottom: 1px solid #d8e0e7;
}

.label-sheet {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 12px;
	background: #fff;
}

.label-sheet .label-card {
	width: 220px;
	min-height: 132px;
	padding: 8px;
	text-align: center;
	border: 1px solid #333;
	page-break-inside: avoid;
}

.label-sheet .label-card img {
	max-width: 100%;
	height: 72px;
}

.label-sheet .label-name {
	height: 34px;
	overflow: hidden;
	font-weight: 600;
	line-height: 17px;
}

.label-sheet .label-price {
	font-size: 16px;
	font-weight: 700;
}

@media print {
	.navbar,
	.label-print-toolbar,
	#LoadingDulu {
		display: none !important;
	}

	body {
		background: #fff;
	}
}

.barang-table-wrap {
	overflow-x: auto;
}

.table-barang {
	width: 100% !important;
	min-width: 1680px;
	margin-bottom: 0;
}

.table-barang th,
.table-barang td {
	white-space: nowrap;
	vertical-align: middle !important;
}

.stok-opname-batch-wrap {
	overflow-x: visible;
}

.table-batch-opname {
	width: 100% !important;
	margin-bottom: 0;
}

.table-batch-opname th,
.table-batch-opname td {
	vertical-align: middle !important;
}

.table-batch-opname .label {
	margin-left: 6px;
}

.stok-opname-toolbar {
	align-items: center;
}

.stok-opname-search-field .form-control {
	width: 240px;
}

.stok-opname-list-summary {
	margin-bottom: 12px;
}

.table-batch-opname > tbody > tr.stok-opname-ready-row > td {
	background: #fff8e1;
}

.stok-opname-validation {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 10px 12px;
	margin-bottom: 12px;
	border: 1px solid #d8e0e7;
	border-radius: 4px;
	background: #f7fafc;
}

.stok-opname-validation.invalid {
	border-color: #ebccd1;
	background: #fdf7f7;
	color: #8a1f11;
}

.stok-opname-validation.valid {
	border-color: #d6e9c6;
	background: #f5fbf2;
	color: #2f6627;
}

.stok-opname-validation span {
	display: inline-block;
	padding: 3px 7px;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 4px;
	background: rgba(255,255,255,.7);
	color: #333;
}

.stok-opname-detail-toolbar {
	position: sticky;
	top: 0;
	z-index: 6;
	box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.table-stok-opname-detail > thead > tr > th {
	position: sticky;
	top: 82px;
	z-index: 5;
	background: #edf5fb;
}

.stok-opname-save-status {
	margin-bottom: 12px;
}

.modal-dialog.modal-xl {
	width: 96%;
	max-width: 1280px;
}

#daftar-autocomplete { 
	list-style:none; 
	margin:0; 
	padding:0; 
	width:100%;
}

#daftar-autocomplete li {
	padding: 5px 10px 5px 10px; 
	background:#FAFAFA; 
	border-bottom:#ddd 1px solid;
}

#daftar-autocomplete li:hover,
#daftar-autocomplete li.autocomplete_active { 
	background:#2a84ae; 
	color:#fff; 
	cursor: pointer;
}

#hasil_pencarian{ 
	padding: 0px; 
	display: none; 
	position: absolute; 
	max-height: 350px;
	overflow: auto;
	border:1px solid #ddd;
	z-index: 1;
}

#filter_hasil_pencarian {
	padding: 0px;
	display: none;
	position: absolute;
	max-height: 350px;
	overflow: auto;
	border: 1px solid #ddd;
	z-index: 3;
}

.TotalBayar {
	text-align: right;
	margin-bottom: 20px;
}

.TotalBayar h2 {
	margin-top: 0px;
	margin-bottom: 0px;
}

button#CetakStruk, button#Simpann {
	padding-top: 8px;
	padding-bottom: 8px;
}

.info_pelanggan {
	margin-bottom: 0px;
}

.info_pelanggan td {
	padding: 2px;
	text-align: left;
}

#LoadingDulu {
	position: fixed;
	top:0px;
	width: 100%;
	z-index: 1;
}

#LoadingContent {
	height: 30px;
	margin: auto;
	width: 180px;
	background: #ff005e;
	text-align: center;
	line-height: 29px;
	font-weight: bold;
	color: #fff;
}

@media screen and (max-width:768px) {
	.table-responsive {
		overflow: auto;
	}

	.akuntansi-table-wrap {
		overflow: auto;
	}

	.modal-dialog.modal-xl {
		width: auto;
	}

	.akuntansi-page-header {
		display: block;
	}

	.akuntansi-badge {
		margin-top: 10px;
	}

	.akuntansi-nav {
		position: static;
		max-height: none;
		overflow-y: visible;
		width: auto;
		margin-right: 0;
	}

	body .container:has(.akuntansi-nav),
	body .container-fluid:has(.akuntansi-nav) {
		width: auto;
		max-width: none;
	}

	.panel-body:has(> .akuntansi-nav) {
		display: block;
	}

	.panel-body:has(> .akuntansi-nav) > .akuntansi-nav ~ * {
		margin-left: 0;
	}

	.akuntansi-nav-item {
		display: flex;
		margin-bottom: 6px;
	}

	.laporan-container {
		width: auto;
		max-width: none;
	}

	.laporan-page-header {
		display: block;
	}

	.laporan-badge {
		margin-top: 10px;
	}

	.laporan-layout {
		display: block;
	}

	.laporan-sidebar {
		position: static;
		max-height: none;
		overflow-y: visible;
		margin-bottom: 14px;
	}

	.laporan-filter-actions {
		padding-top: 10px;
	}
}
