.mx-bacs-hub3-block {
	margin: 2em 0;
	padding: 1.5em;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
}

.mx-bacs-hub3-title {
	margin: 0 0 1rem;
	font-size: 1.35rem;
}

.mx-bacs-hub3-intro p:first-child {
	margin-top: 0;
}

.mx-bacs-hub3-grid {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.mx-bacs-hub3-barcode {
	max-width: 100%;
}

.mx-bacs-hub3-fields {
	display: grid;
	gap: 0.75rem;
	width: 100%;
	border-top: 1px solid #e2e5e9;
	border-bottom: 1px solid #e2e5e9;
}

.mx-bacs-hub3-row {
	display: grid;
	grid-template-columns: minmax(110px, 160px) minmax(0, 1fr);
	gap: 0.75rem;
	align-items: center;
	padding: 0.9rem 0;
	border-top: 1px dashed #e2e5e9;
}

.mx-bacs-hub3-row:first-child {
	border-top: 0;
}

.mx-bacs-hub3-label {
	font-weight: 600;
	color: #50575e;
}

.mx-bacs-hub3-primary {
	word-break: break-word;
}

.mx-bacs-hub3-primary-wrap {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	max-width: 100%;
}

.mx-bacs-hub3-meta {
	margin-top: 0.25rem;
	color: #50575e;
	font-size: 0.92em;
}

.mx-bacs-hub3-copy {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	background-image: none;
	color: inherit;
	box-shadow: none;
	cursor: pointer;
	flex-shrink: 0;
	opacity: 0.45;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.mx-bacs-hub3-copy:hover,
.mx-bacs-hub3-copy:focus,
.mx-bacs-hub3-copy:active {
	background: transparent;
	background-image: none;
	box-shadow: none;
	color: inherit;
	opacity: 1;
	outline: none;
}

.mx-bacs-hub3-copy svg {
	display: block;
	width: 1rem;
	height: 1rem;
}

.mx-bacs-hub3-copy-feedback {
	min-width: 3.5rem;
	color: #2271b1;
	font-size: 0.85rem;
	line-height: 1.2;
}

.mx-bacs-hub3-barcode img {
	display: block;
	max-width: 100%;
	width: auto;
	height: auto;
}

.mx-bacs-hub3-barcode-note {
	margin: 0 0 1rem;
	color: #50575e;
	font-size: 0.95rem;
}

.mx-bacs-hub3-barcode-note p {
	margin: 0;
}

@media (max-width: 640px) {
	.mx-bacs-hub3-row {
		grid-template-columns: 1fr;
	}

	.mx-bacs-hub3-copy {
		justify-self: start;
	}
}
