/* Aliyun embed slider should span the full captcha field width. */
.mz-aliyun-captcha,
.mz-aliyun-captcha__element {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.mz-aliyun-captcha {
	position: relative;
}

.mz-aliyun-captcha[data-mz-aliyun-mode="embed"] .mz-aliyun-captcha__element {
	min-height: 40px;
}

.mz-aliyun-captcha__element > div {
	max-width: 100%;
}

.mz-aliyun-captcha__trigger--sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.captcha-field .mz-aliyun-captcha,
.pk-cta-field--captcha .mz-aliyun-captcha,
.mz-captcha-wp-login .mz-aliyun-captcha,
.mz-captcha-wp-comment .mz-aliyun-captcha,
.mz-captcha-member-auth .mz-aliyun-captcha {
	width: 100%;
}

/* Member login / register */
.mz-captcha-member-auth {
	gap: 8px;
}

.mz-captcha-member-auth > label {
	font-size: 12px;
	font-weight: 600;
	color: #666;
}

.mz-captcha-member-auth .captcha-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 10px;
	align-items: center;
}

.mz-captcha-member-auth .captcha-row span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 8px;
	background: #f4f6fb;
	font-size: 15px;
	font-weight: 700;
	color: #111827;
	white-space: nowrap;
}

.mz-captcha-member-auth .captcha-row input,
.mz-captcha-member-auth .g-recaptcha,
.mz-captcha-member-auth .cf-turnstile {
	width: 100%;
	max-width: 100%;
}

.mz-captcha-member-auth .mz-aliyun-captcha__hint {
	margin: 6px 0 0;
	font-size: 12px;
	color: #6b7280;
}

.mz-captcha-wp-login,
.mz-captcha-wp-comment {
	margin: 12px 0 16px;
}

.mz-captcha-wp-login > label,
.mz-captcha-wp-comment > label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.mz-captcha-wp-login .captcha-row,
.mz-captcha-wp-comment .captcha-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 8px;
	align-items: center;
}

.mz-captcha-wp-login .captcha-row span,
.mz-captcha-wp-comment .captcha-row span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 12px;
	font-weight: 700;
	white-space: nowrap;
	background: #f0f0f1;
	border-radius: 4px;
}

.mz-captcha-wp-login .captcha-row input,
.mz-captcha-wp-comment .captcha-row input {
	width: 100%;
}
