/* Dashboard Specific Enhancements (Vaadin Lumo Black Theme) */
		.dashboard-wrapper {
			background-color: var(--lumo-body-bg, #f8fafc);
			min-height: calc(100vh - 70px);
			padding-bottom: 3.5rem;
		}

		.dashboard-header-banner {
			background: linear-gradient(135deg, #090d16 0%, #0f172a 100%);
			color: #ffffff;
			padding: 2.25rem 0 2rem 0;
			border-bottom: 1px solid rgba(255, 255, 255, 0.08);
			box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.35);
		}

		.dashboard-header-title {
			font-size: 1.65rem;
			font-weight: 700;
			letter-spacing: -0.02em;
			margin-bottom: 0.35rem;
		}

		.dashboard-header-sub {
			font-size: 0.92rem;
			color: #94a3b8;
		}

		.filter-control-card {
			background: #ffffff;
			border: 1px solid var(--lumo-border-color, #e2e8f0);
			border-radius: var(--lumo-border-radius-l, 12px);
			padding: 1.25rem 1.5rem;
			box-shadow: var(--lumo-box-shadow-m, 0 4px 6px -1px rgba(0, 0, 0, 0.05));
			margin-top: -1.75rem;
			position: relative;
			z-index: 10;
		}

		.filter-label {
			font-size: 0.78rem;
			font-weight: 700;
			text-transform: uppercase;
			letter-spacing: 0.04em;
			color: var(--lumo-secondary-text, #64748b);
			margin-bottom: 0.35rem;
		}

		.vaadin-select {
			background-color: #f8fafc;
			border: 1px solid #cbd5e1;
			border-radius: var(--lumo-border-radius-m, 8px);
			font-size: 0.88rem;
			font-weight: 500;
			color: #0f172a;
			padding: 0.55rem 0.85rem;
			transition: all 0.2s ease;
		}

		.vaadin-select:focus {
			background-color: #ffffff;
			border-color: #0f172a;
			box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.12);
		}

		.btn-vaadin-filter {
			background-color: #0f172a;
			color: #ffffff;
			font-weight: 600;
			font-size: 0.85rem;
			border-radius: var(--lumo-border-radius-m, 8px);
			padding: 0.55rem 1.1rem;
			border: 1px solid #0f172a;
			transition: all 0.2s ease;
		}

		.btn-vaadin-filter:hover {
			background-color: #1e293b;
			color: #ffffff;
			box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
		}

		.btn-vaadin-outline {
			background-color: transparent;
			color: #475569;
			font-weight: 600;
			font-size: 0.85rem;
			border-radius: var(--lumo-border-radius-m, 8px);
			padding: 0.55rem 0.95rem;
			border: 1px solid #cbd5e1;
			transition: all 0.2s ease;
		}

		.btn-vaadin-outline:hover {
			background-color: #f1f5f9;
			color: #0f172a;
			border-color: #94a3b8;
		}

		.active-filter-badge {
			display: inline-flex;
			align-items: center;
			background: #f1f5f9;
			color: #0f172a;
			font-size: 0.78rem;
			font-weight: 600;
			padding: 0.35rem 0.75rem;
			border-radius: 9999px;
			border: 1px solid #e2e8f0;
		}

		/* KPI Stat Cards */
		.kpi-stat-card {
			background: #ffffff;
			border: 1px solid #e2e8f0;
			border-radius: var(--lumo-border-radius-m, 8px);
			padding: 1.15rem 1.25rem;
			transition: transform 0.2s ease, box-shadow 0.2s ease;
			box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
			height: 100%;
			position: relative;
			overflow: hidden;
		}

		.kpi-stat-card:hover {
			transform: translateY(-2px);
			box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.08);
		}

		.kpi-stat-card::before {
			content: "";
			position: absolute;
			top: 0;
			left: 0;
			width: 4px;
			height: 100%;
			background-color: #0f172a;
		}

		.kpi-card-blue::before {
			background-color: #2563eb;
		}

		.kpi-card-emerald::before {
			background-color: #059669;
		}

		.kpi-card-amber::before {
			background-color: #d97706;
		}

		.kpi-card-purple::before {
			background-color: #7c3aed;
		}

		.kpi-card-teal::before {
			background-color: #0d9488;
		}

		.kpi-card-rose::before {
			background-color: #dc2626;
		}

		.kpi-icon-box {
			width: 36px;
			height: 36px;
			border-radius: 8px;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 1rem;
		}

		.kpi-title {
			font-size: 0.8rem;
			font-weight: 600;
			color: #64748b;
			text-transform: uppercase;
			letter-spacing: 0.03em;
			margin-bottom: 0.2rem;
		}

		.kpi-value {
			font-size: 1.65rem;
			font-weight: 700;
			color: #0f172a;
			line-height: 1.2;
			margin-bottom: 0.25rem;
		}

		.kpi-subtext {
			font-size: 0.74rem;
			color: #94a3b8;
		}

		/* Chart Cards */
		.chart-card {
			background: #ffffff;
			border: 1px solid #e2e8f0;
			border-radius: var(--lumo-border-radius-l, 12px);
			padding: 1.25rem 1.4rem;
			box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.04);
			height: 100%;
			display: flex;
			flex-direction: column;
		}

		.chart-card-header {
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-bottom: 1rem;
			padding-bottom: 0.65rem;
			border-bottom: 1px solid #f1f5f9;
		}

		.chart-card-title {
			font-size: 0.96rem;
			font-weight: 700;
			color: #0f172a;
			margin: 0;
			display: flex;
			align-items: center;
		}

		.chart-badge {
			font-size: 0.72rem;
			font-weight: 600;
			color: #475569;
			background: #f1f5f9;
			padding: 0.25rem 0.55rem;
			border-radius: 6px;
		}

		.chart-body-wrapper {
			position: relative;
			flex-grow: 1;
			min-height: 290px;
			width: 100%;
		}

		.chart-card-footer {
			margin-top: 0.85rem;
			padding-top: 0.65rem;
			border-top: 1px solid #f1f5f9;
			font-size: 0.76rem;
			color: #64748b;
		}

		/* Operations Table */
		.matrix-table-card {
			background: #ffffff;
			border: 1px solid #e2e8f0;
			border-radius: var(--lumo-border-radius-l, 12px);
			padding: 1.25rem 1.4rem;
			box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.04);
		}

		.vaadin-table {
			font-size: 0.82rem;
			margin-bottom: 0;
		}

		.vaadin-table thead th {
			background-color: #f8fafc;
			color: #475569;
			font-weight: 700;
			font-size: 0.74rem;
			text-transform: uppercase;
			letter-spacing: 0.03em;
			border-bottom: 1px solid #cbd5e1;
			padding: 0.65rem 0.75rem;
			white-space: nowrap;
		}

		.vaadin-table tbody td {
			padding: 0.6rem 0.75rem;
			vertical-align: middle;
			border-bottom: 1px solid #f1f5f9;
			color: #1e293b;
		}

		.vaadin-table tbody tr:hover {
			background-color: #f8fafc;
		}

		.rate-bar-container {
			width: 60px;
			height: 6px;
			background-color: #e2e8f0;
			border-radius: 9999px;
			overflow: hidden;
			display: inline-block;
			vertical-align: middle;
			margin-right: 6px;
		}

		.rate-bar-fill {
			height: 100%;
			background-color: #059669;
			border-radius: 9999px;
		}

		/* Modern Overview Dual Stats Panels (Matching Image Design) */
		.stats-side-panel {
			background: #ffffff;
			border: 1px solid #eef2f6;
			border-radius: 16px;
			padding: 1.35rem 1.4rem;
			box-shadow: 0 2px 10px -1px rgba(0, 0, 0, 0.04);
			height: 100%;
			display: flex;
			flex-direction: column;
		}

		.stats-panel-header {
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-bottom: 0.85rem;
			padding-bottom: 0.75rem;
			border-bottom: 1px solid #f1f5f9;
		}

		.stats-menu-btn {
			background: transparent;
			border: none;
			color: #94a3b8;
			font-size: 0.95rem;
			padding: 0.2rem 0.4rem;
			cursor: pointer;
			border-radius: 6px;
			transition: color 0.15s ease, background-color 0.15s ease;
			display: inline-flex;
			align-items: center;
			justify-content: center;
		}

		.stats-menu-btn:hover {
			color: #1e293b;
			background-color: #f1f5f9;
		}

		.dash-stats-grid {
			display: grid;
			grid-template-columns: repeat(3, 1fr);
			gap: 0;
			flex-grow: 1;
		}

		.overview-stat-item {
			display: flex;
			align-items: center;
			padding: 1rem 0.85rem;
			border-bottom: 1px solid #f1f5f9;
			border-right: 1px solid #f1f5f9;
			background-color: #ffffff;
			transition: background-color 0.15s ease;
			min-width: 0;
		}

		.overview-stat-item:hover {
			background-color: #f8fafc;
		}

		/* Remove right border on 3rd column */
		.overview-stat-item:nth-child(3n) {
			border-right: none;
		}

		/* Remove bottom border on last row (items 7, 8, 9) */
		.overview-stat-item:nth-last-child(-n+3) {
			border-bottom: none;
		}

		@media (max-width: 1199px) and (min-width: 576px) {
			.dash-stats-grid {
				grid-template-columns: repeat(2, 1fr);
			}

			.overview-stat-item {
				border-right: 1px solid #f1f5f9;
				border-bottom: 1px solid #f1f5f9;
			}

			.overview-stat-item:nth-child(3n) {
				border-right: 1px solid #f1f5f9;
			}

			.overview-stat-item:nth-child(2n) {
				border-right: none;
			}

			.overview-stat-item:nth-last-child(-n+3) {
				border-bottom: 1px solid #f1f5f9;
			}

			.overview-stat-item:last-child {
				border-bottom: none;
			}
		}

		@media (max-width: 575px) {
			.dash-stats-grid {
				grid-template-columns: 1fr;
			}

			.overview-stat-item {
				border-right: none !important;
				border-bottom: 1px solid #f1f5f9;
				padding: 0.85rem 0.5rem;
			}

			.overview-stat-item:last-child {
				border-bottom: none;
			}
		}

		/* Squircle Icon Container with Soft Pastel Colors (as in image) */
		.stat-icon-wrapper {
			width: 48px;
			height: 48px;
			min-width: 48px;
			border-radius: 14px;
			display: flex;
			align-items: center;
			justify-content: center;
			margin-right: 12px;
			font-size: 1.2rem;
			transition: transform 0.2s ease;
		}

		.overview-stat-item:hover .stat-icon-wrapper {
			transform: scale(1.06);
		}

		.stat-content {
			display: flex;
			flex-direction: column;
			justify-content: center;
			min-width: 0;
		}

		.stat-label {
			font-size: 0.82rem;
			font-weight: 500;
			color: #64748b;
			line-height: 1.25;
			margin-bottom: 3px;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}

		.stat-value {
			font-size: 1.45rem;
			font-weight: 700;
			color: #0f172a;
			line-height: 1.15;
			letter-spacing: -0.02em;
		}

		/* Pastel Theme Color Palettes (Matched from Reference Image) */
		.icon-theme-blue {
			background-color: #e0f2fe;
			color: #0284c7;
		}

		.icon-theme-emerald {
			background-color: #dcfce7;
			color: #059669;
		}

		.icon-theme-red {
			background-color: #fee2e2;
			color: #ef4444;
		}

		.icon-theme-amber {
			background-color: #fef3c7;
			color: #d97706;
		}

		.icon-theme-teal {
			background-color: #ccfbf1;
			color: #0d9488;
		}

		.icon-theme-purple {
			background-color: #f3e8ff;
			color: #7c3aed;
		}

		.icon-theme-indigo {
			background-color: #ede9fe;
			color: #6366f1;
		}

		.icon-theme-orange {
			background-color: #ffedd5;
			color: #ea580c;
		}

		.icon-theme-rose {
			background-color: #ffe4e6;
			color: #e11d48;
		}

		/* Legacy Fallbacks */
		.dash-stat-ring {
			width: 44px;
			height: 44px;
			border-radius: 14px;
			display: flex;
			align-items: center;
			justify-content: center;
			margin-right: 12px;
		}
