.hosted-fields-error {
	color: red;
	margin-top: 8px;
	font-size: 13px;
}

.hf-box-container {
	max-width: 100%;
}

.hf-container-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	gap: 10px;
}

.hf-container-col {
	display: flex;
	flex-direction: column;
	flex-basis: 100%;
	flex: 1;
	padding-bottom: 8px;
}

.hf-container-col label {
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 500;
}

/* The Cardstream SDK replaces these inputs with same-id iframes.
   Constrain both the original input (during init) and the rendered iframe. */
#payment-options-container input[type="hostedfield:cardNumber"],
#payment-options-container input[type="hostedfield:cardExpiryDate"],
#payment-options-container input[type="hostedfield:cardCVV"],
#payment-options-container iframe[id="form-card-number"],
#payment-options-container iframe[id="form-card-expiry-date"],
#payment-options-container iframe[id="form-card-cvv"],
#payment-options-container iframe[name^="hostedfield"],
#payment-options-container iframe[src*="hostedfield"] {
	display: block;
	width: 100%;
	height: 42px;
	min-height: 42px;
	max-height: 42px;
	box-sizing: border-box;
	padding: 8px 10px;
	margin: 0;
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	background: #fff;
	font-size: 15px;
	line-height: 1.4;
}

#payment-options-container iframe {
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	background: #fff;
}
