.tmgpay-card {
	display: grid;
	gap: 1rem;
}

.tmgpay-card__label {
	display: block;
	margin-bottom: 0.25rem;
	font-weight: 600;
}

.tmgpay-card__frame {
	min-height: 2.75rem;
	padding: 0;
	border: 1px solid #686e77;
	border-radius: 4px;
	background: #fff;
}

.tmgpay-card__frame:focus-within {
	outline: 2px solid #1d4ed8;
	outline-offset: 2px;
}

.tmgpay-card__frame iframe {
	display: block;
	width: 100%;
	min-height: 2.75rem;
	border: 0;
}

.tmgpay-card__message {
	min-height: 1.25rem;
	color: #b32d2e;
	font-weight: 600;
}

.tmgpay-card__message:empty {
	min-height: 0;
}

.tmgpay-card__unavailable {
	margin: 0;
	padding: 0.75rem 1rem;
	border: 1px solid #b32d2e;
	border-radius: 4px;
	color: #b32d2e;
}
