/* Standalone payment result pages, matching the supplied Figma desktop and mobile frames. */
@font-face {
	font-family: 'Orbis Payment Noto Sans SC';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/NotoSansSC-Status-Regular.woff2') format('woff2');
}

.orbis-payment-result-page,
.orbis-payment-result-page *,
.orbis-payment-result-page *::before,
.orbis-payment-result-page *::after { box-sizing: border-box; }

.orbis-payment-result-page {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0;
	padding: 40px 20px;
	overflow-x: hidden;
	background: #e5e7f7;
	color: #3a4566;
	font-family: 'Inter', Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.orbis-payment-result__art {
	position: fixed;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.orbis-payment-result__art img {
	position: absolute;
	left: 50%;
	top: calc(50% - 24px);
	display: block;
	width: 642px;
	height: 1008px;
	max-width: none;
	transform: translate(-50%, -50%);
}

.orbis-payment-result {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(460px, 100%);
	min-height: 495.63px;
	padding: 40.81px 35px 55.82px;
	border-radius: 16px;
	background: #fff;
	text-align: center;
}

.orbis-payment-result__icon {
	position: relative;
	flex: 0 0 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #e5e7f7;
	color: #0011ab;
}

.orbis-payment-result__icon--decline { background: #fcebeb; color: #c53030; }
.orbis-payment-result__icon svg { display: block; width: 24px; height: 24px; }
.orbis-payment-result__icon--decline svg { width: 28px; height: 28px; }

.orbis-payment-result__title {
	position: static;
	flex: 0 0 auto;
	width: 100%;
	margin: 7.29px 0 0;
	color: #1a202c;
	font-family: 'Inter', Arial, sans-serif;
	font-size: 20.8px;
	font-weight: 600;
	line-height: 36px;
	text-align: center;
}

.orbis-payment-result__copy {
	position: static;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin-top: 22px;
	gap: 12px;
	color: #3a4566;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 23.2px;
	text-align: center;
}

.orbis-payment-result__copy p { width: 100%; margin: 0; color: inherit; font: inherit; }
.orbis-payment-result__copy .payment-result-copy--zh { font-family: 'Inter', 'Orbis Payment Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
.orbis-payment-result__copy .payment-result-mobile-break { display: none; }
.orbis-payment-result--success .payment-result-copy--zh { width: 400px; max-width: calc(100vw - 40px); }
.orbis-payment-result--decline .payment-result-copy--zh { width: 360px; max-width: 100%; }

.orbis-payment-result__button {
	position: static;
	flex: 0 0 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
	margin-top: auto;
	border: 0;
	border-radius: 8px;
	background: #0011ab;
	color: #fff;
	font-family: 'Inter', Arial, sans-serif;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 23.2px;
	text-align: center;
	text-decoration: none;
}

.orbis-payment-result__button:hover { background: #1027c6; color: #fff; }
.orbis-payment-result__button:focus-visible { outline: 3px solid #3a4566; outline-offset: 4px; }

@media (max-width: 640px) {
	.orbis-payment-result__art img {
		top: calc(50% + 11.5px);
		transform: translate(-50%, -50%) scale(.797);
	}

	.orbis-payment-result {
		min-height: 595.06px;
		padding: 28.53px 22px 48px;
	}
	.orbis-payment-result--decline .orbis-payment-result__icon { margin-top: 13px; }
	.orbis-payment-result__title { margin-top: 19.67px; }
	.orbis-payment-result--decline .orbis-payment-result__title { margin-top: 6.67px; }
	.orbis-payment-result__copy { margin-top: 58.33px; }
	.orbis-payment-result__copy .payment-result-mobile-break { display: inline; }
	.orbis-payment-result--success .payment-result-copy--zh { width: 280px; max-width: 100%; }
	.orbis-payment-result--decline .payment-result-copy--zh { width: 298px; max-width: 100%; }
	.orbis-payment-result__button,
	.orbis-payment-result--decline .orbis-payment-result__button {
		width: calc(100% - 26px);
	}
}
