body.woocommerce-orders .et_pb_wcbd_myaccount_classic .woocommerce-MyAccount-content,
body.woocommerce-view-subscription .et_pb_wcbd_myaccount_classic .woocommerce-MyAccount-content {
	background: #fff;
	border: 0;
	border-radius: 10px;
	box-shadow: none;
	box-sizing: border-box !important;
	float: none !important;
	margin: 40px !important;
	padding: 30px !important;
	width: calc(100% - 80px) !important;
}

.ecg-cme-card {
	background: #fff;
	border-radius: 12px;
	margin: 0 0 24px;
	padding: clamp(22px, 4vw, 38px);
}

.ecg-cme-card h2 {
	margin: 0 0 18px;
}

.ecg-cme-progress {
	background: #dce7e5;
	border-radius: 999px;
	height: 12px;
	overflow: hidden;
}

.ecg-cme-progress span {
	background: #2b6f74;
	display: block;
	height: 100%;
}

.ecg-cme-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.ecg-cme-certificate-actions {
	flex-wrap: nowrap;
}

.ecg-cme-certificate-actions .button {
	flex: 1 1 0;
	min-width: 0;
}

.ecg-cme-dashboard-update {
	background: #e8f3f1;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	margin: 0 0 14px;
	padding: 18px 20px;
}

.ecg-cme-dashboard-update-header {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: 36px minmax(0, 1fr) 32px;
	margin-bottom: 10px;
}

.ecg-cme-dashboard-update-icon {
	align-items: center;
	background: #d2e8e4;
	border-radius: 50%;
	color: #2b6f74;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	width: 36px;
}

.ecg-cme-dashboard-update-icon svg {
	height: 21px;
	width: 21px;
}

.ecg-cme-dashboard-update h4 {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.ecg-cme-dashboard-dismiss {
	align-items: center;
	border-radius: 50%;
	color: #43615e;
	display: inline-flex;
	font-size: 26px;
	height: 32px;
	justify-content: center;
	line-height: 1;
	text-decoration: none;
	width: 32px;
}

.ecg-cme-dashboard-dismiss:hover,
.ecg-cme-dashboard-dismiss:focus {
	background: rgb(43 111 116 / 12%);
	color: #223f3d;
}

.ecg-cme-dashboard-update p {
	font-size: 15px;
	line-height: 1.55;
	margin: 0 0 10px;
}

.ecg-cme-dashboard-update .ecg-cme-actions {
	margin-top: 12px;
}

.ecg-cme-dashboard-update .et_pb_button {
	font-size: 15px !important;
	letter-spacing: .02em !important;
}

.ecg-cme-dashboard-update .et_pb_button::after {
	bottom: auto !important;
	font-size: 18px !important;
	line-height: 1 !important;
	margin-left: 0 !important;
	right: 10px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
}

.ecg-cme-dashboard-update .et_pb_button:hover,
.ecg-cme-dashboard-update .et_pb_button:focus {
	background: #222 !important;
	color: #fff !important;
}

.ecg-cme-dashboard-update .et_pb_button:hover::after,
.ecg-cme-dashboard-update .et_pb_button:focus::after {
	opacity: 1 !important;
}

.ecg-cme-form {
	display: block;
	margin-top: 28px;
}

.ecg-cme-section {
	background: #fff;
	border: 1px solid #d8e5e3;
	border-radius: 8px;
	margin: 0 0 24px;
	padding: clamp(18px, 3vw, 28px);
}

.ecg-cme-section > legend {
	color: #17364a;
	font-size: 21px;
	font-weight: 700;
	padding: 0 10px;
}

.ecg-cme-section > legend span {
	align-items: center;
	background: #222;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 15px;
	height: 28px;
	justify-content: center;
	margin-right: 6px;
	width: 28px;
}

.ecg-cme-section-intro {
	color: #52656c;
	margin: 0 0 22px;
}

.ecg-cme-credit-fields {
	background: #f4f4f4;
}

.ecg-cme-question {
	border: 0;
	margin: 0 0 24px;
	padding: 0;
}

.ecg-cme-conditional[hidden] {
	display: none !important;
}

.ecg-cme-change-details {
	scroll-margin-top: 24px;
}

.ecg-cme-options > legend,
.ecg-cme-likert > legend {
	color: #17364a;
	font-weight: 700;
	margin-bottom: 12px;
}

.ecg-cme-options label {
	display: block;
	font-weight: 400 !important;
	margin: 8px 0 !important;
}

.ecg-cme-likert > fieldset {
	border: 0;
	border-top: 1px solid #e2ecea;
	margin: 0;
	padding: 18px 0;
}

.ecg-cme-likert > fieldset > legend {
	color: #334f58;
	font-weight: 600;
	line-height: 1.45;
	padding: 0;
}

.ecg-cme-likert > fieldset > div {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 10px;
}

.ecg-cme-likert label {
	background: #f2f2f2;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 500 !important;
	margin: 0 !important;
	padding: 9px;
	text-align: center;
}

.ecg-cme-credit-fields {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ecg-cme-credit-fields > legend,
.ecg-cme-credit-fields > .ecg-cme-section-intro {
	grid-column: 1 / -1;
}

.ecg-cme-credit-fields p,
.ecg-cme-submit-section p {
	margin: 0;
}

.ecg-cme-submit-section .button {
	background: #17364a;
	border: 0;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	margin-top: 20px;
	padding: 13px 20px;
}

.ecg-cme-status {
	border-left: 4px solid #2b6f74;
	padding-left: 14px;
}

@media (max-width: 640px) {
	body.woocommerce-orders .et_pb_wcbd_myaccount_classic .woocommerce-MyAccount-content,
	body.woocommerce-view-subscription .et_pb_wcbd_myaccount_classic .woocommerce-MyAccount-content {
		margin: 16px !important;
		padding: 16px !important;
		width: calc(100% - 32px) !important;
	}

	.ecg-cme-form {
		margin-top: 20px;
	}

	.ecg-cme-credit-fields,
	.ecg-cme-likert > fieldset > div {
		grid-template-columns: 1fr;
	}

	.ecg-cme-likert label {
		text-align: left;
	}
}
