.qevfc-checkout-box,
.qevfc-thankyou-note,
.qevfc-customer-receipt {
	box-sizing: border-box;
	margin: 16px 0;
	padding: 18px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	background: #fff;
}

.qevfc-checkout-box *,
.qevfc-thankyou-note *,
.qevfc-customer-receipt * {
	box-sizing: border-box;
}

.qevfc-description > :first-child,
.qevfc-instructions > :first-child {
	margin-top: 0;
}

.qevfc-description > :last-child,
.qevfc-instructions > :last-child {
	margin-bottom: 0;
}

.qevfc-details {
	display: grid;
	gap: 8px;
	margin: 14px 0;
	padding: 14px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.035);
}

.qevfc-details span {
	opacity: 0.75;
}

.qevfc-upload-label {
	display: block;
	margin: 16px 0 8px;
	font-weight: 700;
}

#qevfc_receipt,
.qevfc-reupload-form input[type="file"] {
	display: block;
	width: 100%;
	padding: 11px;
	border: 1px dashed rgba(0, 0, 0, 0.25);
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.02);
}

.qevfc-help {
	display: block;
	margin-top: 8px;
	opacity: 0.7;
}

.qevfc-upload-status {
	min-height: 22px;
	margin-top: 10px;
	font-weight: 600;
}

.qevfc-upload-status.is-info {
	color: #1d4ed8;
}

.qevfc-upload-status.is-success {
	color: #15803d;
}

.qevfc-upload-status.is-error {
	color: #b91c1c;
}

#place_order.qevfc-place-order-disabled {
	cursor: wait;
	opacity: 0.65;
}

.qevfc-thankyou-note h2,
.qevfc-customer-receipt h2 {
	margin-top: 0;
}

.qevfc-reupload-form {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.qevfc-reupload-form .button {
	margin-top: 12px;
}

[dir="rtl"] .qevfc-checkout-box,
[dir="rtl"] .qevfc-thankyou-note,
[dir="rtl"] .qevfc-customer-receipt,
.qevfc-checkout-box[dir="rtl"],
.qevfc-thankyou-note[dir="rtl"],
.qevfc-customer-receipt[dir="rtl"] {
	text-align: right;
}
