  .cma-payment-portal {
	max-width: 720px;
	margin: 40px auto 80px;
	padding: 0 20px;
}

.cma-payment-portal .wpcf7 label,
.cma-payment-portal .wpcf7 legend {
	display: block;
	font-weight: 700;
	margin: 16px 0 6px;
}

.cma-payment-portal .wpcf7 input[type="text"],
.cma-payment-portal .wpcf7 input[type="email"],
.cma-payment-portal .wpcf7 input[type="tel"],
.cma-payment-portal .wpcf7 input[type="number"] {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	background: #fff;
	box-sizing: border-box;
}

.cma-payment-portal .cma-billing {
	border: 1px solid rgba(0, 0, 0, 0.12);
	padding: 8px 16px 16px;
	margin: 20px 0;
}

.cma-fee-preview {
	margin: 16px 0 8px;
	padding: 12px 16px;
	background: #f2f9fc;
	border: 1px solid #81c7e3;
}

.cma-fee-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 4px 0;
	font-size: 15px;
}

.cma-fee-total {
	margin-top: 6px;
	padding-top: 8px;
	border-top: 1px solid rgba(0, 0, 0, 0.15);
	font-weight: 700;
}

.cma-payment-portal .wpcf7-acceptance {
	display: block;
	margin: 20px 0;
}

.cma-payment-portal .wpcf7-acceptance .wpcf7-list-item {
	display: block;
	margin: 0;
}

.cma-payment-portal .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	font-weight: 400;
	line-height: 1.45;
	cursor: pointer;
}

.cma-payment-portal .wpcf7-acceptance input[type="checkbox"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: inline-block;
	width: 22px;
	height: 22px;
	min-width: 22px;
	margin: 1px 0 0;
	padding: 0;
	border: 2px solid #024b6c;
	border-radius: 2px;
	background: #fff;
	box-shadow: none;
	cursor: pointer;
	flex-shrink: 0;
	position: relative;
}

.cma-payment-portal .wpcf7-acceptance input[type="checkbox"]:checked {
	background: #c43022;
	border-color: #c43022;
}

.cma-payment-portal .wpcf7-acceptance input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 1px;
	width: 6px;
	height: 12px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.cma-payment-portal .wpcf7-acceptance input[type="checkbox"]:focus-visible {
	outline: 2px solid #024b6c;
	outline-offset: 2px;
}

.cma-payment-portal .wpcf7-acceptance .wpcf7-list-item-label {
	font-weight: 400;
}

.cma-payment-portal .wpcf7-stripe .card-element {
	min-height: 40px;
}

.cma-payment-portal .wpcf7-stripe button.first,
.cma-payment-portal .wpcf7-stripe button.second {
	font-size: 14px;
	display: inline-block;
	width: auto;
	padding: 12px 20px 11px;
	margin: 16px 8px 10px 0;
	color: #fff !important;
	text-decoration: none;
	font-family: "Quattrocento Sans", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	cursor: pointer;
	background: #c43022 !important;
	text-shadow: none;
	border-radius: 0;
	border: none;
	appearance: none;
	transition: background 0.5s ease-in-out;
}

.cma-payment-portal .wpcf7-stripe button.first:hover,
.cma-payment-portal .wpcf7-stripe button.second:hover {
	background: #99251a !important;
	color: #fff !important;
}

.cma-payment-portal .wpcf7-stripe button:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.cma-payment-portal .wpcf7-stripe .hidden,
.cma-payment-portal .wpcf7-stripe button.hidden {
	display: none !important;
}

.cma-payment-portal .wpcf7 form .wpcf7-response-output {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 9999;
	width: min(640px, calc(100% - 32px));
	margin: 0;
	padding: 20px 24px;
	transform: translateX(-50%);
	background: #024b6c;
	color: #fff;
	border: none;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.cma-payment-portal .wpcf7 form.sent .wpcf7-response-output {
	background: #024b6c;
}

.cma-payment-portal .wpcf7 form.payment-required .wpcf7-response-output {
	display: none;
}

.cma-payment-portal .wpcf7 form.failed .wpcf7-response-output,
.cma-payment-portal .wpcf7 form.aborted .wpcf7-response-output,
.cma-payment-portal .wpcf7 form.invalid .wpcf7-response-output,
.cma-payment-portal .wpcf7 form.unaccepted .wpcf7-response-output {
	background: #c43022;
}

.cma-payment-thanks .button {
	margin-top: 16px;
}
