﻿/*
 * CSS voor adviespagina's.
 */
.hw-advice-stack {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.hw-advice-row {
	align-items: center;
	background: #fff;
	border: 1px solid #dfe4ec;
	border-radius: 12px;
	display: flex;
	gap: 16px;
	min-height: 122px;
	padding: 22px 28px;
}

.hw-advice-icon {
	align-items: center;
	border-radius: 999px;
	color: #fff;
	display: flex;
	font-weight: 900;
	height: 50px;
	justify-content: center;
	width: 50px;
}

.hw-advice-icon svg {
	fill: none;
	height: 24px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.4;
	width: 24px;
}

.hw-bg-red {
	background: #ff3f4b;
}

.hw-advice-row h2 {
	font-size: 18px;
	margin: 0 0 9px;
}

.hw-advice-row p,
.hw-dashboard-card p {
	color: #5f6d85;
	font-size: 12px;
	margin: 0;
}

.hw-impact {
	background: #f1f3f7;
	border-radius: 999px;
	font-size: 11px;
	margin-left: auto;
	padding: 9px 18px;
	text-align: center;
	width: 137px;
}

.hw-impact-red {
	color: #ff3f4b;
}

.hw-impact-orange {
	color: #ff951c;
}

.hw-impact-green {
	color: var(--hw-green);
}

.hw-impact-purple {
	color: #8a3ffc;
}

.hw-advice-board {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.hw-advice-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.hw-advice-summary-card {
	background: #ffffff;
	border: 1px solid #e5ebf3;
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
	flex: 1 1 210px;
	min-height: 112px;
	padding: 20px;
	position: relative;
}

.hw-advice-summary-card::before {
	background: #dfe7f2;
	border-radius: 999px;
	content: "";
	height: 6px;
	left: 20px;
	position: absolute;
	right: 20px;
	top: 0;
}

.hw-advice-summary-card:nth-child(1)::before {
	background: #3478f6;
}

.hw-advice-summary-card:nth-child(2)::before {
	background: #ff3f4b;
}

.hw-advice-summary-card:nth-child(3)::before {
	background: #22a861;
}

.hw-advice-summary-card:nth-child(4)::before {
	background: #ff951c;
}

.hw-advice-summary-card span,
.hw-advice-summary-card small {
	color: #667085;
	display: block;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.35;
}

.hw-advice-summary-card span {
	letter-spacing: 0.02em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.hw-advice-summary-card strong {
	color: #0f172a;
	display: block;
	font-size: 24px;
	line-height: 1.15;
	margin-bottom: 8px;
	overflow-wrap: anywhere;
}

.hw-filter-control {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.hw-advice-filters {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hw-advice-filters label {
	background: #ffffff;
	border: 1px solid #dfe4ec;
	border-radius: 999px;
	color: #344054;
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	padding: 11px 14px;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.hw-advice-filters label:hover,
.hw-advice-filters label:focus-within {
	border-color: #c9d4e4;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

#hw-filter-all:checked ~ .hw-advice-filters label[for="hw-filter-all"],
#hw-filter-warnings:checked ~ .hw-advice-filters label[for="hw-filter-warnings"],
#hw-filter-positive:checked ~ .hw-advice-filters label[for="hw-filter-positive"],
#hw-filter-impact:checked ~ .hw-advice-filters label[for="hw-filter-impact"] {
	background: #0f172a;
	border-color: #0f172a;
	color: #ffffff;
}

.hw-advice-list-modern {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

#hw-filter-warnings:checked ~ .hw-advice-list-modern .hw-advice-row:not(.hw-advice-warning),
#hw-filter-positive:checked ~ .hw-advice-list-modern .hw-advice-row:not(.hw-advice-positive),
#hw-filter-impact:checked ~ .hw-advice-list-modern .hw-advice-row:not(.hw-advice-high-impact) {
	display: none;
}

.hw-advice-list-modern .hw-advice-row {
	align-items: flex-start;
	border-color: #e1e8f2;
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.035);
	gap: 18px;
	min-height: 0;
	padding: 24px;
	position: relative;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hw-advice-list-modern .hw-advice-row::before {
	border-radius: 14px 0 0 14px;
	bottom: -1px;
	content: "";
	left: -1px;
	position: absolute;
	top: -1px;
	width: 5px;
}

.hw-advice-list-modern .hw-advice-row:hover {
	border-color: #d3ddea;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
	transform: translateY(-2px);
}

.hw-advice-red::before {
	background: #ff3f4b;
}

.hw-advice-orange::before {
	background: #ff951c;
}

.hw-advice-green::before {
	background: #22a861;
}

.hw-advice-content {
	flex: 1 1 auto;
	min-width: 0;
}

.hw-advice-title-row {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 8px;
}

.hw-advice-title-row h2 {
	color: #0b1220;
	font-size: 19px;
	line-height: 1.25;
	margin: 0;
}

.hw-advice-list-modern .hw-advice-row p {
	color: #4f5f77;
	font-size: 13px;
	line-height: 1.55;
	max-width: 820px;
}

.hw-advice-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.hw-advice-meta span {
	background: #f6f8fb;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	color: #344054;
	font-size: 12px;
	font-weight: 800;
	padding: 8px 11px;
}

.hw-advice-list-modern .hw-impact {
	align-items: center;
	border: 1px solid transparent;
	display: inline-flex;
	flex: 0 0 auto;
	gap: 7px;
	justify-content: center;
	margin-left: 0;
	min-width: 130px;
	padding: 9px 12px;
	width: auto;
}

.hw-advice-list-modern .hw-impact span {
	align-items: center;
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	font-size: 10px;
	height: 18px;
	justify-content: center;
	line-height: 1;
	width: 18px;
}

.hw-advice-list-modern .hw-impact-red {
	background: #fff1f2;
	border-color: #fecdd3;
	color: #be123c;
}

.hw-advice-list-modern .hw-impact-red span {
	background: #ff3f4b;
}

.hw-advice-list-modern .hw-impact-orange {
	background: #fff7ed;
	border-color: #fed7aa;
	color: #c2410c;
}

.hw-advice-list-modern .hw-impact-orange span {
	background: #ff951c;
}

.hw-advice-list-modern .hw-impact-green {
	background: #ecfdf3;
	border-color: #bbf7d0;
	color: #047857;
}

.hw-advice-list-modern .hw-impact-green span {
	background: #22a861;
}

.hw-advice-reason {
	background: #f8fafc;
	border: 1px solid #e5ebf3;
	border-radius: 10px;
	margin-top: 14px;
	max-width: 900px;
	padding: 0;
}

.hw-advice-reason summary {
	color: #1f2937;
	cursor: pointer;
	font-size: 12px;
	font-weight: 900;
	list-style: none;
	padding: 12px 14px;
}

.hw-advice-reason summary::-webkit-details-marker {
	display: none;
}

.hw-advice-reason summary::after {
	color: #667085;
	content: "+";
	float: right;
	font-size: 15px;
	line-height: 1;
}

.hw-advice-reason[open] summary::after {
	content: "-";
}

.hw-advice-reason ul {
	border-top: 1px solid #e5ebf3;
	color: #5f6d85;
	font-size: 12px;
	line-height: 1.55;
	margin: 0;
	padding: 12px 18px 14px 30px;
}

.hw-priority-panel {
	padding: 26px;
}

.hw-priority-heading {
	align-items: flex-start;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 20px;
}

.hw-priority-heading h2 {
	margin-bottom: 8px;
}

.hw-priority-heading span {
	background: #eef2f7;
	border-radius: 999px;
	color: #344054;
	font-size: 11px;
	font-weight: 900;
	padding: 8px 11px;
	white-space: nowrap;
}

.hw-priority-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hw-priority-item {
	background: #fbfcfe;
	border: 1px solid #e5ebf3;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 13px;
	padding: 16px;
}

.hw-priority-item h3 {
	color: #0f172a;
	font-size: 15px;
	line-height: 1.3;
	margin: 8px 0 6px;
}

.hw-priority-item p {
	font-size: 12px;
	line-height: 1.5;
}

.hw-priority-pill {
	border-radius: 999px;
	display: inline-flex;
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
	padding: 7px 9px;
	text-transform: uppercase;
}

.hw-priority-pill-hoog {
	background: #fff1f2;
	color: #be123c;
}

.hw-priority-pill-middel {
	background: #fff7ed;
	color: #c2410c;
}

.hw-priority-pill-laag {
	background: #ecfdf3;
	color: #047857;
}

.hw-priority-progress {
	background: #edf2f7;
	border-radius: 999px;
	height: 8px;
	overflow: hidden;
	width: 100%;
}

.hw-priority-progress span {
	background: #3478f6;
	border-radius: inherit;
	display: block;
	height: 100%;
}

.hw-priority-item-red .hw-priority-progress span {
	background: #ff3f4b;
}

.hw-priority-item-orange .hw-priority-progress span {
	background: #ff951c;
}

.hw-priority-item-green .hw-priority-progress span {
	background: #22a861;
}

.hw-chart {
	min-height: 245px;
}

.hw-chart svg {
	height: 230px;
	width: 100%;
}

.hw-chart line {
	stroke: #edf2f7;
	stroke-width: 0.8;
	transition: stroke 180ms ease;
}

.hw-chart polyline {
	fill: none;
	stroke-linecap: round;
	stroke-width: 3.2;
	transition: filter 180ms ease, opacity 180ms ease, stroke-width 180ms ease;
}

.hw-chart-blue {
	stroke: #3478f6;
}

.hw-chart-green {
	stroke: #16a34a;
	stroke-width: 3.4;
}

.hw-chart svg:hover line {
	stroke: #e8edf5;
}

.hw-chart polyline:hover {
	filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.11));
	opacity: 0.96;
	stroke-width: 4.4;
}

.hw-chart-point {
	fill: #fff;
	stroke-width: 2.4;
	transform-box: fill-box;
	transform-origin: center;
	transition: filter 180ms ease, r 180ms ease, stroke-width 180ms ease, transform 180ms ease;
}

.hw-chart-point-blue {
	stroke: #3478f6;
}

.hw-chart-point-green {
	stroke: #16a34a;
}

.hw-chart-point:hover {
	filter: drop-shadow(0 5px 9px rgba(15, 23, 42, 0.13));
	r: 5px;
	stroke-width: 3.2;
	transform: scale(1.08);
}

.hw-chart text {
	fill: #64748b;
	font-size: 10px;
}

.hw-chart-modern .hw-chart-axis-label {
	fill: #8a97aa;
	font-size: 9px;
	font-weight: 800;
}

.hw-chart-labels {
	display: flex;
	gap: 34px;
	justify-content: flex-end;
}

.hw-chart-labels span:first-child {
	color: #3478f6;
}

.hw-chart-labels span:last-child,
.hw-guideline-list span,
.hw-system-status p {
	color: #16a34a;
}

.hw-guideline-list div {
	align-items: center;
	border: 1px solid #dfe4ec;
	border-radius: 8px;
	display: flex;
	justify-content: space-between;
	min-height: 53px;
	padding: 0 18px;
}

