/* ============================================
   BIV SIGNUP PAGE — OTP Verification Styles
   ============================================ */

/* Step indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-slate-200, #e2e8f0);
    transition: all 0.3s ease;
}

.step-dot.active {
    background: var(--color-indigo, #6366f1);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    transform: scale(1.2);
}

.step-dot.completed {
    background: var(--green, #10b981);
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--bg-slate-200, #e2e8f0);
    transition: background 0.3s ease;
}

.step-line.active {
    background: var(--color-indigo, #6366f1);
}

/* Password strength indicator */
.password-strength {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.strength-bar {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--bg-slate-200, #e2e8f0);
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s, background 0.3s;
    width: 0%;
}

.strength-fill.weak {
    width: 33%;
    background: #ef4444;
}

.strength-fill.medium {
    width: 66%;
    background: #f59e0b;
}

.strength-fill.strong {
    width: 100%;
    background: #10b981;
}

.strength-text {
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
    white-space: nowrap;
}

/* OTP info section */
.otp-info {
    text-align: center;
    margin-bottom: 24px;
}

.otp-info svg {
    margin-bottom: 16px;
    opacity: 0.8;
}

.otp-info p {
    font-size: 14px;
    color: var(--text-secondary, #64748b);
    line-height: 1.6;
}

.otp-info strong {
    color: var(--text-primary, #1e293b);
}

/* OTP Input Group */
.otp-input-group {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-indigo, #6366f1);
    border: 2px solid var(--bg-slate-200, #e2e8f0);
    border-radius: 12px;
    background: var(--bg-surface, #fff);
    outline: none;
    transition: all 0.2s;
    caret-color: var(--color-indigo, #6366f1);
}

.otp-input:focus {
    border-color: var(--color-indigo, #6366f1);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: #fafaff;
}

.otp-input.filled {
    border-color: var(--color-indigo, #6366f1);
    background: #f0f0ff;
}

.otp-input.error {
    border-color: #ef4444;
    animation: shake 0.4s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

/* Resend section */
.resend-section {
    text-align: center;
    margin-top: 16px;
}

.resend-btn {
    background: none;
    border: none;
    color: var(--color-indigo, #6366f1);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 8px 16px;
}

.resend-btn:disabled {
    color: var(--text-muted, #94a3b8);
    cursor: not-allowed;
}

.resend-btn:not(:disabled):hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Footer auth link */
.signup-footer-links {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--bg-slate-100, #f1f5f9);
}

.auth-link {
    color: var(--text-secondary, #64748b);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-link strong {
    color: var(--color-indigo, #6366f1);
}

.auth-link:hover {
    color: var(--color-indigo, #6366f1);
}

/* Success animation */
.verify-success {
    text-align: center;
    padding: 24px 0;
}

.verify-success svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

.verify-success h2 {
    font-size: 20px;
    color: var(--text-primary, #1e293b);
    margin-bottom: 8px;
}

.verify-success p {
    font-size: 14px;
    color: var(--text-secondary, #64748b);
}

/* Responsive */
@media (max-width: 480px) {
    .otp-input {
        width: 42px;
        height: 50px;
        font-size: 20px;
    }

    .otp-input-group {
        gap: 6px;
    }
}