.cirklen-tilmelding {
	--cirklen-blue: #087eae;
	--cirklen-grey: #777873;
	--cirklen-border: #777873;
	font-family: Roboto, Arial, Helvetica, sans-serif;
	max-width: 1200px;
	margin: 0 auto;
	color: #111;
}

.cirklen-tilmelding__form {
	box-sizing: border-box;
}

.cirklen-tilmelding__grid {
	display: grid;
	gap: 30px 40px;
}

.cirklen-tilmelding__grid--top,
.cirklen-tilmelding__grid--choices {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cirklen-tilmelding__grid--choices {
	margin-top: 42px;
}

.cirklen-tilmelding__field label,
.cirklen-tilmelding__choice-group legend {
	display: block;
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	color: var(--cirklen-grey);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

.cirklen-tilmelding__field input,
.cirklen-tilmelding__field select {
	box-sizing: border-box;
	width: 100%;
	height: 50px;
	border: 2px solid var(--cirklen-border);
	border-radius: 2px;
	background: #f3f3f3;
	color: #111;
	font: inherit;
	font-size: 18px;
	padding: 0 12px;
}

.cirklen-tilmelding__meeting-display {
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	display: flex;
	align-items: center;
	padding: 12px;
	border: 2px solid var(--cirklen-border);
	border-radius: 2px;
	background: #f3f3f3;
	font-size: 18px;
	line-height: 1.2;
}

.cirklen-tilmelding__field input::placeholder {
	color: var(--cirklen-grey);
	opacity: 1;
}

.cirklen-tilmelding__field select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--cirklen-grey) 50%), linear-gradient(135deg, var(--cirklen-grey) 50%, transparent 50%);
	background-position: calc(100% - 26px) 21px, calc(100% - 17px) 21px;
	background-repeat: no-repeat;
	background-size: 9px 9px, 9px 9px;
	padding-right: 45px;
}

.cirklen-tilmelding__field select:invalid {
	color: var(--cirklen-grey);
}

.cirklen-tilmelding__field-help {
	margin: 10px 0 0;
	color: var(--cirklen-grey);
	font-size: 16px;
}

.cirklen-tilmelding__field[hidden] {
	display: none;
}

.cirklen-tilmelding__choice-group {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.cirklen-tilmelding__field--loge {
	margin-top: 18px;
}

.cirklen-tilmelding__companion[hidden] {
	display: none;
}

.cirklen-tilmelding__companion {
	margin-top: 18px;
}

.cirklen-tilmelding__companion-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
	font-weight: 400;
	cursor: pointer;
}

.cirklen-tilmelding__companion-label input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--cirklen-blue);
}

.cirklen-tilmelding__companion-help {
	margin: 5px 0 0 26px;
	color: var(--cirklen-grey);
	font-size: 14px;
}

.cirklen-tilmelding__companion-name {
	margin-top: 12px;
}

.cirklen-tilmelding__companion-name[hidden] {
	display: none;
}

.cirklen-tilmelding__choice {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 100px;
	margin-top: 24px;
	cursor: pointer;
}

.cirklen-tilmelding__choice.is-disabled {
	cursor: not-allowed;
	opacity: .5;
}

.cirklen-tilmelding__choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.cirklen-tilmelding__choice-image {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 100px;
	height: 100px;
	box-sizing: border-box;
	border: 4px solid var(--cirklen-border);
	background: #f2f2f2;
	color: var(--cirklen-blue);
	font-size: 16px;
	font-weight: 700;
	text-align: center;
}

.cirklen-tilmelding__choice-image img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.cirklen-tilmelding__choice-label {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 19px;
	line-height: 1.2;
}

.cirklen-tilmelding__choice-label::before {
	content: '';
	display: block;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	box-sizing: border-box;
	border: 2px solid var(--cirklen-grey);
	border-radius: 50%;
	background: transparent;
}

.cirklen-tilmelding__choice input:checked + .cirklen-tilmelding__choice-image {
	border-color: var(--cirklen-blue);
	background: #e2f5fc;
}

.cirklen-tilmelding__choice input:checked ~ .cirklen-tilmelding__choice-label::before {
	border-color: var(--cirklen-blue);
	background: radial-gradient(circle, var(--cirklen-blue) 0 6px, transparent 7px);
}

.cirklen-tilmelding__choice:focus-within .cirklen-tilmelding__choice-image {
	outline: 3px solid rgba(8, 126, 174, .35);
	outline-offset: 3px;
}

.cirklen-tilmelding__submit {
	margin-top: 34px;
	padding: 14px 18px;
	border: 0;
	border-radius: 2px;
	background: var(--cirklen-blue);
	color: #fff;
	font: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
}

.cirklen-tilmelding__submit:hover,
.cirklen-tilmelding__submit:focus {
	background: #06698f;
}

.cirklen-tilmelding__submit:disabled {
	background: #777873;
	cursor: wait;
	opacity: .8;
}

.cirklen-tilmelding__notice {
	margin-bottom: 25px;
	padding: 16px 20px;
	border-left: 5px solid var(--cirklen-blue);
	background: #e8f6fb;
	font-size: 18px;
}

.cirklen-tilmelding__notice--success {
	border-color: #247a45;
	background: #edf9f1;
}

.cirklen-tilmelding__notice--error {
	border-color: #ba1a1a;
	background: #fff0f0;
}

.cirklen-tilmelding__notice--pending {
	border-color: #9a6b00;
	background: #fff8df;
}

.cirklen-tilmelding__honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
}

@media (max-width: 760px) {
	.cirklen-tilmelding__grid--top,
	.cirklen-tilmelding__grid--choices {
		grid-template-columns: 1fr;
	}

	.cirklen-tilmelding__grid {
		gap: 26px;
	}

	.cirklen-tilmelding__grid--choices {
		margin-top: 28px;
	}

	.cirklen-tilmelding__field label,
	.cirklen-tilmelding__choice-group legend {
		font-size: 18px;
	}

	.cirklen-tilmelding__field input,
	.cirklen-tilmelding__field select {
		height: 50px;
		font-size: 18px;
	}

	.cirklen-tilmelding__meeting-display {
		min-height: 50px;
		font-size: 18px;
	}

	.cirklen-tilmelding__field select {
		background-position: calc(100% - 24px) 21px, calc(100% - 15px) 21px;
		background-size: 9px 9px, 9px 9px;
	}

	.cirklen-tilmelding__choice {
		gap: 14px;
		min-height: 110px;
		margin-top: 22px;
	}

	.cirklen-tilmelding__choice-image {
		flex-basis: 82px;
		height: 82px;
		border-width: 3px;
		font-size: 16px;
	}

	.cirklen-tilmelding__choice-label {
		gap: 12px;
		font-size: 18px;
	}

	.cirklen-tilmelding__choice-label::before {
		flex-basis: 24px;
		width: 24px;
		height: 24px;
	}

	.cirklen-tilmelding__choice input:checked ~ .cirklen-tilmelding__choice-label::before {
		background: radial-gradient(circle, var(--cirklen-blue) 0 6px, transparent 7px);
	}

	.cirklen-tilmelding__submit {
		width: 100%;
		margin-top: 28px;
		font-size: 18px;
	}
}
