
        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(180deg, #ecfeff, #ffffff);
            min-height: 100vh;
        }

        .app-wrapper {
            max-width: 420px;
            margin: auto;
            padding: 16px;
        }

        .app-card {
            background: #ffffff;
            border-radius: 18px;
            box-shadow: 0 12px 30px rgba(0,0,0,.08);
            padding: 18px;
        }

        /* ===== STEPPER ===== */
        .stepper {
            display: flex;
            justify-content: space-between;
            margin-bottom: 18px;
        }

        .step {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: #d1fae5;
            color: #065f46;
            font-weight: 600;
            line-height: 34px;
            text-align: center;
            font-size: 14px;
        }

            .step.active {
                background: #14b8a6;
                color: #fff;
            }

            .step.done {
                background: #0f766e;
                color: #fff;
            }

        .step-card {
            display: none;
            animation: fade .25s ease-in;
        }

            .step-card.active {
                display: block;
            }

        @keyframes fade {
            from

        {
            opacity: 0;
            transform: translateY(6px);
        }

        to {
            opacity: 1;
            transform: none;
        }

        }

        .badge-status {
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        .ok {
            background: #d1fae5;
            color: #065f46;
        }

        .no {
            background: #fee2e2;
            color: #991b1b;
        }

        .btn-main {
            background: #14b8a6;
            color: #fff;
            border-radius: 14px;
            padding: 12px;
            font-weight: 600;
            border: none;
        }

            .btn-main:hover {
                background: #0f766e;
            }

        #reader {
            width: 100%;
            border-radius: 14px;
            overflow: hidden;
        }

        video {
            width: 100%;
            border-radius: 14px;
        }

        .preview-img {
            width: 100%;
            max-height: 260px;
            object-fit: cover;
            border-radius: 14px;
        }
.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.loader-box {
    text-align: center;
    animation: fadeScale .25s ease-in-out;
}
.spinner {
    width: 54px;
    height: 54px;
    border: 5px solid #e5e7eb;
    border-top-color: #14b8a6;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: auto;
}
.loader-text {
    margin-top: 12px;
    font-weight: 600;
    color: #0f766e;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes fadeScale {
    from { opacity: 0; transform: scale(.95); }
    to { opacity: 1; transform: scale(1); }
}
