.xmgate-card-fields {
	clear: both;
}

.xmgate-card-fields input {
	width: 100%;
	box-sizing: border-box;
}

.xmgate-card-fields .form-row-first,
.xmgate-card-fields .form-row-last {
	width: 48%;
}

.xmgate-card-fields .form-row-first {
	float: left;
}

.xmgate-card-fields .form-row-last {
	float: right;
}

.xmgate-card-fields::after {
	content: "";
	display: table;
	clear: both;
}

.xmgate-field-hint {
	display: block;
	margin-top: 0.35em;
	font-size: 0.85em;
	color: #666;
}

.xmgate-field-error {
	display: block;
	margin-top: 0.35em;
	font-size: 0.85em;
	color: #b32d2e;
}

.xmgate-card-fields .form-row.xmgate-field-invalid input {
	border-color: #b32d2e;
	box-shadow: 0 0 0 1px #b32d2e;
}

.xmgate-card-fields input[type="password"] {
	font-family: text-security-disc, -apple-system, BlinkMacSystemFont, sans-serif;
	-webkit-text-security: disc;
}

.xmgate-wallet-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 1.25em;
}

.xmgate-wallet-divider {
	display: flex;
	align-items: center;
	text-align: center;
	margin: 1.25em 0;
	color: #666;
}

.xmgate-wallet-divider::before,
.xmgate-wallet-divider::after {
	content: "";
	flex: 1;
	border-bottom: 1px solid #ddd;
}

.xmgate-wallet-divider span {
	padding: 0 12px;
	font-size: 0.9em;
}

.xmgate-apple-pay-button {
	display: inline-block;
	-webkit-appearance: -apple-pay-button;
	-apple-pay-button-type: plain;
	-apple-pay-button-style: black;
	height: 48px;
	width: 100%;
	max-width: 320px;
	border: 0;
	cursor: pointer;
}

#xmgate-google-pay-button {
	width: 100%;
	max-width: 320px;
}
