/* Hide only after JavaScript has synchronized the customer's selection. */
#billing_company_field[hidden],
#billing_adviser_tax_id_field[hidden] {
	display: none !important;
}

.adviser-business-field label > .required,
.adviser-business-field label > .optional {
	margin-inline-start: 0.25em;
}

.adviser-email-hint {
	display: block;
	margin-block-start: 0.5em;
	padding: 0.75em;
	border-inline-start: 3px solid #b77900;
	border-radius: 3px;
	background: #fff8e1;
	color: #513b00;
	font-size: 0.9em;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.adviser-email-hint[hidden],
.adviser-email-hint button[hidden] {
	display: none !important;
}

.adviser-email-hint__message {
	display: block;
}

.adviser-email-hint__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-block-start: 0.5em;
}

.woocommerce .adviser-email-hint button,
.adviser-email-hint button {
	padding: 0.4em 0.65em;
	border: 1px solid currentColor;
	border-radius: 3px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	line-height: 1.4;
	text-transform: none;
	cursor: pointer;
}

.adviser-email-hint button:hover {
	background: #ffecb3;
}

.adviser-email-hint button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
