.grz-auth-captcha {
	display: flex;
	justify-content: center;
	min-height: 0;
	overflow: visible;
}

.grz-auth-captcha iframe {
	max-width: 100%;
}

.grz-auth-notice--blocked {
	display: grid;
	gap: 4px;
}

.grz-auth-notice--blocked > strong {
	font-size: 1.05em;
}

.grz-auth-notice--blocked .grz-auth-notice__detail {
	margin-top: 4px;
	border-top: 1px solid currentColor;
	padding-top: 7px;
	overflow-wrap: anywhere;
}

/* These states live in the always-loaded security stylesheet so security and
 * validation feedback remains explicit across every managed auth view. */
.grz-auth-notice.is-info {
	border-color: #bed8ff;
	background: #f2f7ff;
	color: #20599f;
}

.grz-auth-notice:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.grz-auth-notice--account-exists {
	display: grid;
	gap: 4px;
}

.grz-auth-notice--account-exists > strong,
.grz-auth-notice--blocked > strong {
	font-size: 1.04em;
}

.grz-auth-notice__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 5px;
}

.grz-auth-notice__actions a {
	border: 1px solid currentColor;
	border-radius: 5px;
	color: inherit !important;
	font-weight: 750;
	line-height: 1;
	padding: 7px 9px;
}

.grz-auth-field.has-error .grz-auth-input {
	border-color: #d9303e;
	background: #fffafb;
}

.grz-auth-field.has-error .grz-auth-input:focus-within {
	border-color: #b92331;
	box-shadow: 0 0 0 3px rgba(217, 48, 62, .12);
}

.grz-auth-field-error {
	display: block;
	color: #b42331;
	font-size: 11.5px;
	font-weight: 650;
	line-height: 1.4;
}

.grz-auth-terms.has-error {
	border-left: 3px solid #d9303e;
	border-radius: 3px;
	padding-left: 9px;
}

.grz-auth-terms .grz-auth-field-error {
	margin-top: 5px;
}

@media (max-width: 380px) {
	.grz-auth-captcha {
		justify-content: flex-start;
		overflow: hidden;
	}

	.grz-auth-captcha > div {
		transform: scale(.92);
		transform-origin: left center;
	}
}

@media (max-width: 360px) {
	.grz-auth-captcha > div {
		transform: scale(.85);
	}
}

@media (max-width: 330px) {
	.grz-auth-captcha > div {
		transform: scale(.75);
	}
}
