Fix: otp verification

This commit is contained in:
hyzen
2026-06-07 00:30:37 +05:30
parent 28a6e82bfc
commit b05f1a731d
4 changed files with 80 additions and 286 deletions

View File

@@ -199,75 +199,6 @@
color: #fff;
}
/* ── OTP step indicator ─────────────────────────────────────────────────── */
.otp-steps {
display: flex;
align-items: center;
margin-bottom: 1.6rem;
}
.otp-steps__line {
flex: 1;
height: 2px;
background: var(--background-color1, #ccc);
transition: background 0.25s ease;
}
.otp-steps__item {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.3rem;
}
.otp-steps__num {
width: 1.8rem;
height: 1.8rem;
border-radius: 50%;
border: 2px solid var(--background-color1, #ccc);
display: flex;
align-items: center;
justify-content: center;
font-size: 0.78rem;
font-weight: 700;
color: var(--foreground-color3, #888);
background: var(--background-color);
transition:
border-color 0.25s ease,
color 0.25s ease,
background 0.25s ease;
}
.otp-steps__label {
font-size: 0.7rem;
color: var(--foreground-color3, #888);
white-space: nowrap;
transition: color 0.25s ease;
}
/* Active step */
.otp-steps__item--active .otp-steps__num {
border-color: var(--accent-color);
color: var(--accent-color);
}
.otp-steps__item--active .otp-steps__label {
color: var(--accent-color);
font-weight: 600;
}
/* Completed step */
.otp-steps__item--done .otp-steps__num {
border-color: var(--accent-color);
background: var(--accent-color);
color: #fff;
}
.otp-steps__item--done .otp-steps__label {
color: var(--accent-color);
}
/* ── OTP panel ───────────────────────────────────────────────────────────── */
.otp-panel__hint {

File diff suppressed because one or more lines are too long