.wp-commentpay-box {
	border: 1px solid #dcdcde;
	border-radius: 6px;
	margin: 1.5rem 0;
	padding: 1.25rem;
}

.wp-commentpay-locked-form .comment-form-comment,
.wp-commentpay-locked-form .comment-form-author,
.wp-commentpay-locked-form .comment-form-email,
.wp-commentpay-locked-form .comment-form-url,
.wp-commentpay-locked-form .comment-notes,
.wp-commentpay-locked-form .logged-in-as,
.wp-commentpay-locked-form .form-submit,
.wp-commentpay-locked-form textarea,
.wp-commentpay-locked-form textarea[name="comment"],
.wp-commentpay-locked-form label[for="comment"],
.wp-commentpay-locked-form input[type="submit"],
.wp-commentpay-locked-form button[type="submit"]:not(.wp-commentpay-button) {
	display: none !important;
}

.wp-commentpay-locked-form .wp-commentpay-box,
.wp-commentpay-locked-form .wp-commentpay-email,
.wp-commentpay-locked-form .wp-commentpay-email input,
.wp-commentpay-locked-form .wp-commentpay-button {
	display: revert !important;
}

.wp-commentpay-comments-locked .comment-form-comment,
.wp-commentpay-comments-locked .form-submit.wp-block-button,
.wp-commentpay-comments-locked .form-submit,
.wp-commentpay-comments-locked textarea[name="comment"],
.wp-commentpay-comments-locked label[for="comment"],
.wp-commentpay-comments-locked input[type="submit"],
.wp-commentpay-comments-locked button[type="submit"]:not(.wp-commentpay-button) {
	display: none !important;
}

.wp-commentpay-comments-locked .wp-commentpay-box,
.wp-commentpay-comments-locked .wp-commentpay-email,
.wp-commentpay-comments-locked .wp-commentpay-email input,
.wp-commentpay-comments-locked .wp-commentpay-button {
	display: revert !important;
}

.wp-commentpay-price {
	font-weight: 700;
	margin-top: 0;
}

.wp-commentpay-notice {
	background: #f0f6fc;
	border-left: 4px solid #2271b1;
	margin: 0 0 1rem;
	padding: 0.75rem;
}

.wp-commentpay-notice-error {
	background: #fcf0f1;
	border-left-color: #d63638;
}

.wp-commentpay-form {
	display: grid;
	gap: 0.75rem;
	margin-top: 0.75rem;
	max-width: 520px;
}

.wp-commentpay-email input[type="email"] {
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	box-sizing: border-box;
	display: block;
	margin-top: 0.25rem;
	min-height: 44px;
	padding: 0.6rem 0.75rem;
	width: 100%;
}

.wp-commentpay-button {
	transition: filter 120ms ease, transform 120ms ease;
}

.wp-commentpay-button:hover,
.wp-commentpay-button:focus {
	filter: brightness(0.96);
	outline: 2px solid transparent;
	outline-offset: 2px;
}

.wp-commentpay-button-single {
	align-items: center;
	display: inline-flex;
	gap: 0.65rem;
	justify-content: center;
}
