@font-face {
	font-family: "Inter";
	src: url("../fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
}

.mps .mps-hero h1 {
	color: #fff !important;
	text-shadow: none !important;
}

.mps .mps-tabs,
.mps .mps-panel {
	width: min(100%, 1024px);
}

.mps .mps-tabs {
	position: relative;
	isolation: isolate;
}

.mps .mps-tabs::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background: #fff;
}

.mps .mps-tabs button,
.mps .mps-tabs button:hover,
.mps .mps-tabs button:focus,
.mps .mps-tabs button:active {
	transform: none !important;
	filter: none !important;
	box-shadow: none !important;
}

.mps .mps-tabs button:hover,
.mps .mps-tabs button:focus-visible {
	background: #fff;
	color: #404040;
}

.mps .mps-tabs button[aria-selected="true"],
.mps .mps-tabs button[aria-selected="true"]:hover,
.mps .mps-tabs button[aria-selected="true"]:focus-visible {
	background: #f9f9f9;
	color: #1fadc1;
}

.mps-contact-heading h2 span {
	display: grid;
	place-items: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border: 1px solid #aee7ee;
	border-radius: 10px;
	background: #f2fcfd;
}

.mps-contact-heading h2 {
	color: #1fadc1 !important;
}

#mps-contact {
	padding-right: 56px;
	padding-left: 56px;
}

#mps-contact .mps-contact-heading {
	margin-left: -12px;
}

.mps-form .appointment-form-container > h2,
.mps-form .appointment-form-container > div[style*="background-color: #fff8e1"],
.mps-form #hospitalInfoContainer {
	display: none !important;
}

.mps-form {
	border: 0;
	padding: 0;
	background: transparent;
}

.mps-form .appointment-form-container {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.mps-form .appointment-form {
	display: flex;
	flex-direction: column;
	gap: 22px;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.mps-form-section {
	padding: 28px;
	border: 1px solid #aee7ee;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(31, 173, 193, .04);
}

.mps-form-section > h3 {
	display: flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
	margin: 0 0 24px;
	color: #173e49;
	font-size: 18px;
}

.mps-form-section > h3 > b {
	align-self: stretch;
	display: flex;
	align-items: center;
	padding: 0 0 6px;
	border-bottom: 2px solid #1fadc1;
	font-weight: 700;
}

.mps-form-section > h3 span {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin-bottom: 0;
	border: 1px solid #aee7ee;
	border-radius: 12px;
	background: #f2fcfd;
	color: #1fadc1;
}

.mps-form-section > h3 span img,
.mps-contact-heading h2 span img {
	display: block;
	object-fit: contain;
}

.mps-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.mps-form-grid .form-group {
	margin: 0 !important;
}

.mps-form-grid .mps-grid-full {
	grid-column: 1 / -1;
}

.mps-form .mps-required {
	color: #e44335;
}

.mps-form input:not([type="checkbox"]):not([type="radio"]),
.mps-form select,
.mps-form textarea {
	width: 100% !important;
	padding: 12px 16px !important;
	color: #173e49 !important;
	font-size: 15px !important;
}

.mps-form .form-group > label {
	margin-bottom: 8px !important;
	font-size: 14px !important;
	line-height: 1.4;
}

.mps-form textarea {
	resize: vertical;
}

.mps-contact-methods {
	margin-top: 20px;
	padding: 20px;
	border: 1px solid #9edfe7;
	border-radius: 14px;
	background: #f0fafc;
}

.mps-method-title {
	display: flex;
	align-items: center;
	gap: 7px;
	color: #173e49;
	font-weight: 700;
}

.mps-method-title small {
	display: inline-block;
	margin-left: 8px;
	padding: 3px 10px;
	border-radius: 999px;
	background: #d7f5f8;
	color: #168da0;
	font-size: 12px;
	font-weight: 500;
}

.mps-contact-methods > p {
	margin: 6px 0 16px;
	color: #55737c;
	font-size: 14px;
}

.mps-method-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 312px));
	gap: 16px;
}

.mps-method-grid > label {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border: 1px solid #aee7ee;
	border-radius: 14px;
	background: #fff;
}

.mps-method-grid > label:has(input[type="checkbox"]:checked) {
	border-color: #1fadc1;
	background: #e8fdff;
	box-shadow: inset 0 0 0 1px #1fadc1;
}

.mps-method-grid label > span {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
}

.mps-method-grid .mps-whatsapp-input {
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: 10px;
}

.mps-method-grid .mps-whatsapp-input select,
.mps-method-grid .mps-whatsapp-input input {
	min-width: 0;
}

.mps-method-grid input[type="checkbox"] {
	appearance: none;
	width: 18px;
	height: 18px;
	border: 2px solid #bfcdd1;
	border-radius: 50%;
	background: #fff;
	accent-color: #1fadc1;
}

.mps-method-grid input[type="checkbox"]:checked {
	border: 5px solid #1fadc1;
}

.mps-method-error {
	margin-top: 8px;
	color: #c62828;
}

.mps-form #hospital-specific-content {
	display: none !important;
}

.mps-form [id^="consent-container-privacy"] {
	padding: 18px 22px;
	border: 1px solid #aee7ee;
	border-radius: 14px;
	background: #f7fdfe;
}

.mps-form [id^="consent-container-privacy"] input[type="checkbox"] {
	appearance: none;
	width: 20px !important;
	height: 20px;
	margin-top: 1px !important;
	border: 1.5px solid #72d5e1;
	border-radius: 50%;
	background: #fff;
}

.mps-form [id^="consent-container-privacy"] input[type="checkbox"]:checked {
	border: 5px solid #1fadc1;
}

.mps-form [id^="consent-container-privacy"] small {
	display: block;
	margin-top: 6px;
	color: #8b969a;
	font-size: 13px;
	font-weight: 400;
}

.mps-form .file-upload-area {
	min-height: 210px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.mps-form .form-group > label:has(+ .file-upload-area) {
	position: relative;
	padding-right: 80px;
}

.mps-form .form-group > label:has(+ .file-upload-area) span {
	margin-left: 8px;
	color: #8b969a;
	font-weight: 400;
}

.mps-form .form-group > label:has(+ .file-upload-area) small {
	position: absolute;
	right: 0;
	padding: 4px 11px;
	border-radius: 999px;
	background: #e8fdff;
	color: #1595a8;
	font-size: 12px;
	font-weight: 500;
}

.mps-upload-icon {
	box-sizing: content-box;
	margin-bottom: 12px;
	padding: 14px;
	border-radius: 14px;
	background: #e8fdff;
}

.mps-form .file-upload-area p {
	margin: 4px 0;
}

.mps-form .file-upload-area .mps-upload-cn {
	color: #8b969a;
	font-size: 13px;
}

.mps-confidentiality {
	margin-top: 18px;
	padding: 16px 40px;
	border-radius: 8px;
	background: #f4f4f4;
	color: #929292;
	font-size: 14px;
	line-height: 1.45;
}

/* About Tab：与 Figma 的卡片圆角、流程分栏和支持等级保持一致。 */
.mps-service-grid article,
.mps-reasons article,
.mps-levels article {
	border-radius: 16px;
	transition: none !important;
}

.mps-service-grid article:hover,
.mps-reasons article:hover {
	transform: none !important;
	box-shadow: 0 6px 28px rgba(31, 173, 193, .08), 0 2px 8px rgba(0, 0, 0, .04) !important;
}

.mps-process {
	grid-template-rows: repeat(3, minmax(136px, auto));
	grid-auto-flow: column;
}

.mps-process li::after {
	content: none !important;
}

.mps-process li:not(:nth-child(3)):not(:nth-child(6))::after {
	content: "" !important;
	position: absolute;
	left: 23px;
	top: 48px;
	height: 88px;
	border-left: 2px solid #d4f3f6;
}

.mps-level-section {
	margin-top: 72px;
}

.mps-level-section > .mps-heading {
	margin-top: 0;
}

.mps-levels article {
	min-height: 460px;
	background: #faffff !important;
	box-shadow: 0 10px 30px rgba(45, 92, 100, .1), 0 2px 8px rgba(0, 0, 0, .03) !important;
}

.mps-levels article:hover,
.mps-levels article:focus-within {
	transform: none !important;
	box-shadow: 0 10px 30px rgba(45, 92, 100, .1), 0 2px 8px rgba(0, 0, 0, .03) !important;
}

.mps .mps-heading h2 {
	color: #1fadc1 !important;
}

.mps .mps-heading p,
.mps-levels article:not(.is-featured) p,
.mps-levels article:not(.is-featured) li {
	color: #404040 !important;
}

.mps-levels h3 {
	color: #111 !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
}

.mps-levels p,
.mps-levels li {
	font-size: 14px !important;
	line-height: 1.6 !important;
}

.mps-levels .is-featured {
	transform: none !important;
	background: linear-gradient(180deg, #3395a9 0%, #287f91 100%) !important;
	box-shadow: 0 20px 38px rgba(20, 125, 145, .3) !important;
}

.mps-levels .is-featured:hover,
.mps-levels .is-featured:focus-within {
	box-shadow: 0 20px 38px rgba(20, 125, 145, .3) !important;
}

.mps-levels .is-featured h3 {
	color: #fff !important;
}

.mps-levels .is-featured p,
.mps-levels .is-featured li {
	color: rgba(232, 253, 255, .9) !important;
}

.mps-levels .is-featured > b {
	right: auto;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	background: linear-gradient(90deg, #f0522d 0%, #f28a00 100%);
}

.mps-levels .is-featured .mps-icon {
	background: rgba(232, 253, 255, .16);
}

.mps-levels li::before {
	content: "✓";
	display: grid;
	place-items: center;
	width: 12px;
	height: 12px;
	border: 1px solid #1fadc1;
	border-radius: 50%;
	font-size: 8px;
	line-height: 1;
}

.mps-levels .is-featured li::before {
	border-color: #8bdbe4;
	color: #dffbff;
}

.mps-form .submit-container {
	margin-top: 0 !important;
}

.mps-form #submitButton {
	font-size: 17px !important;
}

@media (max-width: 767px) {
	#mps-contact {
		padding-right: 16px;
		padding-left: 16px;
	}

	#mps-contact .mps-contact-heading {
		margin-left: 0;
	}
	.mps-form-section {
		padding: 20px 14px;
	}

	.mps-form-grid,
	.mps-method-grid {
		grid-template-columns: 1fr;
	}

	.mps-confidentiality {
		padding: 14px 18px;
	}

	.mps-process {
		grid-template-rows: none;
		grid-auto-flow: row;
	}

	.mps-process li:not(:last-child)::after {
		content: "" !important;
		height: 82px;
	}

	.mps-process li:last-child::after {
		content: none !important;
	}

	.mps-levels article {
		min-height: 420px;
	}

	.mps-level-section {
		margin-top: 52px;
	}

	.mps-form-section > h3 {
		font-size: 18px;
	}

	.mps-method-title small {
		margin: 6px 0 0;
	}
}
