/* AllesScharf Firmenkunden & Spamschutz */

.asfc-register-box {
	margin: 0 0 1.4rem;
	padding: 1.2rem;
	background: #f6f8f7;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-left: 4px solid #4ca900;
}

.asfc-register-kicker {
	margin: 0 0 0.35rem;
	color: #4ca900;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.asfc-register-box h3,
.asfc-account-card h3 {
	margin: 0 0 0.6rem;
	color: #111;
	font-size: 1.35rem;
}

.asfc-register-intro,
.asfc-register-note {
	line-height: 1.55;
}

.asfc-uid-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.55rem;
	align-items: stretch;
}

.asfc-uid-row .button {
	white-space: nowrap;
}

.asfc-uid-result {
	display: none;
	gap: 0.25rem;
	margin: 0.65rem 0 1rem;
	padding: 0.75rem 0.85rem;
	border-left: 4px solid transparent;
}

.asfc-uid-result.is-loading,
.asfc-uid-result.is-success,
.asfc-uid-result.is-error {
	display: grid;
}

.asfc-uid-result.is-loading {
	background: #f3f3f3;
	border-color: #888;
}

.asfc-uid-result.is-success {
	background: #eff8e8;
	border-color: #4ca900;
}

.asfc-uid-result.is-error {
	background: #fff0f0;
	border-color: #b02323;
}

.asfc-uid-result span,
.asfc-uid-result small {
	display: block;
}

.asfc-register-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
}

.asfc-register-grid .form-row {
	width: auto !important;
	margin: 0 !important;
}

.asfc-account-card {
	margin: 0 0 1.5rem;
	padding: 1.1rem;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-left: 4px solid #4ca900;
}

.asfc-account-card dl {
	display: grid;
	gap: 0;
	margin: 1rem 0;
}

.asfc-account-card dl > div {
	display: grid;
	grid-template-columns: 12rem minmax(0, 1fr);
	gap: 1rem;
	padding: 0.65rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.asfc-account-card dt {
	font-weight: 800;
}

.asfc-account-card dd {
	margin: 0;
}

.asfc-account-card .is-active {
	color: #3d8700;
	font-weight: 800;
}

.asfc-account-card .is-pending {
	color: #8a5b00;
	font-weight: 800;
}

/* Das alte einfache Theme-Captcha bleibt technisch bestehen, ist aber nicht mehr sichtbar. */
.asfc-old-captcha-hidden {
	display: none !important;
}

.asfc-contact-guard {
	position: relative;
	margin: 1rem 0;
	padding: 1rem;
	background: #f6f8f7;
	border: 1px solid rgba(0, 0, 0, 0.13);
	border-left: 4px solid #4ca900;
}

.asfc-contact-guard label {
	display: grid;
	gap: 0.2rem;
	margin-bottom: 0.6rem;
}

.asfc-contact-guard label > span {
	font-size: 0.82rem;
	font-weight: 800;
}

.asfc-contact-guard label > strong {
	font-size: 1.08rem;
}

.asfc-contact-guard label > small {
	opacity: 0.7;
}

.asfc-contact-guard > input[type="number"] {
	width: min(12rem, 100%);
}

.asfc-contact-trap {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.asfc-invoice-note {
	margin-top: 1rem;
}

@media (max-width: 700px) {
	.asfc-register-grid,
	.asfc-uid-row,
	.asfc-account-card dl > div {
		grid-template-columns: 1fr;
	}
}


.asfc-field-help {
	display: block;
	margin-top: 0.35rem;
	color: #666;
	font-size: 0.78rem;
	line-height: 1.4;
}

#asfc_billing_company[readonly] {
	background: #eff8e8;
	border-color: #4ca900;
}
