<template>
	<div class="register-success">
		<div class="icon"><svg-icon name="dui" size="20" /></div>
		<div class="title">Welcome to Stylish Parade!</div>
		<div class="title">Please switch to the Login tab to log in.</div>
		<div class="footer">
			<div class="title">
				<span class="text">What awaits you in Stylish Parade</span>
				<span class="icon"><svg-icon name="arrow_right" size="11" /></span>
			</div>
			<div class="content">
				<div>
					<div class="title">Behind the design</div>
					<div class="tip">
						Discover how designers bring ideas to life with AiDA — from first sketch to final look.
					</div>
				</div>
				<div>
					<div class="title">Creative digital works</div>
					<div class="tip">
						Unlock a growing library of inspiring digital works to refresh your creative mind.
					</div>
				</div>
				<div>
					<div class="title">A fashion community</div>
					<div class="tip">
						Join a space where fashion speaks — exchange ideas and connect with creators worldwide.
					</div>
				</div>
			</div>
		</div>
	</div>
</template>

<script setup lang="ts">
	import { computed, onBeforeUnmount, onMounted, ref } from 'vue'
	import { useI18n } from 'vue-i18n'
	const { t } = useI18n()
</script>

<style lang="less" scoped>
	.register-success {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-top: 7.7rem;
		> .icon {
			width: 4rem;
			height: 4rem;
			border-radius: 50%;
			background-color: #fff;
			border: 0.1rem solid #e8e8e8;
			margin-bottom: 1.8rem;
		}
		> .title {
			font-size: 1.6rem;
			line-height: 2.4rem;
			text-align: center;
			color: #232323;
		}
		> .footer {
			position: absolute;
			width: 100%;
			left: 0;
			bottom: 7rem;
			padding: 0 6rem;
			> .title {
				font-family: KaiseiOpti-Regular;
				font-size: 1.4rem;
				line-height: 2.4rem;
				color: #666;
				display: flex;
				align-items: center;
				justify-content: flex-end;
				margin-bottom: 1.2rem;
				> .icon {
					margin-left: 1.2rem;
					transform: rotate(90deg);
				}
			}
			> .content {
				display: flex;
				align-items: center;
				justify-content: center;
				gap: 1.8rem;
				> div {
					padding: 2.4rem 1.5rem 0;
					height: 14.8rem;
					background: rgba(255, 255, 255, 0.9);
					box-shadow: 3px 4px 8px 0px rgba(0, 0, 0, 0.11);
					flex: 1;
					&:first-child {
						flex: 0.84;
					}
					> .title {
						font-family: KaiseiOpti-Bold;
						font-size: 1.6rem;
						line-height: 2.4rem;
						margin-bottom: 1.2rem;
						color: #232323;
					}
					> .tip {
						font-family: KaiseiOpti-Regular;
						font-size: 1.2rem;
						line-height: 1.7rem;
						color: #585858;
					}
				}
			}
		}
	}
</style>
