.counter {
	padding-bottom: 20px;
	white-space: nowrap;
}

.counter input::-webkit-outer-spin-button,
.counter input::-webkit-inner-spin-button {
	appearance: none;
}

.counter .counter-title {
	margin-top: 15px;
	margin-bottom: 5px;
}

.counter input {
	-moz-appearance: none;

	width: 4ch;
	border-width: 0;
	font-size: 20pt;
	text-align: right;
	padding: 0;
}

.counter button {
	border-width: 0;
	font-size: 20pt;
	padding: 0;
}

.counter-dec, .counter-inc {
	width: 1.5ch;
}

.counter-dec {
	background-color: red;
}

.counter-inc {
	background-color: lightgreen;
}

.counter-remove {
	float: right;
	border-radius: 50%;
	overflow: hidden;
	height: 20pt;
	width: fit-content;
}

.counter-remove img {
	height: 100%;
	vertical-align: top;
}

.new-counters-list {
	position: absolute;
	top: 25%;

	width: calc(80% - (20px * 2));
	max-width: calc(0.8 * 800px);
	left: calc((100% - min(80%, 0.8 * 800px + (20px * 2))) / 2);

	background-color: #002b36;
	padding: 20px;
	border-color: hsl(192deg 100% 16%);
	border-width: 5px;
	border-style: solid;
	border-radius: 25px;
}

.new-counters-list h3 {
	margin-top: 10px;
	display: inline-block;
}

.new-counters-list .close-counters-list {
	height: 20px;
	width: 20px;
	float: right;
	border: none;
	border-radius: 50%;
	padding: 0;
	overflow: hidden;
	filter: sepia(100%) saturate(400%) brightness(70%) hue-rotate(300deg);
}

.new-counters-list .close-counters-list img {
	height: 100%;
	vertical-align: top;
}

.new-counters-list table {
	margin-top: 20px;
}

.new-counters-list .displayed-counter {
	filter: opacity(50%);
}

.new-counters-list table button {
	width: 35px;
	height: 35px;
	font-size: 20pt;
}