
.icon-circle-soft {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 193, 7, 0.12);
	color: #d48a10;
}

.btn-pill {
	border-radius: 999px;
}

.category-chip-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding: 0.9rem 1rem;
	border: 1px solid var(--bs-border-color);
	border-radius: 0.75rem;
	background: #fff;
	min-height: 58px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-chip-group.is-invalid {
	border-color: var(--bs-danger);
	box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.08);
}

.category-chip {
	border: 1px solid var(--bs-border-color);
	background: var(--bs-light);
	color: var(--bs-body-color);
	border-radius: 999px;
	padding: 0.55rem 0.95rem;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.2;
	transition: all 0.2s ease;
	cursor: pointer;
	user-select: none;
}

.category-chip:hover {
	border-color: #c9ced6;
	background: #eef2f6;
}

.category-chip.active {
	background: #212529;
	border-color: #212529;
	color: #f8b84e;
	box-shadow: 0 0.35rem 0.9rem rgba(33, 37, 41, 0.14);
}

.category-chip:focus-visible {
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.18);
}

.category-chip-helper {
	font-size: 0.875rem;
	color: var(--bs-secondary-color);
	margin-top: 0.45rem;
}

.category-chip-empty {
	font-size: 0.95rem;
	color: var(--bs-secondary-color);
}

@media (max-width: 991.98px) {
	.category-chip-group {
		padding: 0.85rem;
		gap: 0.6rem;
	}

	.category-chip {
		font-size: 0.92rem;
		padding: 0.5rem 0.85rem;
	}
}

.insight-hero {
	background: linear-gradient(135deg, rgba(255, 193, 7, 0.12) 0%, rgba(255, 193, 7, 0.04) 100%);
	border: 1px solid rgba(255, 193, 7, 0.20);
	border-radius: 1rem;
	padding: 1.25rem 1.25rem;
}

.insight-summary-item {
	min-width: 180px;
}

.insight-kpi-card {
	border: 0;
	box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.04);
	border-radius: 1rem;
}

.insight-kpi-label {
	font-size: 0.85rem;
	color: var(--bs-secondary-color);
	margin-bottom: 0.25rem;
}

.insight-kpi-value {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 0.35rem;
}

.insight-kpi-sub {
	font-size: 0.85rem;
	color: var(--bs-secondary-color);
}

.insight-soft-box {
	border: 1px solid var(--bs-border-color);
	border-radius: 0.9rem;
	padding: 1rem;
	height: 100%;
	background: var(--bs-body-bg);
}

.insight-soft-box-highlight {
	border-color: rgba(255, 193, 7, 0.45);
	background: rgba(255, 193, 7, 0.05);
}

.insight-alert-card {
	border: 1px solid var(--bs-border-color);
	border-left-width: 4px;
	border-radius: 0.9rem;
	padding: 1rem;
	background: var(--bs-body-bg);
}

.insight-alert-warning {
	border-left-color: var(--bs-warning);
}

.insight-alert-danger {
	border-left-color: var(--bs-danger);
}

.insight-alert-info {
	border-left-color: var(--bs-secondary);
}

.insight-mini-muted {
	font-size: 0.82rem;
	color: var(--bs-secondary-color);
}

.timeline-current-row {
	background: rgba(255, 193, 7, 0.08);
}

.timeline-open-row td {
	font-weight: 500;
}

.ki-placeholder-card {
	border: 1px dashed var(--bs-border-color);
	border-radius: 1rem;
}

.insight-list-item {
	border-bottom: 1px solid var(--bs-border-color);
	padding: 0.85rem 0;
}

.insight-list-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.insight-list-item:first-child {
	padding-top: 0;
}



.upcoming-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: flex-start;
}

@media (min-width: 1200px) {
	.upcoming-toolbar {
		justify-content: flex-end;
	}
}

.upcoming-year-nav-btn {
	width: 2.35rem;
	height: 2.35rem;
	padding: 0;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.upcoming-year-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	background: rgba(255, 193, 7, 0.14);
	border: 1px solid rgba(255, 193, 7, 0.24);
	font-weight: 700;
	color: var(--bs-dark);
}

.upcoming-kpi-icon {
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 193, 7, 0.12);
	color: #8a6d00;
	flex-shrink: 0;
}

.upcoming-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	border: 1px solid var(--bs-border-color);
	background: var(--bs-body-bg);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--bs-body-color);
}

.upcoming-filter-chip-warning {
	border-color: rgba(255, 193, 7, 0.35);
	background: rgba(255, 193, 7, 0.08);
}

.upcoming-month-jump-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.upcoming-month-jump {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	border-radius: 999px;
	border: 1px solid var(--bs-border-color);
	background: var(--bs-body-bg);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--bs-body-color);
	text-decoration: none;
	transition: all 0.2s ease;
}

.upcoming-month-jump:hover {
	transform: translateY(-1px);
	border-color: rgba(255, 193, 7, 0.35);
	box-shadow: 0 0.25rem 0.65rem rgba(0, 0, 0, 0.04);
	color: var(--bs-body-color);
}

.upcoming-month-jump-count {
	min-width: 1.5rem;
	height: 1.5rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 193, 7, 0.14);
	color: #8a6d00;
	font-size: 0.76rem;
	font-weight: 700;
}

.upcoming-accordion .accordion-item {
	border: 0;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.04);
	background: var(--bs-body-bg);
}

.upcoming-accordion .accordion-button {
	padding: 0;
	background: var(--bs-body-bg);
	box-shadow: none !important;
	border: 0;
}

.upcoming-accordion .accordion-button:not(.collapsed) {
	background: var(--bs-body-bg);
	color: inherit;
	box-shadow: none !important;
}

.upcoming-accordion .accordion-button::after {
	margin-right: 1rem;
	margin-left: 1rem;
}

.upcoming-accordion-header {
	width: 100%;
	padding: 1.1rem 1.25rem;
	background: linear-gradient(180deg, rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.55));
}

.upcoming-accordion-body {
	padding: 1rem 1.1rem 1.1rem 1.1rem;
	background: var(--bs-body-bg);
}

.upcoming-month-summary-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: flex-start;
}

@media (min-width: 992px) {
	.upcoming-month-summary-pills {
		justify-content: flex-end;
	}
}

.upcoming-month-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0.75rem;
	border-radius: 999px;
	border: 1px solid var(--bs-border-color);
	background: var(--bs-body-bg);
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--bs-body-color);
}

.upcoming-empty-box {
	border: 1px dashed var(--bs-border-color);
	border-radius: 0.9rem;
	padding: 1rem;
	background: var(--bs-body-bg);
}

.upcoming-table-wrap {
	border: 1px solid var(--bs-border-color);
	border-radius: 1rem;
	overflow: hidden;
	background: var(--bs-body-bg);
	position: relative;
}

.upcoming-table-wrap::after {
	content: "";
	display: block;
	height: 3px;
	background: rgba(255, 193, 7, 0.95);
	width: 100%;
}

.upcoming-payments-table {
	margin-bottom: 0 !important;
}

.upcoming-payments-table thead th {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bs-secondary-color);
	white-space: nowrap;
	border-bottom-width: 1px;
}

.upcoming-payments-table tbody td {
	vertical-align: middle;
}

.upcoming-creditor-name {
	font-weight: 700;
	color: var(--bs-body-color);
	margin-bottom: 0.15rem;
}

.upcoming-creditor-sub {
	font-size: 0.78rem;
	color: var(--bs-secondary-color);
}

.upcoming-date-cell,
.upcoming-meta-cell {
	font-size: 0.86rem;
	color: var(--bs-secondary-color);
	white-space: nowrap;
}

.upcoming-money-cell {
	font-weight: 700;
	white-space: nowrap;
}

.upcoming-status-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.critical-row {
	background: rgba(220, 53, 69, 0.035);
}

.critical-row td:first-child {
	box-shadow: inset 4px 0 0 #dc3545;
}

.fixed-row {
	background: rgba(25, 135, 84, 0.035);
}

.fixed-row td:first-child {
	box-shadow: inset 4px 0 0 #198754;
}

.upcoming-booking-link {
	font-weight: 600;
	text-decoration: none;
}

.upcoming-table-action-btn {
	white-space: nowrap;
}

.recalc-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 2000;
	align-items: center;
	justify-content: center;
}

.recalc-overlay-content {
	width: 420px;
	max-width: calc(100% - 2rem);
	text-align: center;
}


.sidebar .sidebar-brand {
	min-height: 52px;
	padding-top: 10px;
}

.sidebar .sidebar-logo {
	height: 52px !important;
	width: auto !important;
	display: block !important;
}

html[data-sidebar-behavior="compact"] .sidebar .sidebar-brand {
	justify-content: center;
	padding-top: 27px;
	padding-left: 0;
	padding-right: 0;
	min-height: 72px;
}

html[data-sidebar-behavior="compact"] .sidebar .sidebar-logo {
	height: 18px !important;
	width: auto !important;
	transform: scale(2.1);
	transform-origin: center;
}

.stat.stat-sm.icon-circle-dark,
.stat.stat-sm.icon-circle-warning {
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.stat.stat-sm.icon-circle-dark {
	background-color: var(--bs-dark) !important;
}

.stat.stat-sm.icon-circle-warning {
	background-color: var(--bs-warning) !important;
}

.stat.stat-sm.icon-circle-dark svg.lucide,
.stat.stat-sm.icon-circle-warning svg.lucide {
	width: 18px;
	height: 18px;
	stroke-width: 2;
}

.stat.stat-sm.icon-circle-dark svg.lucide {
	color: var(--bs-warning) !important;
	stroke: currentColor !important;
}

.stat.stat-sm.icon-circle-warning svg.lucide {
	color: var(--bs-dark) !important;
	stroke: currentColor !important;
}

.nav-icon-warning {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.nav-icon-warning svg.lucide {
	width: 20px;
	height: 20px;
	color: var(--bs-warning) !important;
	stroke: currentColor !important;
	stroke-width: 2;
}

.nav-icon-warning .icon-badge-warning {
	position: absolute;
	top: -8px;
	right: -10px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background-color: var(--bs-warning) !important;
	color: var(--bs-dark) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.icon-circle-soft {
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #eef2f7;
}

.icon-circle-soft svg.lucide {
	width: 18px;
	height: 18px;
	color: var(--bs-warning) !important;
	stroke: currentColor !important;
	stroke-width: 2;
}
