/* Captcha styling aligned with Certrec CDN design system */

.captcha {
	display: inline-flex;
	align-items: center;
	height: 30px;
	width: auto;
	margin: 0;
}

.captcha span {
	padding-left: 8px;
	line-height: 1.4;
	font-size: calc(0.875rem * var(--font-scale, 1));
	font-weight: 400;
	color: var(--color-text, #000000);
	user-select: none;
}

.captcha .check {
	border-radius: 5px;
	width: 24px;
	height: 24px;
	border: 1px solid var(--color-border, #bdbdbd);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	cursor: pointer;
	background: var(--color-surface, #FFFFFF);
	transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.captcha .check:hover {
	border-color: var(--color-primary-light, #2563EB);
	box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

/* Styles for check animation */
.check .wrapper {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.check .wrapper svg {
	width: 100%;
	height: 100%;
}

.check .checkmark {
	stroke: var(--color-success, #059669);
	stroke-dashoffset: 745.74853515625;
	stroke-dasharray: 745.74853515625;
	animation: dash 0.6s ease-out forwards;
}

@keyframes dash {
	0% {
		stroke-dashoffset: 745.74853515625;
	}
	100% {
		stroke-dashoffset: 0;
	}
}
/* End check animation */
