body, td, a {
	font-family: 'Work Sans', Inter, sans-serif;
}
body {
	margin: 0px;
}

:root {
	--text-primary: #161C26;
	--text-secondary: #4E5157;
	--text-error: #DA1E28;
	--text-success: #388E3C;
	--brand: #0072CE;
	--brand-subtle: #005EAA17;
	--border-brand: #99C7EB;
	--border-subtle: #D2D9E2;
	background-color: #fff;
	color: var(--text-primary);
}

/* Override them for dark mode */
@media (prefers-color-scheme: dark) {
	:root {
		--text-primary: #f5f5f5;
		--text-secondary: #B8B8B8;
		--text-error: #FF8389;
		--text-success: #81C784;
		--brand: #0072CE;
		--border-brand: #00447C;
		--border-subtle: #383B40;
		--background-interactive: #202122;
		background-color: #141414;
		color: var(--text-primary);
	}
}

.wrapper .frame {
	padding: var(--semantic-numbers-spacers-spacing-3) 0px
		var(--semantic-numbers-spacers-spacing-3) 0px;
	border-bottom-width: 4px;
	border-bottom-style: solid;
	border-color: var(--border-brand);
}

.wrapper {
	margin: 2rem auto;
	max-width: 800px;
	display: flex;
	width: 100%;
	flex-direction: column;
}
.divider {
	position: relative;
	width: 100%;
	height: 2rem; 
}

.divider::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 200px;
	border-top: 4px solid var(--border-subtle);
}

.checkbox-container {
	display: flex;
	gap: 0.5rem;
	margin: 2rem 0;
	border: 1px solid var(--border-subtle);
	background-color: var(--background-interactive);
	border-radius: 8px;
	padding: 1rem;
}

.checkbox-container:has(input:checked) {
	background-color: var(--brand-subtle);
	border-color: var(--brand);
}

.checkbox-container label {
	cursor: pointer;
	user-select: none;
}

/* Hide native checkbox */
.custom-checkbox input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

/* Visible circle */
.custom-checkbox .checkmark {
	width: 16px;
	height: 16px;
	border-radius: 4px;
	border: 2px solid var(--border-subtle);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	transition: all 0.2s ease;
	font-size: 16px;
	color: white;
	line-height: 1;
}

/* The actual checkmark (hidden by default) */
.custom-checkbox .checkmark::after {
	content: "✔";
	opacity: 0;
	transform: scale(.5);
	transition: all 0.2s ease;
}

/* Checked state → blue background + show checkmark */
.custom-checkbox input:checked ~ .checkmark {
	background-color: var(--brand);
	border-color: var(--brand);
}

/* Make the checkmark visible when checked */
.custom-checkbox input:checked ~ .checkmark::after {
	opacity: 1;
	transform: scale(.75);
}

/* Hover state (optional) */
.custom-checkbox:hover .checkmark {
	border-color: var(--brand);
}

.spinner {
	border: 4px solid var(--text-secondary, #f3f3f3);
	border-top: 4px solid #3498db;
	border-radius: 50%;
	width: 12px;
	height: 12px;
	animation: spin 1s linear infinite;
	display: inline-block;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.loading-text {
	color: var(--text-primary);
	/* font-style: italic; */
}

h1 {
	font-size: 3rem;
}

@media (max-width: 767px) {
	h1 {
		font-size: 1.5rem;
	}
}
