/* Stripe card fields on booking step 3 (includes/stripe-card.php) */
.tps-card-box {
	clear: both;
	width: 100%;
	max-width: 680px;
	margin: 0 0 25px;
}

.tps-card-box .tps-card-title {
	margin: 0 0 14px;
	font-size: 26px;
	line-height: 1.2;
}

.tps-card-box .tps-card-row {
	display: flex;
	gap: 14px;
}

.tps-card-box .tps-card-col {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.tps-card-box .tps-card-col-number { flex: 1 1 58%; }
.tps-card-box .tps-card-col-expiry { flex: 0 0 18%; }
.tps-card-box .tps-card-col-cvc    { flex: 0 0 18%; }

.tps-card-box .tps-card-field {
	height: 50px;
	padding: 15px 14px;
	box-sizing: border-box;
	background: #ffffff;
	border: 1px solid #c9c9c9;
	transition: border-color 0.15s;
}

.tps-card-box .tps-card-field.is-focused {
	border-color: #8a8a8a;
}

.tps-card-box .tps-card-field.StripeElement--invalid {
	border-color: #c0392b;
}

.tps-card-box .tps-card-label {
	display: block;
	float: none;
	margin: 6px 0 0;
	font-size: 15px;
}

.tps-card-box .tps-card-error {
	min-height: 20px;
	margin: 10px 0 0;
	color: #e74c3c;
	font-size: 14px;
}

.tps-card-declined {
	color: #e74c3c;
}

form.tps-card-retry .payment-button {
	color: #ffffff;
	font-size: 16px;
	border-radius: 30px;
	padding: 13px 35px;
	border: 0;
}

@media (max-width: 600px) {
	.tps-card-box .tps-card-row { flex-wrap: wrap; }
	.tps-card-box .tps-card-col-number { flex: 1 1 100%; }
	.tps-card-box .tps-card-col-expiry,
	.tps-card-box .tps-card-col-cvc { flex: 1 1 40%; }
}
