 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: #f5f5f5;
            color: #333;
            min-height: 100vh;
            padding: 20px;
        }

        .scanner-container {
            max-width: 600px;
            margin: 0 auto;
        }

        .header {
            background: white;
            border-radius: 8px;
            padding: 30px;
            margin-bottom: 20px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .header h1 {
            color: #333;
            font-size: 28px;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .header p {
            color: #666;
            font-size: 14px;
        }

        .scanner-box {
            background: white;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }

        .section-title {
            color: #333;
            font-size: 16px;
            margin-bottom: 15px;
            font-weight: 600;
        }

        #qrFile {
            width: 100%;
            padding: 12px;
            margin-bottom: 20px;
            border: 2px solid #ddd;
            border-radius: 6px;
            background: #fafafa;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s;
        }

        #qrFile:hover {
            border-color: #999;
            background: #f5f5f5;
        }

        #qrPreview {
            width: 100%;
            max-width: 280px;
            height: 280px;
            border: 2px dashed #ddd;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            border-radius: 8px;
            background: #fafafa;
            color: #999;
            font-size: 14px;
        }

        #qrPreview img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .divider {
            height: 1px;
            background: #e0e0e0;
            margin: 30px 0;
        }

        .input-group {
            margin-bottom: 20px;
        }

        .input-group label {
            display: block;
            margin-bottom: 8px;
            color: #333;
            font-size: 14px;
            font-weight: 600;
        }

        .input-group input {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #ddd;
            border-radius: 6px;
            font-size: 15px;
            transition: all 0.2s;
        }

        .input-group input:focus {
            outline: none;
            border-color: #555;
        }

        .result {
            padding: 25px;
            border-radius: 8px;
            margin-top: 20px;
            display: none;
            text-align: center;
            border: 2px solid;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .result.success {
            background: #f0f9f4;
            border-color: #4caf50;
            color: #2e7d32;
        }

        .result.error {
            background: #fff5f5;
            border-color: #f44336;
            color: #c62828;
        }

        .result.warning {
            background: #fffbf0;
            border-color: #ff9800;
            color: #e65100;
        }

        .result-icon {
            font-size: 48px;
            margin-bottom: 15px;
        }

        .result-title {
            font-size: 20px;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .result-info {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 10px 20px;
            text-align: left;
            margin: 20px auto 0;
            padding: 20px;
            background: rgba(0,0,0,0.05);
            border-radius: 6px;
            max-width: 400px;
        }

        .result-label {
            font-weight: 600;
            font-size: 14px;
        }

        .result-value {
            font-size: 14px;
        }

        .error-reason {
            font-size: 14px;
            margin-top: 15px;
            padding: 15px;
            background: rgba(0,0,0,0.05);
            border-radius: 6px;
        }
        @media (max-width: 768px) {
            .scanner-container {
                padding: 10px;
            }
            
            .header, .scanner-box {
                padding: 20px;
            }
            
            .result-info {
                grid-template-columns: 1fr;
                text-align: center;
            }
        }