/* [file: wp-content/themes/storytheme/assets/css/bedtime-gate.css] */

.gng-bedtime-gate {
	border: 0;
	margin: 8px 0 18px;
	padding: 0;
	min-inline-size: 0;
	color: var(--gng-text, #2c261c);
}

.gng-bedtime-gate legend {
	font-family: var(--gng-font-title, "Quicksand", "Open Sans", sans-serif);
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.35;
	color: var(--gng-text, #2c261c);
	padding: 0;
	margin-bottom: 10px;
}

.gng-bedtime-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.gng-bedtime-gate__choices {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gng-bedtime-choice {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	margin: 0;
	padding: 8px 12px;
	border-radius: var(--gng-radius, 16px);
	background: var(--gng-card, #fffdf8);
	border: 1px solid var(--gng-border, rgba(60, 48, 28, 0.12));
	color: var(--gng-text, #2c261c);
	cursor: pointer;
}

.gng-bedtime-choice input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--gng-accent, #c9952f);
}

.gng-bedtime-choice i {
	color: var(--gng-accent, #c9952f);
	width: 1.25em;
	text-align: center;
}

.gng-bedtime-choice:hover,
.gng-bedtime-choice:focus-within {
	background: color-mix(in srgb, var(--gng-accent, #c9952f) 14%, var(--gng-card, #fffdf8));
}

.gng-bedtime-choice:has(input:checked) {
	background: color-mix(in srgb, var(--gng-accent, #c9952f) 16%, var(--gng-card, #fffdf8));
}

.login .gng-bedtime-gate {
	margin-top: 16px;
}

.login .gng-bedtime-choice {
	background: #fff;
	color: #2c261c;
}

@media (prefers-reduced-motion: reduce) {
	.gng-bedtime-choice {
		transition: none;
	}
}
