/* Payment page: booking summary, amount note and gateway result messages. */

.ewt-summary {
	margin: 0 0 1.75rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid #d9e2ec;
	border-radius: 10px;
	background: #f8fafc;
}

.ewt-summary__title {
	margin: 0 0 .75rem;
	font-size: 1.1rem;
	line-height: 1.35;
}

.ewt-summary__list {
	margin: 0;
}

.ewt-summary__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: .35rem 0;
	border-bottom: 1px dashed #e2e8f0;
}

.ewt-summary__row:last-child {
	border-bottom: 0;
}

.ewt-summary__row dt {
	margin: 0;
	color: #52606d;
	font-weight: 400;
}

.ewt-summary__row dd {
	margin: 0;
	font-weight: 600;
}

.ewt-amount-note {
	margin: .5rem 0 0;
	font-size: .9rem;
	color: #35618f;
}

input.ewt-prefilled,
.wpforms-field input.ewt-prefilled {
	background: #f1f5f9;
	cursor: not-allowed;
}

.ewt-result {
	margin: 0 0 1.75rem;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid #98a2b3;
	border-radius: 8px;
	background: #f8fafc;
}

.ewt-result--success {
	border-left-color: #1e8e5a;
	background: #ecfdf3;
}

.ewt-result--error {
	border-left-color: #d92d20;
	background: #fef3f2;
}

.ewt-result--notice {
	border-left-color: #d91b1b;
	background: #ffebeb;
}

.ewt-result__title {
	margin: 0 0 .4rem;
	font-size: 1.05rem;
}

.ewt-result__message {
	margin: 0;
}

.ewt-result__meta {
	margin: .75rem 0 0;
	padding: 0;
	list-style: none;
	font-size: .9rem;
	color: #52606d;
}

.ewt-result__meta li+li {
	margin-top: .2rem;
}

/* On-site receipt */

.ewt-receipt {
	margin: 1.25rem 0 0;
	padding: 1rem 1.25rem;
	background: #fff;
	border: 1px solid #d9e2ec;
	border-radius: 8px;
}

.ewt-receipt__title {
	margin: 0 0 .75rem;
	font-size: .95rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #52606d;
}

.ewt-receipt__list {
	margin: 0;
}

.ewt-receipt__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .25rem 1rem;
	padding: .4rem 0;
	border-bottom: 1px solid #f0f4f8;
}

.ewt-receipt__row:last-child {
	border-bottom: 0;
}

/* Themes often style dt/dd globally; keep the two columns side by side. */
.ewt-receipt__row dt,
.ewt-receipt__row dd {
	margin: 0;
	float: none;
	width: auto;
	clear: none;
}

.ewt-receipt__row dt {
	color: #52606d;
	font-weight: 400;
}

.ewt-receipt__row dd {
	font-weight: 600;
	text-align: right;
	word-break: break-word;
}

.ewt-receipt__actions {
	margin: 1rem 0 0;
}

.ewt-receipt button.ewt-print {
	font: inherit;
	padding: .5rem 1.1rem;
	border: 1px solid #98a2b3;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
}

.ewt-receipt__note {
	margin: .6rem 0 0;
	font-size: .85rem;
	color: #52606d;
}

@media print {
	.ewt-receipt__actions {
		display: none;
	}

	.ewt-result {
		border: 0;
		background: none;
	}
}