
.wcs-recurring-totals-panel {
	padding: 1em 0 0;
	position: relative;
}

.wcs-recurring-totals-panel:after {
	border-style: solid;
	border-width: 1px 0;
	bottom: 0;
	content: "";
	display: block;
	left: 0;
	opacity: .3;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
}

.wcs-recurring-totals-panel+.wcs-recurring-totals-panel:after {
	border-top-width: 0;
}

.wcs-recurring-totals-panel .wc-block-components-panel .wc-block-components-totals-item {
	padding-left: 0;
	padding-right: 0;
}

.wcs-recurring-totals-panel .wc-block-components-totals-item__label:first-letter {
	text-transform: capitalize;
}

.wcs-recurring-totals-panel .wcs-recurring-totals-panel__title .wc-block-components-totals-item__label {
	font-weight: 700;
}

.wcs-recurring-totals-panel__title {
	margin: 0;
}

.wcs-recurring-totals-panel__details .wc-block-components-panel__button, .wcs-recurring-totals-panel__details .wc-block-components-panel__button:focus, .wcs-recurring-totals-panel__details .wc-block-components-panel__button:hover {
	font-size: .875em;
}

.wcs-recurring-totals-panel__details .wc-block-components-panel__content>.wc-block-components-totals-item:first-child {
	margin-top: 0;
}

.wcs-recurring-totals-panel__details .wc-block-components-panel__content>.wc-block-components-totals-item:last-child {
	margin-bottom: 0;
}

.wcs-recurring-totals-panel__details .wcs-recurring-totals-panel__details-total .wc-block-components-totals-item__label {
	font-weight: 700;
}

.wcs-recurring-totals__subscription-length {
	float: right;
}

.chart-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

#chart-legend {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	flex-wrap: wrap;
	order: 2;
	column-gap: 1em;
}

.legend-item {
	display: flex;
	align-items: center;
	cursor: pointer;
	margin-bottom: 5px;
	gap: .5em;
}

.legend-color {
	border-style: solid;
	border-width: 2px;
}

#donut {
	display: flex;
	gap: 20px;
	justify-content: center;
}

#donut-chart {
	max-width: 300px;
	max-height: 300px;
}

#donut-chart-legend {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	width: 100%;
	gap: 2em;
}

#donut-chart-legend table {
	width: 45%;
	border-collapse: collapse;
}

#donut-chart-legend th, #donut-chart-legend td {
	padding: 8px;
	text-align: left;
}

.legend-color {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 3px;
	margin-right: 5px;
}
