/* C8 B2B VAT — registration / edit-account fields */

.c8-account-type-wrap { margin-bottom: 16px; }

.c8-account-type-label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.c8-account-type-toggle {
	display: flex;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
	width: fit-content;
}

.c8-type-btn { margin: 0; cursor: pointer; }
.c8-type-btn + .c8-type-btn { border-left: 1px solid #ddd; }

.c8-account-type-toggle input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.c8-account-type-toggle span {
	display: block;
	padding: 8px 20px;
	font-size: 0.9em;
	transition: background 0.15s;
}

.c8-account-type-toggle input[type="radio"]:checked + span {
	background: var(--bs-primary, #2c2c54);
	color: #fff;
}

#c8-company-fields { margin-top: 8px; }

.c8-vat-reg-error {
	display: none;
	color: #cc1818;
	font-size: 0.82em;
	margin-top: 4px;
}

.c8-company-row-split { display: flex; gap: 12px; }
.c8-company-row-split .c8-col-postcode { flex: 1; }
.c8-company-row-split .c8-col-country { flex: 2; }
.c8-company-row-split select { width: 100%; padding: 8px; }
