.mycert-course-participants,
.mycert-confirmation-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	margin: 20px 0;
	padding: 18px;
}

.mycert-product-participants {
	background: #fff;
	border: 0;
	clear: both;
	margin: 12px 0;
	padding: 0;
	width: 100%;
}

.mycert-product-quantity {
	margin: 0 0 16px;
}

.mycert-product-participants .mycert-product-quantity h3 {
	margin: 0 0 8px;
}

.mycert-product-quantity-row {
	align-items: flex-end;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.mycert-product-quantity-control {
	flex: 0 0 86px;
}

.mycert-product-participants .mycert-product-quantity-control .quantity {
	float: none;
	margin: 0;
	width: 86px;
}

.mycert-product-participants .mycert-product-quantity-control .qty {
	box-sizing: border-box;
	margin: 0;
	max-width: 100%;
	width: 100%;
}

.mycert-product-total {
	align-items: flex-end;
	clear: none;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	line-height: 1.3;
	margin: 0;
	min-width: 0;
	text-align: right;
}

.mycert-product-total-label {
	font-size: .9em;
	margin-bottom: 2px;
}

.mycert-product-total-value {
	font-size: 1.2em;
}

.mycert-product-tax-label {
	white-space: nowrap;
}

.mycert-product-participants h3 {
	margin: 12px 0 2px;
}

.mycert-participants-subtitle {
	margin: 0 0 10px;
}

.mycert-participant,
.mycert-checkout-participant {
	border: 0;
	border-top: 1px solid #e5e5e5;
	margin: 16px 0;
	padding: 16px 0 0;
}

.mycert-product-participants .mycert-participant {
	margin: 8px 0 12px;
	padding: 6px 0 0;
}

.mycert-participant legend,
.mycert-checkout-participant legend {
	font-weight: 700;
}

.mycert-product-participants .mycert-participant legend {
	line-height: 1.2;
	margin: 0 0 2px;
	padding: 0 4px 0 0;
}

.mycert-product-participants .mycert-participant-fields {
	display: grid;
	gap: 8px 14px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	margin-top: 0;
}

.mycert-product-participants .mycert-participant-fields .form-row {
	clear: none;
	float: none;
	margin: 0;
	width: auto;
}

.mycert-product-participants .mycert-participant-fields .form-row-wide {
	grid-column: 1 / -1;
}

.mycert-checkout-participant .form-row-first {
	clear: both;
	float: left;
	width: 48%;
}

.mycert-checkout-participant .form-row-last {
	float: right;
	width: 48%;
}

.mycert-checkout-participant .form-row-wide {
	clear: both;
	width: 100%;
}

.mycert-field-description {
	color: #666;
	display: block;
	font-size: .85em;
	line-height: 1.4;
	margin-top: 4px;
}

.mycert-documents {
	background: #f7f7f7;
	margin-top: 18px;
	padding: 16px;
}

.mycert-product-participants .mycert-documents {
	background: #fff;
	margin-top: 14px;
	padding: 0;
}

.mycert-documents h4,
.mycert-documents h5 {
	margin: 14px 0 8px;
}

.mycert-declaration {
	align-items: start;
	display: grid;
	gap: 8px;
	grid-template-columns: auto 1fr;
	margin: 8px 0;
}

.mycert-declaration input[type="checkbox"] {
	align-self: start;
	height: auto;
	margin-top: .25em;
	min-width: 1em;
	width: auto;
}

.mycert-declaration-text {
	font-weight: 400;
	line-height: 1.45;
	min-width: 0;
}

.mycert-declaration-text label {
	cursor: pointer;
	display: inline;
	font-weight: inherit;
	margin: 0;
}

.mycert-declaration a {
	position: relative;
	z-index: 1;
}

.mycert-required-marker,
.mycert-required-note,
.mycert-product-participants .required,
.mycert-confirmations .required {
	color: inherit;
}

.mycert-required-note {
	font-size: .88em;
	margin: 10px 0;
}

.mycert-status {
	font-weight: 700;
}

.mycert-status-active {
	color: #16733c;
}

.mycert-status-failed,
.mycert-status-refund_review {
	color: #a12622;
}

.mycert-confirmation-card .button {
	margin-top: 10px;
}

.mycert-confirmations .mycert-confirmation-card {
	margin: 16px 0;
	padding: 16px;
}

.mycert-confirmation-card h3 {
	margin-top: 0;
}

.mycert-confirmation-card h4 {
	margin: 18px 0 8px;
}

.mycert-confirmations .mycert-declaration {
	gap: 10px;
	grid-template-columns: 18px minmax(0, 1fr);
	margin: 10px 0;
}

@media (max-width: 600px) {
	.mycert-product-quantity-row {
		gap: 12px;
	}

	.mycert-product-total-value {
		font-size: 1.1em;
	}

	.mycert-checkout-participant .form-row {
		float: none !important;
		width: 100% !important;
	}
}

