* { margin: 0; padding: 0; box-sizing: border-box; }
html, body, * { -ms-overflow-style: none; scrollbar-width: none; }
*::-webkit-scrollbar { width: 0; height: 0; display: none; }
        body { 
            font-family: Arial, sans-serif;
            min-height: 100vh;
            background:
                radial-gradient(circle at top, rgba(37, 99, 235, 0.16), transparent 36%),
                linear-gradient(180deg, #eff6ff 0%, #f8fafc 48%, #f1f5f9 100%);
            padding: max(14px, env(safe-area-inset-top)) 14px max(20px, env(safe-area-inset-bottom));
            color: #1f2937;
            overflow-x: hidden;
        }
        .container {
            max-width: 500px;
            margin: 0 auto;
            background: rgba(255,255,255,0.96);
            padding: 24px 20px;
            border-radius: 24px;
            box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
            border: 1px solid rgba(148, 163, 184, 0.14);
        }
        h1 {
            color: #1d4ed8;
            margin-bottom: 8px;
            text-align: center;
            font-size: clamp(1.8rem, 6vw, 2.4rem);
            letter-spacing: -0.03em;
        }
        .subtitle {
            text-align: center;
            color: #64748b;
            margin-bottom: 24px;
            font-size: 15px;
        }
        .step {
            display: none;
        }
        .step.active {
            display: block;
        }
        .btn {
            width: 100%;
            min-height: 56px;
            padding: 15px 16px;
            font-size: 16px;
            font-weight: bold;
            border: none;
            border-radius: 16px;
            cursor: pointer;
            margin-bottom: 10px;
            touch-action: manipulation;
        }
        .btn-primary {
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
            color: white;
        }
        .btn-secondary {
            background: linear-gradient(135deg, #475569, #64748b);
            color: white;
        }
        input {
            width: 100%;
            min-height: 56px;
            padding: 15px;
            border: 2px solid #cbd5e1;
            border-radius: 16px;
            font-size: clamp(1rem, 5vw, 1.2rem);
            text-align: center;
            letter-spacing: 0.35em;
            text-transform: uppercase;
            margin-bottom: 15px;
            background: #fff;
        }
        .info {
            background: #eff6ff;
            padding: 16px;
            border-radius: 16px;
            margin-bottom: 20px;
            font-size: 14px;
            color: #0369a1;
            line-height: 1.5;
        }
        .success {
            background: #d1fae5;
            color: #065f46;
            padding: 20px;
            border-radius: 18px;
            text-align: center;
            line-height: 1.5;
        }
        .error {
            background: #fee2e2;
            color: #991b1b;
            padding: 15px;
            border-radius: 14px;
            margin-top: 15px;
            line-height: 1.45;
        }
        video {
            width: 100%;
            min-height: 220px;
            object-fit: cover;
            border-radius: 16px;
            background: #0f172a;
        }
@media (max-width: 640px) {
            .container {
                padding: 22px 16px;
                border-radius: 20px;
            }
            .btn {
                font-size: 17px;
            }
            input {
        letter-spacing: 0.25em;
    }
}
.is-hidden {
    display: none;
}
.qr-video {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}
.setup-code-input {
    text-transform: uppercase;
}
.success-heading {
    margin-bottom: 10px;
}
.success-user {
    margin-top: 10px;
}
.mt-20 {
    margin-top: 20px;
}
