merk-mobile/src/pages/QRScanCompletePage.module.css
2026-01-22 22:12:34 +09:00

216 lines
3.7 KiB
CSS

.container {
position: relative;
width: 100%;
height: 100vh;
max-width: 360px;
margin: 0 auto;
background: linear-gradient(163deg, #010306 0.81%, #091530 100%);
overflow: hidden;
}
/* Background blur effects - Figma Ellipse style */
.bgBlurTop {
position: absolute;
width: 426px;
height: 409px;
left: 198px;
top: -275px;
background: linear-gradient(228.57deg, rgba(119, 152, 206, 0.8) 20.5%, rgba(79, 72, 176, 0.8) 63.68%);
border-radius: 50%;
filter: blur(100px);
pointer-events: none;
z-index: 0;
}
.bgBlurLeft {
position: absolute;
width: 426px;
height: 409px;
left: -264px;
top: -327px;
background: linear-gradient(228.57deg, rgba(119, 152, 206, 0.8) 20.5%, rgba(79, 72, 176, 0.8) 63.68%);
border-radius: 50%;
filter: blur(100px);
pointer-events: none;
z-index: 0;
}
/* Close button */
.closeButton {
position: absolute;
top: 10px;
right: 10px;
width: 40px;
height: 40px;
background: transparent;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
}
.closeButton:hover {
opacity: 0.7;
}
/* Title */
.titleContainer {
position: absolute;
top: 92px;
left: 24px;
right: 24px;
display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
z-index: 1;
}
.title {
font-family: 'Pretendard', sans-serif;
font-weight: 700;
font-size: 28px;
line-height: 1.4;
text-align: center;
color: #FFFFFF;
margin: 0;
letter-spacing: -0.56px;
}
.tagId {
font-family: 'Pretendard', sans-serif;
font-weight: 600;
font-size: 20px;
line-height: 1.4;
text-align: center;
color: #477BFF;
margin: 0;
letter-spacing: -0.4px;
}
/* Success Circle */
.successCircleContainer {
position: absolute;
top: 208px;
left: 50%;
transform: translateX(-50%);
width: 315px;
height: 315px;
display: flex;
align-items: center;
justify-content: center;
z-index: 1;
}
.pulseRing {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 185px;
height: 185px;
border-radius: 50%;
background: linear-gradient(139deg, #77CEA3 0%, #39CD31 100%);
animation: successPulse 3.5s ease-out infinite;
z-index: 0;
}
@keyframes successPulse {
0% {
width: 185px;
height: 185px;
opacity: 0.5;
}
100% {
width: 350px;
height: 350px;
opacity: 0;
}
}
/* Center Circle */
.centerCircle {
position: absolute;
width: 185px;
height: 185px;
border-radius: 50%;
background: linear-gradient(41deg, #23B91B 0%, #77C4CE 100%);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
z-index: 1;
}
.checkIcon {
width: 38px;
height: 28px;
}
.completeText {
font-family: 'Pretendard', sans-serif;
font-weight: 600;
font-size: 16px;
color: #FFFFFF;
letter-spacing: -0.32px;
white-space: nowrap;
}
/* Bottom buttons */
.buttonContainer {
position: absolute;
top: 588px;
left: 25px;
right: 25px;
display: flex;
gap: 10px;
z-index: 1;
}
.finishButton {
flex: 1;
height: 56px;
background: #FFFFFF;
border: 1px solid #000000;
border-radius: 8px;
font-family: 'Pretendard', sans-serif;
font-weight: 600;
font-size: 16px;
color: #000000;
cursor: pointer;
transition: background 0.2s;
}
.finishButton:hover {
background: #f0f0f0;
}
.finishButton:active {
background: #e0e0e0;
}
.continueButton {
flex: 1;
height: 56px;
background: #000000;
border: none;
border-radius: 8px;
font-family: 'Pretendard', sans-serif;
font-weight: 600;
font-size: 16px;
color: #FFFFFF;
cursor: pointer;
transition: background 0.2s;
}
.continueButton:hover {
background: #1a1a1a;
}
.continueButton:active {
background: #333333;
}