.tt-clover-fields {
	box-sizing: border-box;
	width: 100%;
	margin: 12px 0;
	font-size: 14px;
	line-height: 1.45;
}

.tt-clover-fields *,
.tt-clover-fields *::before,
.tt-clover-fields *::after {
	box-sizing: border-box;
}

.tt-clover-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 12px 14px;
}

.tt-clover-field {
	grid-column: 1 / -1;
	min-width: 0;
}

.tt-clover-field-card_date,
.tt-clover-field-card_cvv {
	grid-column: auto;
}

.tt-clover-label,
.tt-clover-field > label {
	display: block;
	margin: 0 0 5px;
	font-size: 14px;
	font-weight: 500;
	color: inherit;
}

.tt-clover-input {
	width: 100%;
	height: 48px;
	min-height: 48px;
	padding: 0;
	border: 1px solid #9b9b9b;
	border-radius: 5px;
	background: #ffffff;
	overflow: hidden;
}

.tt-clover-input iframe {
	display: block;
	width: 100% !important;
	height: 46px !important;
	min-height: 46px;
	border: 0;
	margin: 0;
	padding: 0;
}

.tt-clover-input.tt-clover-focused {
	border-color: #245b93;
	outline: 2px solid #245b93;
	outline-offset: 1px;
}

.tt-clover-input.tt-clover-invalid {
	border-color: #b3261e;
}

.tt-clover-field-error,
.tt-clover-error {
	display: block;
	color: #a22019;
	font-size: 13px;
}

.tt-clover-field-error {
	margin-top: 4px;
}

.tt-clover-fields .tt-clover-error {
	margin: 12px 0 0;
	padding: 10px 12px;
	background: #fff3f2;
	border: 1px solid #edc2bf;
	border-radius: 5px;
}

.tt-clover-fields .tt-clover-status {
	margin: 10px 0 0;
	font-size: 13px;
}

.tt-clover-fields [hidden],
.tt-clover-fields .tt-clover-error:empty,
.tt-clover-fields .tt-clover-status:empty,
.tt-clover-fields .tt-clover-field-error:empty {
	display: none !important;
}

.tt-clover-fields[aria-busy="true"] .tt-clover-input {
	pointer-events: none;
}

.tt-clover-note {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.4;
}
