:root {
	--sidebar-width: 280px;
	--app-bg: #f5f7fa;
	--sidebar-bg: #102a3f;
	--sidebar-surface: rgba(255, 255, 255, .08);
	--sidebar-border: rgba(255, 255, 255, .12);
	--sidebar-text: #dce9f5;
	--sidebar-muted: #98adbf;
	--sidebar-active: #ffffff;
	--accent: #16805b;
	--accent-dark: #0f6044;
	--danger: #b42318;
	--warning: #b54708;
	--info: #175cd3;
}

body {
	background: var(--app-bg);
	color: #1d2939;
	font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

body.sidebar-open {
	overflow: hidden;
}

.alert {
	border: 0;
	border-radius: 8px;
	font-weight: 600;
}

.alert-success {
	background: #ecfdf3;
	color: #067647;
}

.alert-danger {
	background: #fef3f2;
	color: #b42318;
}

.alert-warning {
	background: #fffaeb;
	color: #b54708;
}

.alert-info {
	background: #eff8ff;
	color: #175cd3;
}

.badge {
	border-radius: 999px;
	font-weight: 800;
	letter-spacing: 0;
	padding: 6px 9px;
}

.status-badge {
	min-width: 74px;
	text-align: center;
}

.text-bg-warning {
	color: #7a2e0e !important;
}

.app-layout {
	display: flex;
	min-height: 100vh;
}

.app-sidebar {
	background:
		linear-gradient(180deg, rgba(22, 128, 91, .16), rgba(16, 42, 63, 0) 34%),
		var(--sidebar-bg);
	color: var(--sidebar-text);
	display: flex;
	flex: 0 0 var(--sidebar-width);
	flex-direction: column;
	min-height: 100vh;
	padding: 22px 16px 16px;
	position: sticky;
	top: 0;
	z-index: 30;
}

.sidebar-backdrop {
	background: rgba(15, 23, 42, .48);
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	transition: opacity .2s ease;
	z-index: 20;
}

.sidebar-brand {
	align-items: center;
	display: flex;
	font-weight: 700;
	gap: 12px;
	margin-bottom: 24px;
	min-height: 48px;
}

.sidebar-close {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 8px;
	color: var(--sidebar-muted);
	display: none;
	height: 36px;
	justify-content: center;
	margin-left: auto;
	padding: 0;
	width: 36px;
}

.sidebar-close:hover {
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

.sidebar-close svg {
	height: 19px;
	width: 19px;
}

.brand-mark {
	align-items: center;
	background: var(--accent);
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(22, 128, 91, .28);
	color: #fff;
	display: inline-flex;
	flex: 0 0 42px;
	font-size: 18px;
	font-weight: 800;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.brand-mark.brand-logo {
	background: #fff;
	border: 1px solid rgba(255, 255, 255, .42);
	box-shadow: 0 12px 28px rgba(16, 24, 40, .18);
	padding: 3px;
}

.brand-mark.brand-logo img {
	border-radius: 6px;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.brand-title,
.brand-subtitle {
	display: block;
	line-height: 1.2;
}

.brand-title {
	color: #fff;
	font-size: 17px;
}

.brand-subtitle {
	color: var(--sidebar-muted);
	font-size: 12px;
	font-weight: 600;
	margin-top: 2px;
}

.sidebar-nav {
	display: grid;
	gap: 7px;
}

.sidebar-section {
	color: var(--sidebar-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	margin: 4px 10px 7px;
	text-transform: uppercase;
}

.sidebar-group {
	display: grid;
	gap: 4px;
}

.sidebar-group-toggle {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 8px;
	color: var(--sidebar-text);
	display: grid;
	font-size: 14px;
	font-weight: 750;
	gap: 9px;
	grid-template-columns: minmax(0, 1fr) auto auto;
	min-height: 44px;
	padding: 10px 12px;
	text-align: left;
	transition: background .16s ease, color .16s ease;
	width: 100%;
}

.sidebar-group-toggle:hover,
.sidebar-group-toggle.active {
	background: var(--sidebar-surface);
	color: #fff;
}

.sidebar-group-title {
	align-items: center;
	display: flex;
	gap: 11px;
	min-width: 0;
}

.sidebar-group-title span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sidebar-group-title svg,
.sidebar-chevron {
	color: #a8bdcf;
	flex: 0 0 19px;
	height: 19px;
	width: 19px;
}

.sidebar-group-toggle:hover svg,
.sidebar-group-toggle.active svg {
	color: #fff;
}

.sidebar-count {
	background: rgba(255, 255, 255, .1);
	border: 1px solid var(--sidebar-border);
	border-radius: 999px;
	color: var(--sidebar-muted);
	font-size: 11px;
	font-weight: 800;
	min-width: 24px;
	padding: 2px 7px;
	text-align: center;
}

.sidebar-group-toggle.active .sidebar-count {
	color: #fff;
}

.sidebar-chevron {
	transition: transform .18s ease;
}

.sidebar-group-toggle[aria-expanded="true"] .sidebar-chevron {
	transform: rotate(180deg);
}

.sidebar-submenu {
	border-left: 1px solid rgba(255, 255, 255, .12);
	display: grid;
	gap: 3px;
	margin: 2px 0 6px 21px;
	padding-left: 10px;
}

.sidebar-link {
	align-items: center;
	border-radius: 8px;
	color: var(--sidebar-text);
	display: flex;
	font-size: 14px;
	font-weight: 650;
	gap: 11px;
	min-height: 42px;
	padding: 10px 12px;
	position: relative;
	text-decoration: none;
	transition: background .16s ease, color .16s ease, transform .16s ease;
}

.sidebar-sublink {
	font-size: 13px;
	font-weight: 650;
	min-height: 38px;
	padding: 8px 10px;
}

.sidebar-link svg {
	color: #a8bdcf;
	flex: 0 0 19px;
	height: 19px;
	width: 19px;
}

.sidebar-link::before {
	background: var(--accent);
	border-radius: 999px;
	content: "";
	height: 22px;
	left: -8px;
	opacity: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 3px;
}

.sidebar-link:hover,
.sidebar-link.active {
	background: var(--sidebar-surface);
	color: var(--sidebar-active);
	transform: translateX(2px);
}

.sidebar-link:hover svg,
.sidebar-link.active svg {
	color: #fff;
}

.sidebar-link.active {
	box-shadow: inset 0 0 0 1px var(--sidebar-border);
}

.sidebar-link.active::before {
	opacity: 1;
}

.sidebar-user {
	align-items: center;
	background: rgba(255, 255, 255, .07);
	border: 1px solid var(--sidebar-border);
	border-radius: 8px;
	display: grid;
	gap: 10px;
	grid-template-columns: 38px minmax(0, 1fr) 34px 34px;
	margin-top: auto;
	padding: 10px;
}

.user-avatar {
	align-items: center;
	background: #ecfdf3;
	border-radius: 8px;
	color: var(--accent-dark);
	display: inline-flex;
	font-weight: 800;
	height: 38px;
	justify-content: center;
	width: 38px;
}

.user-meta {
	min-width: 0;
}

.user-name,
.user-role {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.user-name {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.user-role {
	color: var(--sidebar-muted);
	font-size: 12px;
}

.sidebar-logout {
	align-items: center;
	border-radius: 8px;
	color: var(--sidebar-muted);
	display: inline-flex;
	height: 34px;
	justify-content: center;
	text-decoration: none;
	width: 34px;
}

.sidebar-logout:hover {
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

.sidebar-logout svg {
	height: 18px;
	width: 18px;
}

.app-main {
	flex: 1;
	min-width: 0;
}

.app-topbar {
	align-items: center;
	background: #fff;
	border-bottom: 1px solid #e4e7ec;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	min-height: 76px;
	padding: 14px 24px;
}

.topbar-title {
	align-items: center;
	display: flex;
	gap: 12px;
	min-width: 0;
}

.topbar-page {
	min-width: 0;
}

.sidebar-toggle {
	align-items: center;
	background: #fff;
	border: 1px solid #d0d5dd;
	border-radius: 8px;
	color: #344054;
	display: none;
	height: 40px;
	justify-content: center;
	padding: 0;
	width: 40px;
}

.sidebar-toggle:hover {
	background: #f8fafc;
}

.sidebar-toggle svg {
	height: 20px;
	width: 20px;
}

.topbar-kicker {
	color: #667085;
	font-size: 13px;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.topbar-page h1 {
	color: #101828;
	font-weight: 800;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.topbar-actions {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
}

.topbar-icon-btn,
.topbar-logout-btn {
	align-items: center;
	border-radius: 8px;
	display: inline-flex;
	justify-content: center;
	text-decoration: none;
	transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.topbar-icon-btn {
	background: #f8fafc;
	border: 1px solid #e4e7ec;
	color: #344054;
	height: 40px;
	width: 40px;
}

.topbar-icon-btn:hover {
	background: #ecfdf3;
	border-color: #abefc6;
	color: var(--accent-dark);
}

.topbar-user-card {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	display: flex;
	gap: 10px;
	min-height: 46px;
	padding: 6px 8px 6px 6px;
}

.topbar-avatar {
	align-items: center;
	background: #ecfdf3;
	border: 1px solid #abefc6;
	border-radius: 8px;
	color: var(--accent-dark);
	display: inline-flex;
	font-size: 14px;
	font-weight: 850;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.topbar-user-meta {
	line-height: 1.15;
	min-width: 120px;
}

.topbar-user-name {
	color: #101828;
	font-size: 13px;
	font-weight: 800;
	max-width: 160px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.topbar-user-role {
	color: #667085;
	font-size: 12px;
	font-weight: 650;
	margin-top: 2px;
}

.topbar-logout-btn {
	background: #fff;
	border: 1px solid #fecdca;
	color: #b42318;
	font-size: 13px;
	font-weight: 800;
	gap: 7px;
	min-height: 40px;
	padding: 8px 12px;
}

.topbar-logout-btn:hover {
	background: #fef3f2;
	border-color: #fda29b;
	color: #912018;
}

.topbar-icon-btn svg,
.topbar-logout-btn svg {
	height: 18px;
	width: 18px;
}

.app-content {
	padding: 24px;
}

.app-breadcrumb {
	margin-bottom: 14px;
}

.app-breadcrumb .breadcrumb {
	align-items: center;
	background: transparent;
	color: #667085;
	font-size: 13px;
	font-weight: 600;
	gap: 2px;
}

.app-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
	color: #98a2b3;
	content: "/";
}

.app-breadcrumb .breadcrumb-item.active {
	color: #344054;
}

.btn {
	align-items: center;
	border-radius: 8px;
	display: inline-flex;
	font-weight: 700;
	gap: 7px;
	justify-content: center;
	min-height: 38px;
}

.btn-sm {
	border-radius: 8px;
	font-size: 12px;
	min-height: 32px;
	padding-left: 10px;
	padding-right: 10px;
}

.summary-card {
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	box-shadow: none;
	height: 100%;
	overflow: hidden;
	position: relative;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.summary-card-accent {
	border-left: 4px solid var(--accent);
}

.summary-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 12px 28px rgba(16, 24, 40, .08);
	transform: translateY(-1px);
}

.summary-head {
	align-items: flex-start;
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.summary-label {
	color: #667085;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
}

.summary-icon {
	align-items: center;
	background: #f0fdf4;
	border: 1px solid #dcfae6;
	border-radius: 8px;
	color: var(--accent-dark);
	display: inline-flex;
	flex: 0 0 38px;
	height: 38px;
	justify-content: center;
	width: 38px;
}

.summary-icon svg {
	height: 19px;
	width: 19px;
}

.summary-income .summary-icon,
.summary-balance .summary-icon {
	background: #ecfdf3;
	border-color: #abefc6;
	color: #067647;
}

.summary-expense .summary-icon,
.summary-receivable .summary-icon {
	background: #fef3f2;
	border-color: #fecdca;
	color: var(--danger);
}

.summary-closing .summary-icon {
	background: #eff8ff;
	border-color: #b2ddff;
	color: var(--info);
}

.summary-card h3 {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 8px;
}

.summary-caption {
	color: #667085;
	font-size: 12px;
}

.dashboard-welcome {
	align-items: center;
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	display: flex;
	justify-content: space-between;
	padding: 18px 20px;
}

.dashboard-hero {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(16, 42, 63, .96), rgba(22, 128, 91, .88)),
		linear-gradient(90deg, #102a3f, #16805b);
	border-radius: 8px;
	color: #fff;
	display: flex;
	justify-content: space-between;
	overflow: hidden;
	padding: 24px;
	position: relative;
}

.dashboard-hero::after {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px),
		linear-gradient(0deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
	background-size: 34px 34px;
	content: "";
	inset: 0;
	opacity: .18;
	pointer-events: none;
	position: absolute;
}

.dashboard-hero > * {
	position: relative;
	z-index: 1;
}

.dashboard-hero h2 {
	font-size: 28px;
	font-weight: 800;
	line-height: 1.18;
}

.dashboard-hero p {
	color: rgba(255, 255, 255, .78);
	max-width: 680px;
}

.dashboard-kicker {
	color: rgba(255, 255, 255, .82);
	font-size: 13px;
	font-weight: 700;
}

.dashboard-hero-side {
	background: rgba(255, 255, 255, .11);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 8px;
	min-width: 260px;
	padding: 14px;
	text-align: right;
}

.dashboard-hero-side .small {
	color: rgba(255, 255, 255, .72);
	margin-top: 12px;
}

.dashboard-hero-side strong {
	display: block;
	font-size: 14px;
	margin-top: 2px;
}

.dashboard-strip {
	align-items: center;
	background: #fff;
	border: 1px solid #d1fadf;
	border-left: 4px solid var(--accent);
	border-radius: 8px;
	display: flex;
	justify-content: space-between;
	padding: 16px 18px;
}

.strip-metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: flex-end;
}

.data-card {
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	box-shadow: none;
	overflow: hidden;
}

.data-card .card-header {
	border-bottom: 1px solid #e4e7ec;
	padding: 16px 18px;
}

.data-card .table th {
	background: #f8fafc;
	color: #667085;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
}

.data-card .table td,
.data-card .table th {
	padding: 14px 16px;
	vertical-align: middle;
}

.data-card .table tbody tr {
	border-color: #eef2f6;
}

.data-card .table-hover tbody tr:hover {
	background: #fbfcfe;
}

.chart-card .card-body {
	padding: 18px;
}

.chart-box {
	height: 320px;
	position: relative;
}

.chart-box-sm {
	height: 246px;
}

.chart-legend-mini {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
	margin-top: 14px;
}

.chart-legend-mini span {
	align-items: center;
	color: #475467;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	gap: 7px;
}

.legend-dot {
	border-radius: 999px;
	display: inline-block;
	height: 9px;
	width: 9px;
}

.dot-danger {
	background: #b42318;
}

.dot-warning {
	background: #f79009;
}

.dot-success {
	background: #16805b;
}

.dot-muted {
	background: #98a2b3;
}

.school-profile-header {
	align-items: center;
	display: flex;
	gap: 18px;
}

.school-logo-box,
.logo-preview-box {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	display: flex;
	justify-content: center;
	overflow: hidden;
}

.school-logo-box {
	color: var(--accent-dark);
	flex: 0 0 84px;
	font-size: 30px;
	font-weight: 800;
	height: 84px;
	width: 84px;
}

.school-logo-box img,
.logo-preview-box img {
	height: 100%;
	object-fit: contain;
	padding: 8px;
	width: 100%;
}

.profile-item {
	background: #f8fafc;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	min-height: 78px;
	padding: 14px;
}

.profile-item span {
	color: #667085;
	display: block;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 6px;
}

.profile-item strong {
	color: #1d2939;
	display: block;
	font-size: 14px;
	overflow-wrap: anywhere;
}

.profile-card {
	height: 100%;
}

.profile-avatar-lg {
	align-items: center;
	background: #ecfdf3;
	border: 1px solid #abefc6;
	border-radius: 8px;
	color: var(--accent-dark);
	display: inline-flex;
	font-size: 34px;
	font-weight: 850;
	height: 84px;
	justify-content: center;
	margin-bottom: 18px;
	width: 84px;
}

.profile-meta {
	display: grid;
	gap: 10px;
}

.profile-meta div {
	background: #f8fafc;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	padding: 12px;
}

.profile-meta span {
	color: #667085;
	display: block;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 4px;
}

.profile-meta strong {
	color: #1d2939;
	display: block;
	font-size: 13px;
	overflow-wrap: anywhere;
}

.school-form .form-control {
	border-color: #d0d5dd;
	border-radius: 8px;
	min-height: 42px;
}

.school-form .form-select,
.filter-form .form-select,
.school-form textarea.form-control,
.filter-form textarea.form-control {
	border-color: #d0d5dd;
	border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
	border-color: #73c7a8;
	box-shadow: 0 0 0 .2rem rgba(22, 128, 91, .14);
}

.form-label {
	color: #344054;
	font-size: 13px;
	font-weight: 700;
}

.form-text {
	color: #667085;
	font-size: 12px;
}

.money-preview {
	color: var(--accent-dark);
	font-weight: 700;
}

.rombel-add-card,
.rombel-add-card .card-body {
	overflow: visible;
}

.bootstrap-select {
	width: 100% !important;
}

.bootstrap-select > .dropdown-toggle,
.btn-select-search {
	align-items: center;
	background: #fff;
	border-color: #d0d5dd;
	border-radius: 8px;
	color: #344054;
	display: flex;
	font-weight: 650;
	height: 42px;
	line-height: 1.4;
	padding: 8px 12px;
}

.bootstrap-select > .dropdown-toggle:focus,
.bootstrap-select.show > .dropdown-toggle,
.btn-select-search:focus {
	border-color: #73c7a8;
	box-shadow: 0 0 0 .2rem rgba(22, 128, 91, .14);
	outline: 0 !important;
}

.bootstrap-select .filter-option-inner-inner {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bootstrap-select .filter-option {
	align-items: center;
	display: flex;
	height: 100%;
}

.bootstrap-select .dropdown-menu {
	border-color: #d0d5dd;
	border-radius: 8px;
	box-shadow: 0 18px 36px rgba(16, 24, 40, .14);
	min-width: 100% !important;
	overflow: hidden;
	width: 100% !important;
}

.bootstrap-select .bs-searchbox {
	background: #f8fafc;
	border-bottom: 1px solid #e4e7ec;
	padding: 10px;
}

.bootstrap-select .bs-searchbox .form-control {
	border-color: #d0d5dd;
	border-radius: 8px;
	height: 38px;
}

.bootstrap-select .dropdown-item {
	padding-bottom: 8px;
	padding-top: 8px;
	white-space: normal;
}

.bootstrap-select .dropdown-item.active,
.bootstrap-select .dropdown-item:active,
.bootstrap-select .dropdown-item:hover {
	background: #f0fdf4;
	color: #101828;
}

.bootstrap-select .text-muted {
	color: #667085;
	font-size: 12px;
}

.rombel-bulk-modal .modal-dialog {
	margin-bottom: 18px;
	margin-top: 18px;
}

.rombel-bulk-modal .modal-content {
	border: 0;
	border-radius: 12px;
	box-shadow: 0 28px 64px rgba(16, 24, 40, .22);
	max-height: calc(100vh - 36px);
	overflow: hidden;
}

.rombel-bulk-modal .rombel-bulk-form {
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 36px);
	min-height: 0;
}

.rombel-bulk-modal .modal-header {
	background: #fff;
	border-bottom: 1px solid #e4e7ec;
	flex: 0 0 auto;
	padding: 18px 22px;
}

.rombel-bulk-modal .modal-body {
	background: #fff;
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 18px 22px;
}

.rombel-bulk-modal .modal-footer {
	background: #fff;
	border-top: 1px solid #e4e7ec;
	box-shadow: 0 -10px 24px rgba(16, 24, 40, .08);
	flex: 0 0 auto;
	gap: 10px;
	padding: 14px 22px;
	z-index: 5;
}

.rombel-bulk-modal .modal-title {
	color: #101828;
	font-weight: 800;
}

.rombel-bulk-toolbar {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	margin-bottom: 12px;
	padding: 12px;
}

.rombel-modal-table-wrap {
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	max-height: 42vh;
	overflow: auto;
}

.rombel-modal-table {
	font-size: 13px;
	min-width: 620px;
}

.rombel-modal-table thead th {
	background: #f8fafc;
	border-bottom: 1px solid #e4e7ec;
	color: #475467;
	font-size: 12px;
	font-weight: 800;
	position: sticky;
	text-transform: uppercase;
	top: 0;
	z-index: 1;
}

.rombel-modal-table th:first-child,
.rombel-modal-table td:first-child {
	width: 74px;
}

.rombel-modal-table th:nth-child(2),
.rombel-modal-table td:nth-child(2),
.rombel-modal-table th:nth-child(3),
.rombel-modal-table td:nth-child(3) {
	width: 140px;
}

.rombel-modal-table tbody td {
	color: #344054;
	vertical-align: middle;
}

.rombel-modal-table tbody tr:hover td {
	background: #f8fafc;
}

.rombel-modal-table .form-check-input {
	height: 18px;
	margin: 0;
	width: 18px;
}

.rombel-modal-pagination {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-top: 12px;
}

.rombel-pagination-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end;
}

.rombel-pagination-actions .btn-group {
	flex-wrap: wrap;
	gap: 4px;
}

.rombel-pagination-actions .btn {
	border-radius: 7px !important;
	font-weight: 700;
	min-width: 36px;
}

@media (max-width: 767.98px) {
	.rombel-bulk-modal .modal-dialog {
		margin: 0;
	}

	.rombel-bulk-modal .modal-content,
	.rombel-bulk-modal .rombel-bulk-form {
		border-radius: 0;
		height: 100vh;
		max-height: 100vh;
	}

	.rombel-bulk-modal .modal-header,
	.rombel-bulk-modal .modal-body,
	.rombel-bulk-modal .modal-footer {
		padding-left: 16px;
		padding-right: 16px;
	}

	.rombel-bulk-modal .modal-footer {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.rombel-bulk-modal .modal-footer .btn {
		width: 100%;
	}

	.rombel-modal-table-wrap {
		max-height: 48vh;
	}

	.rombel-modal-pagination {
		align-items: flex-start;
	}

	.rombel-pagination-actions {
		justify-content: flex-start;
		width: 100%;
	}
}

.flatpickr-input.form-control[readonly] {
	background: #fff;
}

.logo-preview-box {
	color: #667085;
	font-size: 13px;
	height: 118px;
	text-align: center;
}

.form-actions {
	border-top: 1px solid #e4e7ec;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 22px;
	padding-top: 18px;
}

.filter-form .form-control {
	border-color: #d0d5dd;
	border-radius: 8px;
	min-height: 42px;
}

.action-buttons {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end;
}

.action-buttons form {
	display: inline-flex;
}

.table-note {
	max-width: 260px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.table-tools {
	align-items: center;
	background: #fff;
	border-bottom: 1px solid #e4e7ec;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	padding: 12px 16px;
}

.table-tools-inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.table-tools .form-control {
	min-width: 220px;
}

.receipt-f4-card {
	background: #fff;
	box-shadow: 0 16px 44px rgba(16, 24, 40, .12);
	color: #101828;
	margin: 0 auto 24px;
	max-width: 210mm;
	padding: .18in;
}

.receipt-paper {
	border: 1px solid #101828;
	min-height: 12.64in;
	padding: .12in;
}

.receipt-kop {
	align-items: center;
	border: 1px solid #101828;
	display: grid;
	gap: 14px;
	grid-template-columns: 64px minmax(0, 1fr);
	min-height: 78px;
	padding: 10px 14px;
}

.receipt-logo {
	align-items: center;
	border: 1px solid #98a2b3;
	display: flex;
	height: 58px;
	justify-content: center;
	overflow: hidden;
	width: 58px;
}

.receipt-logo img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.receipt-logo span {
	color: #16805b;
	font-size: 28px;
	font-weight: 800;
}

.receipt-school h1 {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 4px;
	text-transform: uppercase;
}

.receipt-school p {
	color: #475467;
	font-size: 11px;
	line-height: 1.3;
	margin: 0;
}

.receipt-title-band {
	align-items: center;
	background: #f2f4f7;
	border: 1px solid #101828;
	display: flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: space-between;
	margin-top: 12px;
	padding: 8px 16px;
	text-transform: uppercase;
}

.receipt-title-band div:last-child {
	border: 1px solid #101828;
	font-size: 12px;
	padding: 4px 12px;
	text-transform: none;
}

.receipt-info-box {
	border: 1px solid #101828;
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr 1fr;
	margin-top: 16px;
	padding: 12px 16px;
}

.receipt-info-box .table th {
	color: #344054;
	font-size: 12px;
	font-weight: 800;
	padding: 4px 8px 4px 0;
	width: 116px;
}

.receipt-info-box .table td {
	font-size: 12px;
	padding: 4px 0;
}

.receipt-table-wrap {
	margin-top: 16px;
	min-height: 3.9in;
}

.receipt-table {
	font-size: 12px;
}

.receipt-table thead th {
	background: #f2f4f7;
	font-size: 12px;
	font-weight: 800;
}

.receipt-table th,
.receipt-table td {
	border-color: #101828 !important;
	padding: 9px 10px;
}

.receipt-table tfoot th {
	background: #f8fafc;
	font-size: 13px;
}

.kuitansi-signatures {
	margin-top: 34px;
}

.kuitansi-signature-box {
	min-height: 104px;
}

.kuitansi-signatures .border-top {
	margin-left: auto;
	margin-right: auto;
	max-width: 220px;
}

.signature-name {
	display: inline-block;
	max-width: 280px;
	white-space: nowrap;
}

.kuitansi-signatures-stacked .row + .row {
	margin-top: 18px;
}

.kuitansi-signatures-stamp .signature-primary {
	min-height: 178px;
}

.kuitansi-signatures-stamp .signature-primary > div:first-child {
	margin-bottom: 112px !important;
}

.kuitansi-signatures-stamp .kuitansi-signature-box:not(.signature-primary) {
	min-height: 150px;
}

.kuitansi-signatures-stamp .kuitansi-signature-box:not(.signature-primary) > div:first-child {
	margin-bottom: 84px !important;
}

@media print {
	@page {
		size: 210mm 330mm;
		margin: 0;
	}

	@page receipt-f4 {
		size: 210mm 330mm;
		margin: 0;
	}

	html,
	body {
		background: #fff !important;
		height: 329mm;
		margin: 0 !important;
		overflow: hidden;
		width: 210mm;
	}

	.app-sidebar,
	.app-topbar,
	.app-breadcrumb,
	.sidebar-backdrop,
	.print-hidden {
		display: none !important;
	}

	.app-layout,
	.app-main {
		display: block;
		height: 0;
		min-height: auto;
		overflow: visible;
	}

	.app-content {
		height: 0;
		margin: 0;
		overflow: visible;
		padding: 0;
	}

	body * {
		visibility: hidden !important;
	}

	.receipt-f4-card,
	.receipt-f4-card * {
		visibility: visible !important;
	}

	.receipt-f4-card {
		border: 0;
		box-sizing: border-box;
		box-shadow: none;
		height: 329mm;
		left: 0;
		margin: 0 !important;
		max-width: none;
		overflow: hidden;
		padding: 10mm 14mm;
		page: receipt-f4;
		page-break-after: avoid;
		page-break-before: avoid;
		page-break-inside: avoid;
		position: fixed;
		top: 0;
		width: 210mm;
	}

	.receipt-paper {
		box-sizing: border-box;
		height: 309mm;
		min-height: 309mm;
		overflow: hidden;
		padding: .09in;
	}

	.receipt-kop {
		gap: .14in;
		grid-template-columns: .66in minmax(0, 1fr);
		min-height: .82in;
		padding: .1in .16in;
	}

	.receipt-logo {
		height: .62in;
		width: .62in;
	}

	.receipt-logo span {
		font-size: 22pt;
	}

	.receipt-school h1 {
		font-size: 15pt;
		margin-bottom: 2pt;
	}

	.receipt-school p {
		font-size: 8pt;
		line-height: 1.25;
	}

	.receipt-title-band {
		font-size: 12pt;
		margin-top: .12in;
		min-height: .36in;
		padding: .06in .16in;
	}

	.receipt-title-band div:last-child {
		font-size: 9pt;
		padding: .04in .13in;
	}

	.receipt-info-box {
		gap: .18in;
		margin-top: .12in;
		min-height: 1.18in;
		padding: .1in .16in;
	}

	.receipt-info-box .table th {
		font-size: 8pt;
		padding: 2pt 8pt 2pt 0;
		width: 1.08in;
	}

	.receipt-info-box .table td {
		font-size: 8pt;
		padding: 2pt 0;
	}

	.receipt-table-wrap {
		margin-top: .12in;
		min-height: 3.75in;
	}

	.receipt-income-card .receipt-table-wrap {
		min-height: 2.72in;
	}

	.receipt-expense-card .receipt-table-wrap {
		min-height: 2.72in;
	}

	.receipt-table {
		font-size: 8.5pt;
	}

	.receipt-table thead th {
		font-size: 8.5pt;
	}

	.receipt-table th,
	.receipt-table td {
		padding: 6pt 8pt;
	}

	.receipt-table tfoot th {
		font-size: 9.5pt;
	}

	.kuitansi-signatures {
		margin-top: .18in;
	}

	.kuitansi-signature-box {
		min-height: .74in;
	}

	.kuitansi-signatures-stamp {
		margin-top: .08in;
	}

	.kuitansi-signatures-stamp .signature-primary {
		min-height: 1.42in;
	}

	.kuitansi-signatures-stamp .signature-primary > div:first-child {
		margin-bottom: 1.06in !important;
	}

	.kuitansi-signatures-stamp .kuitansi-signature-box:not(.signature-primary) {
		min-height: 1.08in;
	}

	.kuitansi-signatures-stamp .kuitansi-signature-box:not(.signature-primary) > div:first-child {
		margin-bottom: .68in !important;
	}

	.kuitansi-signatures .border-top {
		max-width: 2.55in;
	}

	.signature-name {
		font-size: 7.5pt;
		line-height: 1.2;
		max-width: 2.55in;
		white-space: nowrap;
	}

	.kuitansi-signatures-stacked .row {
		display: flex;
		flex-wrap: nowrap;
	}

	.kuitansi-signatures-stacked .row + .row {
		margin-top: .08in;
	}
}

.account-name {
	align-items: center;
	display: flex;
	gap: 8px;
	min-width: 240px;
}

.account-branch {
	border-bottom: 1px solid #cbd5e1;
	border-left: 1px solid #cbd5e1;
	display: inline-block;
	height: 18px;
	width: 18px;
}

.account-table td:first-child {
	min-width: 280px;
}

.table-responsive {
	-webkit-overflow-scrolling: touch;
}

.auth-page {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(18, 48, 71, .94), rgba(15, 96, 68, .9)),
		url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1400&q=80");
	background-position: center;
	background-size: cover;
	display: flex;
	min-height: 100vh;
	padding: 32px;
}

.auth-panel {
	align-items: stretch;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 430px;
	margin: 0 auto;
	max-width: 1100px;
	width: 100%;
}

.auth-copy {
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px;
}

.auth-copy h1 {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.12;
	margin: 28px 0 16px;
	max-width: 620px;
}

.auth-copy p {
	color: rgba(255, 255, 255, .82);
	font-size: 18px;
	max-width: 560px;
}

.auth-brand {
	align-items: center;
	display: flex;
	font-size: 18px;
	font-weight: 700;
	gap: 10px;
}

.auth-card {
	background: #fff;
	border: 1px solid rgba(255, 255, 255, .32);
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(16, 24, 40, .28);
	padding: 34px;
}

.auth-form .form-control {
	border-color: #d0d5dd;
	border-radius: 8px;
}

.auth-form .btn {
	background: var(--accent);
	border-color: var(--accent);
	border-radius: 8px;
	font-weight: 700;
}

.auth-form .btn:hover {
	background: var(--accent-dark);
	border-color: var(--accent-dark);
}

.auth-note {
	color: #667085;
	font-size: 13px;
	margin-top: 18px;
	text-align: center;
}

.auth-note a {
	color: var(--accent-dark);
	font-weight: 600;
	text-decoration: none;
}

.empty-state {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	margin: 24px auto;
	max-width: 720px;
	padding: 46px 28px;
	text-align: center;
}

.empty-state-icon {
	align-items: center;
	background: #fef3f2;
	border-radius: 999px;
	color: #b42318;
	display: inline-flex;
	font-size: 24px;
	font-weight: 800;
	height: 86px;
	justify-content: center;
	margin-bottom: 20px;
	width: 86px;
}

.empty-state h2 {
	font-weight: 700;
	margin-bottom: 10px;
}

.empty-state p {
	color: #667085;
	margin: 0 auto 22px;
	max-width: 520px;
}

.error-shell {
	padding: 8px 0 28px;
}

.error-hero-card {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(16, 24, 40, .08);
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	min-height: 430px;
	overflow: hidden;
}

.error-hero-main {
	padding: 44px;
}

.error-badge {
	align-items: center;
	background: #ecfdf3;
	border: 1px solid #abefc6;
	border-radius: 999px;
	color: var(--accent-dark);
	display: inline-flex;
	font-size: 26px;
	font-weight: 800;
	height: 82px;
	justify-content: center;
	margin-bottom: 22px;
	width: 82px;
}

.error-eyebrow {
	color: var(--accent-dark);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .02em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.error-hero-main h1 {
	color: #101828;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 12px;
	max-width: 620px;
}

.error-copy {
	color: #667085;
	font-size: 15px;
	margin: 0;
	max-width: 620px;
}

.error-url {
	background: #f8fafc;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	margin-top: 24px;
	max-width: 680px;
	padding: 12px 14px;
	text-align: left;
}

.error-url span {
	color: #667085;
	display: block;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.error-url strong {
	color: #344054;
	display: block;
	font-size: 13px;
	overflow-wrap: anywhere;
}

.error-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.error-side-panel {
	background: #f8fafc;
	border-left: 1px solid #e4e7ec;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 32px;
}

.error-mark {
	align-items: center;
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	display: inline-flex;
	height: 72px;
	justify-content: center;
	width: 72px;
}

.error-mark img {
	display: block;
	max-height: 56px;
	max-width: 56px;
	object-fit: contain;
}

.error-mark span {
	color: var(--accent-dark);
	font-size: 30px;
	font-weight: 800;
}

.error-side-copy {
	margin-top: 18px;
}

.error-side-copy span {
	color: #667085;
	display: block;
	font-size: 13px;
	margin-bottom: 4px;
}

.error-side-copy strong {
	color: #101828;
	display: block;
	font-size: 18px;
	line-height: 1.35;
}

.error-checklist {
	display: grid;
	gap: 10px;
	margin-top: 28px;
}

.error-checklist div {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	display: flex;
	gap: 10px;
	padding: 12px;
}

.error-checklist span {
	color: var(--accent-dark);
	font-size: 12px;
	font-weight: 800;
}

.error-checklist p {
	color: #475467;
	font-size: 13px;
	line-height: 1.4;
	margin: 0;
}

.backup-card .card-body {
	display: flex;
	flex-direction: column;
}

.backup-card p {
	flex: 1;
}

.backup-icon {
	align-items: center;
	background: #ecfdf3;
	border: 1px solid #abefc6;
	border-radius: 8px;
	color: var(--accent-dark);
	display: inline-flex;
	height: 48px;
	justify-content: center;
	margin-bottom: 16px;
	width: 48px;
}

.backup-icon i {
	height: 24px;
	width: 24px;
}

.subakun-cascade {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.subakun-level {
	background: #f8fafc;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	padding: 12px;
}

.subakun-level .form-label {
	color: #475467;
	font-weight: 700;
}

@media (max-width: 991.98px) {
	.app-layout {
		display: block;
	}

	.error-hero-card {
		grid-template-columns: 1fr;
	}

	.error-hero-main {
		padding: 28px;
	}

	.error-side-panel {
		border-left: 0;
		border-top: 1px solid #e4e7ec;
	}

	.app-sidebar {
		bottom: 0;
		box-shadow: 18px 0 40px rgba(15, 23, 42, .18);
		left: 0;
		max-width: calc(100vw - 48px);
		position: fixed;
		top: 0;
		transform: translateX(-105%);
		transition: transform .22s ease;
		width: var(--sidebar-width);
		z-index: 40;
	}

	.sidebar-user {
		margin-top: 18px;
	}

	.sidebar-open .app-sidebar {
		transform: translateX(0);
	}

	.sidebar-open .sidebar-backdrop {
		opacity: 1;
		pointer-events: auto;
	}

	.sidebar-close,
	.sidebar-toggle {
		display: inline-flex;
	}

	.app-topbar {
		position: sticky;
		top: 0;
		z-index: 15;
	}
}

@media (max-width: 768px) {
	.app-topbar {
		align-items: flex-start;
		gap: 12px;
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		padding: 12px 16px;
	}

	.app-topbar .h4 {
		font-size: 18px;
	}

	.topbar-kicker {
		font-size: 12px;
	}

	.topbar-user {
		font-size: 13px;
	}

	.topbar-actions {
		justify-content: space-between;
		width: 100%;
	}

	.topbar-user-card {
		flex: 1;
		min-width: 0;
	}

	.topbar-user-meta {
		min-width: 0;
	}

	.app-content {
		padding: 16px;
	}

	.dashboard-welcome {
		align-items: flex-start;
		display: grid;
		gap: 12px;
	}

	.dashboard-hero {
		align-items: flex-start;
		display: grid;
		gap: 18px;
		padding: 20px;
	}

	.dashboard-hero h2 {
		font-size: 24px;
	}

	.dashboard-hero-side {
		min-width: 0;
		text-align: left;
		width: 100%;
	}

	.dashboard-strip {
		align-items: flex-start;
		display: grid;
		gap: 12px;
	}

	.strip-metrics {
		display: grid;
		justify-content: flex-start;
	}

	.school-profile-header {
		align-items: flex-start;
		display: grid;
	}

	.form-actions {
		display: grid;
	}

	.action-buttons {
		justify-content: flex-start;
	}

	.table-tools,
	.table-tools-inner {
		align-items: stretch;
		display: grid;
		width: 100%;
	}

	.auth-page {
		padding: 18px;
	}

	.auth-panel {
		display: block;
	}

	.auth-copy {
		padding: 10px 4px 24px;
	}

	.auth-copy h1 {
		font-size: 30px;
	}

	.auth-copy p {
		font-size: 16px;
	}

	.auth-card {
		padding: 24px;
	}
}

@media (max-width: 575.98px) {
	:root {
		--sidebar-width: 292px;
	}

	.app-topbar {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.topbar-user {
		text-align: left !important;
	}

	.topbar-user .justify-content-end {
		justify-content: flex-start !important;
	}

	.topbar-user-card .badge {
		display: none;
	}

	.topbar-logout-btn span {
		display: none;
	}

	.summary-card h3 {
		font-size: 19px;
	}

	.data-card .table td,
	.data-card .table th {
		padding: 12px 14px;
		white-space: nowrap;
	}
}
