.ccb-widget {
	margin: 16px 0;
	max-width: 100%;
	width: 100%;
}

.ccb-widget[hidden] {
	display: none !important;
}

.ccb-fieldset {
	margin: 0;
	padding: 16px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #f9fafb;
}

.ccb-fieldset legend {
	padding: 0 6px;
	font-weight: 700;
}

.ccb-question,
.ccb-label {
	display: block;
	margin: 0 0 8px;
}

.ccb-answer {
	display: block;
	width: 100%;
	max-width: 240px;
	min-height: 44px;
	margin: 0 0 12px;
	padding: 8px 12px;
	border: 1px solid #9ca3af;
	border-radius: 6px;
	font: inherit;
}

.ccb-answer:focus,
.ccb-refresh:focus {
	outline: 2px solid #0b5cab;
	outline-offset: 2px;
}

.ccb-refresh {
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid #0b5cab;
	border-radius: 6px;
	background: #fff;
	color: #0b5cab;
	font: inherit;
	cursor: pointer;
}

.ccb-error {
	margin: 12px 0 0;
	color: #991b1b;
}

.ccb-solved {
	display: none;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: #166534;
	font-weight: 700;
}

.ccb-check {
	display: inline-flex;
	flex: 0 0 28px;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #16a34a;
	color: #fff;
}

.ccb-widget.is-solved .ccb-fieldset {
	border-color: #86efac;
	background: #f0fdf4;
}

.ccb-widget.is-solved .ccb-fieldset legend,
.ccb-widget.is-solved .ccb-challenge {
	display: none;
}

.ccb-widget.is-solved .ccb-solved {
	display: flex;
}

.ccb-hp {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
