body.wcpay-onboarding__body {
	background-color: #fff;

	.wcpay-onboarding-mox {
		a {
			text-decoration: none;
		}

		.stepper {
			&__nav {
				position: fixed;
				top: 0;
				left: 0;
				right: 0;
				height: 80px;
				padding-top: 8px;
				padding-left: 8px;
				padding-right: 8px;
				display: grid;
				grid-template-columns: 94px 1fr; // Sizing counted for the right padding inside 1st column (logo)
				align-items: stretch;
				background-color: #fff;
				border-bottom: 1px solid $gray-300;
				z-index: 10;

				&-button {
					color: var(
						--wp-components-color-accent,
						$gutenberg-blueberry
					);
					cursor: pointer;
					background-color: transparent;
					border: none;
					display: flex;
					align-items: center;
					padding: $gap-large;
					font-size: 14px;

					.gridicons-chevron-left {
						fill: var(
							--wp-components-color-accent,
							$gutenberg-blueberry
						);
						margin-right: 2px;
					}

					&:last-child {
						justify-self: end;
					}

					&.hide {
						visibility: hidden;
					}
				}

				&-logo {
					justify-self: center;
					align-self: center;
					height: 17px;
				}
			}

			&__wrapper {
				max-width: 620px;
				margin: 116px auto 0;
				display: flex;
				flex-direction: column;
				align-items: center;
			}

			&__heading {
				@include wp-title-large;
				font-family: 'SF Pro Display', $default-font;
				color: $studio-gray-100;
				text-align: center;
			}

			&__subheading {
				font-size: 16px;
				line-height: 24px;
				font-weight: 400;
				text-align: center;
				text-wrap: wrap;
				color: $studio-gray-60;
				margin: $gap-small 0 $gap-largest;

				@media screen and ( max-width: $break-small ) {
					text-wrap: balance;
				}
			}

			&__content {
				max-width: 615px;
				width: 100%;

				@media screen and ( max-width: $break-mobile ) {
					width: 100%;
					padding: 0 $gap;
				}
			}

			&__cta {
				display: block;
				width: 100%;
				height: 40px; // Matching the updated WP Component. We can remove this when we update Components version.
				margin-top: $gap-large;
				background: var(
					--wp-components-color-accent,
					$gutenberg-blueberry
				); // override the MOX CTA to use Gutenberg Blueberry.
				&:hover {
					background: var(
						--wp-components-color-accent,
						$gutenberg-blueberry-focus
					);
				}
				&.inline {
					width: auto; // Adjust the button width not to take 100%.
					margin-top: 0; // No need to have margin in this case.
				}
				// Support busy/disabled state for gutenberg blueberry MOX button.
				&.components-button.is-primary.is-busy,
				&.components-button.is-primary.is-busy:disabled,
				&.components-button.is-primary.is-busy[aria-disabled='true'] {
					background: linear-gradient(
						-45deg,
						var(
								--wp-components-color-accent,
								$gutenberg-blueberry
							)
							33%,
						var(
								--wp-components-color-accent-darker-20,
								$gutenberg-blueberry-focus
							)
							33%,
						var(
								--wp-components-color-accent-darker-20,
								$gutenberg-blueberry-focus
							)
							70%,
						var(
								--wp-components-color-accent,
								var(
									--wp-components-color-accent,
									$gutenberg-blueberry
								)
							)
							70%
					);
					background-size: 100px 100%;
				}
			}
		}

		.wcpay-inline-notice {
			background-color: $gray-0;
			&__content {
				display: flex;
				width: 100%;
				&__title {
					width: inherit;
				}
				&__actions {
					width: auto;
					padding-top: 0;
				}
			}
		}

		.wcpay-banner-notice--embedded-kyc {
			&.is-warning {
				background-color: lighten( $alert-yellow, 35% );
			}

			&.is-error {
				background-color: lighten( $alert-red, 35% );
			}
		}

		.wcpay-onboarding__tos {
			font-size: 12px;
		}

		.wcpay-component-grouped-select-control__button-value {
			color: $gray-900;
		}

		.complete-business-info-task__option-description {
			font-size: 12px;
			color: $gray-700;
			line-height: 16px;
			margin-top: 4px;
		}

		.onboarding-mode__note {
			background-color: $wp-blue-0;
			padding: $gap-small $gap;
		}

		.onboarding-mode__sandbox {
			display: flex;
			align-items: center;
			justify-content: center;
		}

		.personal-details-notice {
			margin: 0;
		}

		.components-base-control,
		.components-custom-select-control,
		.wcpay-component-grouped-select-control {
			margin-bottom: $gap-large;
		}

		.components-form-field__error {
			margin: -$gap 0 $gap;
		}
	}

	.wcpay-component-onboarding-card {
		display: block;
		padding: $gap-large;
		background-color: #fff;
		border-radius: 3px;
		border: 1px solid $light-gray-500;
		margin-bottom: $gap-large;

		&__label {
			display: grid;
			grid-template-columns: 24px 1fr 25px;
			column-gap: $gap-small;
			align-items: center;
			font-weight: bold;

			&:not( :last-child ) {
				margin-bottom: $gap;
			}

			svg {
				fill: #bbb;
			}
		}

		&__footer {
			button {
				width: 100%;
				display: flex;
				align-items: center;
				justify-content: center;
			}
		}

		p {
			color: $gray-700;
		}
	}

	// Hide Jetpack's JITM (Just in time messages) banners for onboarding.
	.woocommerce-layout__jitm {
		display: none;
	}

	// Wrap loader so it's centered and does not get cut.
	.embedded-kyc-loader-wrapper {
		text-align: center;
		height: 35px;
		&.padded {
			padding-top: 61px; // Takes the same padding as Stripe embedded component.
		}
	}
}
