:root {
	--purpleColor: #792777;
	--darkRed: #7c1649;
}
.container {
	width: 100%;
	max-width: 100vw;
}
.containerTop {
	display: flex;
	flex-direction: column-reverse;
}
.chartContainer {
	border: 2px solid var(--darkRed);
	padding: 20px;
	width: 100%;
	max-width: 700px;
	display: flex;
	justify-content: space-between;
	/* align-items: center; */
	/* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}

.chartDiv {
	width: 82%;
}
.chartText {
	position: absolute;
	left: 28%;
	top: 90px;
	width: 250px;
}
.arrowDiv {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 20px;
	height: 70%;
}

.arrowBody {
	width: 34px;
	background-color: var(--darkRed);
	height: 250px;
	margin: 20px;
	margin-bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.arrowBody span {
	transform: rotate(-90deg);
	white-space: nowrap;
	display: inline-block;
	width: max-content;
	max-width: 250px;
	text-align: center;
	margin: 0;
	font-weight: 500;
	font-size: 18px;
	letter-spacing: -0.05px;
	color: white;
}

.arrowTop {
	width: 0;
	height: 0;
	border-left: 31px solid transparent;
	border-right: 31px solid transparent;
	border-top: 62px solid var(--darkRed);
}

.transparentDiv {
	width: 34px;
	height: 337px;
	margin: 20px;
	margin-bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.transparentDiv span {
	transform: rotate(-90deg);
	margin: 0;
	font-weight: 600;
	font-size: 20px;
	letter-spacing: -0.05px;
	color: black;
}
.infoBoxWrapper {
	display: flex;
	position: relative;
}

.infoBox {
	width: 50px;
	height: 100px;
	background-color: var(--darkRed);
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.infoBox span {
	transform: rotate(-90deg);
	font-weight: 500;
	font-size: 18px;
}

.infoBoxBig {
	width: fit-content;
	background-color: var(--darkRed);
	color: white;
	/* display: none; */
	justify-content: center;
	align-items: center;
	text-align: center;
	font-weight: 500;
	font-size: 18px;
	padding: 20px;
}
.annotation {
	max-width: 700px;
	padding: 20px 0px;
	font-size: 14px;
	color: #00000099;
}
.statsDiv {
	width: 100%;
	max-width: 700px;
	background-color: var(--purpleColor);
	padding: 22px;
	color: white;
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.statsSmallDiv {
	display: flex;
	gap: 15px;
	justify-content: space-between;
	font-size: 18px;
}
.statsSmallDiv span {
	width: 170px;
}
.statsNumbersDiv {
	background-color: white;
	color: black;
	width: fit-content;
	font-size: 15px;
	width: 55px;
	height: 34px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.flexDivBigStats {
	display: flex;
	width: 100%;
	gap: 15px;
}
.flexDivStats {
	display: flex;
	gap: 15px;
	width: 100%;
}

.mobile-annotation {
	display: none;
	font-size: 12px;
	margin-top: 10px;
	max-width: 700px;
}

#chartjs-custom-tooltip {
	position: absolute !important;
	pointer-events: none;
	z-index: 2147483647 !important; /* Maxvärde i CSS */
}

.arrowBody.pink {
	background-color: #b3017c;
}

.arrowTop.pink {
	border-top: 62px solid #b3017c;
}

@media (max-width: 768px) {
	.containerTop {
		flex-direction: column-reverse;
	}
	.chartContainer,
	.statsDiv {
		width: 85vw;
	}

	.chartContainer {
		padding: 10px;
	}

	.arrowDiv {
		margin: 10px;
		height: 70%;
	}
	.arrowBody {
		width: 20px;
		background-color: var(--darkRed);
		height: 130px;
		max-height: 337px;
		margin: 5px;
		margin-bottom: 0;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.arrowBody span {
		font-size: 12px;
	}

	.arrowTop {
		border-left: 16px solid transparent;
		border-right: 16px solid transparent;
		border-top: 32px solid var(--darkRed);
	}
	.infoBox span {
		transform: none;
	}
	.infoBoxWrapper {
		width: 50vw;
	}
	.infoBox,
	.infoBoxBig {
		width: 100%;
		padding: 20px;
		height: auto;
		font-size: 10px;
	}
	.statsSmallDiv {
		display: flex;
		gap: 20px;
		justify-content: space-between;
		font-size: 16px;
	}

	.statsSmallDiv span {
		width: auto;
	}
	.flexDivBigStats {
		flex-direction: column;
		justify-content: space-between;
	}
	.mobile-annotation {
		display: block;
	}
}
